Quote:
Originally Posted by Slybone
When trying to change it to smod & admins only... i get
Code:
The following error occurred when attempting to evaluate this template:
Parse error: parse error, unexpected ';' in /home/forums/includes/adminfunctions_template.php(3028) : eval()'d code on line 228
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.
**EDIT** Nevermind I found the error you forgot to add a ) after ==6 so it should look like
Code:
<if condition="($bbuserinfo[usergroupid]==5 || $bbuserinfo[usergroupid]==6)">
|
Fixed in my previous post
Quote:
Originally Posted by Slybone
**EDIT Number 2** What do you put if Administrator is your Secondary Usergroup?
|
im not too familiar with secondary groups but i think it would be something like this
Code:
<if condition="($bbuserinfo[usergroupid]==5 || $bbuserinfo[membergroupids]==6)">
although im not too sure... i dont have any admins on a secondary group .. if you can try that code and post results it would be appreciated