![]() |
Ads for guests
Hi all,
I'm displaying some ads in the ad_navbar_below template, and I only want to show them to guests. However, it doesn't seem to work with: Code:
<if condition="$post[postcount] == 1 AND !$bbuserinfo[userid]"> EDIT: Done with the following: Code:
<if condition="$bbuserinfo['userid'] == 0"> |
try this
Code:
<if condition="!is_member_of($vbulletin->userinfo, 1)"> |
Thanks, but I did it as I stated above ;)
|
cool
|
<if condition="$show[guest]"> works as well, and is alot easier to remember :D
|
^^Exactly, thats what I am using as well.
|
Quote:
|
Either way, both the ones myself and FRDS suggested work.. Does it really matter which one you use? And Opserty makes a very good point :)
|
What FDRS suggested is practically the same as what you suggested Jase2.
Off the top of my head I think the snippet is something like this, in global.php: PHP Code:
|
All times are GMT. The time now is 02:12 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|