XF 1.3 Conditional Help for showing something to only visitors and in two areas only

Hi there,

Newbie here...

How do I show something so that it is only shown to Guests and is only shown in the Main Forum List and Thread List only? I want to use the template ad_above_top_breadcrumb to place a registration graphic.

Thank you!
Yeah I looked at the guide and I can't figure out how to do both as one conditional or what the conditionals would be for the Forum List and Thread List pages.


XenForo moderator
Staff member
<xen:if is="!{$visitor.user_id} AND in_array({$contentTemplate}, array('forum_list', 'forum_view'))">
Thank you Brogan!

One more dumb question if I may... Is there a list of the pages or are those (forum_list and forum_view) names of Templates.

Sorry coming over from vBulletin, but learning quick. :)

Thanks again!