
(2011-09-02, 06:25 PM)Sama34 Wrote: Second code is suppose to show the login from to guests, it shows the login form to you as a member?
Can you share the exact code inside your template for the ones that show syntax errors?
2nd shows to both, users and guests
exact code for error is
<if $GLOBALS['mybb']->user['usergroup'] == 1 then>
<form action='member.php' method='post'>
<font color="FFFFFF">Usuario: </font><input type='text' name='username' size='9' maxlength='30' />
<text="FFFFFF">ContraseƱa: </text> <input type='password' name='password' size='9' />
<input type='hidden' name='action' value='do_login'>
<input type='hidden' name='url' value='index.php' />
<input type='submit' class='submit' name='submit' value='Conectar' /></form>
ignoren esto estoy haciendo pruebas
</if>