PDA

View Full Version : Custom Messages / Ads for usergroups


TheComputerGuy
03-18-2011, 10:55 AM
I know there has to be an if statement for certain usergroups...

I want something like this

<if usergroupid = x,y,z>
SHOW
<else>
blank
</if>

Any help?

jbird310
03-18-2011, 02:29 PM
<if condition="$post['usergroupid'] == X">
show
<else />
blank
</if>

This page has other helpful conditionals as well:
http://www.forumthemes.com/helpful-tips-tricks-articles/78-vbulletin-template-conditionals-list.html