Dude thank you so much i have been searching forever for how to do this its very very very appreciated.
Quote:
Originally Posted by Outbackmark
From what I understand you want to have certain links available only to some usergroups, you can do it like this -
Code:
<if condition="$bbuserinfo['usergroupid'] == '5' OR $bbuserinfo['usergroupid'] == '6'"><tr><td class="vbmenu_option"><a href=
That would make the link that follows available only to mods and admins.
|
--------------- Added [DATE]1245389945[/DATE] at [TIME]1245389945[/TIME] ---------------
wait, how do i end the command, like where do i put the final </if> after each statement
--------------- Added [DATE]1245390299[/DATE] at [TIME]1245390299[/TIME] ---------------
That code did not work does anyone else have an idea on how to do this?
--------------- Added [DATE]1245390669[/DATE] at [TIME]1245390669[/TIME] ---------------
I got it to work i had to edit the script a little to get it to work but it helped alot thank you again. here is the code that i ended up using
Code:
<if condition="$bbuserinfo['usergroupid'] == '5' OR $bbuserinfo['usergroupid'] == '6'"><div class="sidebar_cat">Moderation</div></if>