The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
If conditional help
Hi,
I'm tryign to write an if conditional in the Member info template which will display information to a user if it's thier profile page and to all admins. I can work out the user conditional with this: <if condition="$bbuserinfo[userid] == $userinfo[userid]"> Stuff </if> But I can't figure out how to add the condistion that if the browser is an admin they see the information as well. I know I can use <if condition="$bbuserinfo[usergroup] == 6"> Stuff </if> To display to admins. But how do I get both conditionals to work for the same information. Currently admins get shut out becasue they don't meet the first condition or users get shut out because they don't meet the second condition. Any help would be greatly appreciate. Thanks. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|