![]() |
How To Display Data Based On A Group
I am trying to add some hacks in however I only want those tables to display to admins or moderators.
I know i need a php if wrapped around them however I can not find anything that helps me work out what group a user is in. if user in Admin or Moderators then blah else nothing. Any help would be greatly appreciated |
if(is_member_of($bbuserinfo,6) OR is_member_of($bbuserinfo,5) OR is_member_of($bbuserinfo,7))
{ // code } |
Thanks rake!
|
All times are GMT. The time now is 01:41 AM. |
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:
|