![]() |
need a condtional query
ok in forum homepage i want to limit the who`s online box to certain usergroup so for a tester i want to just limit it to just admin (ok i know i can turn it off in admincp for other groups but this is for the extended who was online today)
anyway so in forum home i need the code so i can add it before and after that says if bbuserinfo=admin etc (show code) </if> hope u can follow me :) |
I don't really follow, is this what you want ;
<if condition="$bbuserinfo[usergroupid] == 6"> (code) </if> |
Quote:
<if condition="$show['admincplink']"> whos online code </if> if that doesnt work try <if condition="$bbuserinfo[usergroupid] == 6"> whos online code </if> |
cheers thats it :) - thanks u 2 sorry for being to vague but i knew what i wanted was just harder to put in words :)
|
All times are GMT. The time now is 05:43 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:
|