Quote:
Originally Posted by Curious Too
I have an ad that I want to show to one particular social group. This is the code I tried but it didn't work:
if condition="$groups[groupid] == X
if condition="$group[groupid] == X
if condition="$grps[groupid] == X
Are there any conditionals for social groups?
|
$group[groupid] is what is used throughout the groups.php script. If that isn't working it probably isn't available in the template you are trying to use it on- where are you trying these conditionals?
The only other possibility would be to try
Code:
$vbulletin->GPC[groupid]
so
Code:
<if condition="$vbulletin->GPC[groupid] == x">