The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Looking for help with if conditional...need to hide item from one usergroup (Solved)
I am trying to find a if conditional that will work for one usergroup who will choose to hide a table on the site. I have tried various codes and none seem to work. So any suggestions on what if conditional to use in the header template to wrap around a table that users will have the option to see or not see?
|
#2
|
||||
|
||||
Have you tried this?
Code:
<if condition="is_member_of($bbuserinfo, 1,2,3)">Show the table code here</if> |
#3
|
|||
|
|||
well that won't give me the result I want. I am looking for a conditional to NOT show something to a certain usergroup.
|
#4
|
||||
|
||||
Then put a ! in front of it....
HTML Code:
<if condition="!is_member_of($bbuserinfo, 1,2,3)">Show the table code here to users not in usergroup 1, 2,3</if> |
#5
|
|||
|
|||
Thank you so much Lynne, that worked like a charm!
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|