![]() |
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?
|
Have you tried this?
Code:
<if condition="is_member_of($bbuserinfo, 1,2,3)">Show the table code here</if> |
well that won't give me the result I want. I am looking for a conditional to NOT show something to a certain usergroup.
|
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> |
Thank you so much Lynne, that worked like a charm!
|
All times are GMT. The time now is 08:16 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|