The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
forumid inside of video bbcode template?
Hi I am trying to limit guest viewing videos in certain forums.
I have tried: <vb:if condition="in_array($GLOBAL['forumid'], array(78,80,85,83))"> <vb:if condition="in_array($thread['forumid'], array(78,80,85,83))"> <vb:if condition="in_array($post['forumid'], array(78,80,85,83))"> <vb:if condition="in_array($forumid , array(78,80,85,83))"> None of above works, what would be the right variable for this? Also, if I want to put <vb:if condition="in_array($post['forumid'], array(78,80,85,83))"> and <vb:if condition="$bbuserinfo['userid'] == 0"> togehter, would it look like this? <vb:if condition="in_array($post['forumid'], array(78,80,85,83)) AND $bbuserinfo['userid'] == 0"> Thanks W |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|