The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#5
|
||||
|
||||
![]()
The code you posted above has Usergroups specified. So I presumed you were trying to show/hide something to/from a specific Usergroups. For instance...
Code:
<vb:if condition="is_member_of($bbuserinfo, 1,2,3)">CODE HERE</vb:if> Code:
<vb:if condition="in_array($forum['forumid'], array(1,2,3))">CODE HERE</vb:if> More efficiently, you would combine them if you want both cases to be true. Code:
<vb:if condition="is_member_of($bbuserinfo, 1,2,3) AND in_array($forum['forumid'], array(1,2,3))">CODE HERE</vb:if> And yes, they would go wherever the description for forums is displayed in the templates. (I forget which one that is, at the moment.) They are "template conditionals", so that's the only place they work. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|