The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Conditional Ads
I am trying to make ads conditional, however, this doesn't seem to be working, what am I missing here??
Code:
<if condition="!$GLOBALS['FIRSTPOSTID']"> <if condition="$post['usergroupid'] != 6"> <br> <center> <a href="http://www.thewrestlingtalk.com/catalog/"><img src="http://www.thewrestlingtalk.com/images/matfishleaderboard.png" border="0" title="Wrestling Gear Ad"></a> </center> <br> </if> </if> |
#2
|
||||
|
||||
Code:
<if condition="(!$GLOBALS['FIRSTPOSTID']) AND ($post['usergroupid'] != 6)"> I think thats the correct format. |
#3
|
|||
|
|||
Actually I think the problem is that I am trying to have ads limited so that anyone within 6 never sees them and right now it only doesn't display them if the poster is in that group.
|
#4
|
||||
|
||||
is_member_of($bbuserinfo, 6)
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|