
(2011-09-02, 06:06 PM)Sama34 Wrote: I use the same plugin, weird, anyways, try these:
<if $GLOBALS['mybb']->user['usergroup'] == 1 then> //Guests see this content </if>
or
<if $mybb->usergroup['gid'] == 1 then> //Guests see this content </if>
Good luck.
1st method outputs:
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/beatdjn/public_html/foros/global.php(504) : eval()'d code on line 2
2nd method:
does not show error, but still shows login form
