XF 2.1 "Only show to guests" code?

Dilf

Member
The built-in ad positions within Xenforo aren't quite cutting it for me, I have various other places I'd like to insert ads. But with the caveat that they are ONLY shown to guests/unregistered members.

Is there any snippet of code I can use to achieve this, which can be inserted into various templates across the forum?

Like: <only show to guests>ad code</only show to guests>

Thanks for any help.
 
Last edited:
Back
Top Bottom