Quote:
Originally Posted by Neo_Angelo
just add the
Code:
<if condition="$show['usergroup']1,5,7">
before your link to your downloads page (replace 1,5,7 with the ID's of your usergroup, adding more with a , (comma))
then just after your link to your downloads section add this should allow you to only allow certain usergroups to see that link, alternatively replace the 'usergroup' with 'member' (removeing the 1,5,7) which will show to all registered members only.
|
Hmm, i tried that.
Code:
The following error occurred when attempting to evaluate this template:
Parse error: syntax error, unexpected T_LNUMBER in /www/htdocs/w00ac88a/forum/includes/adminfunctions_template.php(3769) : eval()'d code on line 99
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
Sure that is correct syntax ?
I did it like this for example:
Code:
<if condition="$show['usergroup']5,2,7,6,11,9"><td class="vbmenu_control"><a href="arcade.php?$session[sessionurl_q]">Arcade</a></td></else></if>
Did i maybe put that wrong around the actual link ?