The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Looking for new code for IF command
Hi
I was using this code in vb4 Code:
<vb:if condition="($loggedin['usergroupid'] == 3 || $loggedin['usergroupid'] == 4 )" Regards |
#2
|
|||
|
|||
Where were you using that code? Which template?
|
#3
|
||||
|
||||
For this one : forumhome_loggedinuser
<vb:if condition="($loggedin['usergroupid'] == 3 || $loggedin['usergroupid'] == 4 || $loggedin['usergroupid'] == 28 || $loggedin['usergroupid'] == 64)"> I think this one is not working anymore : condition="($loggedin['usergroupid'] |
#4
|
|||
|
|||
It looks like that template isn't used any more in the latest version. It was merged in to FORUMHOME as a <vb:each ...> loop. But if you find that loop in the FORUMHOME template, you should be able to put in something like <vb:if condition="$loggedin[usergroupid] == 3... etc.
|
#5
|
||||
|
||||
Thanks
Problem fixed |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|