I want to move my login/stats info into the header but I cant get it to work - when logged in all the info works and is in the right place: user name, PM etc etc...
When not logged in it all shows ok but when I hit login it doesnt go anywhere...also when I type in the user name the password cookie doesnt automaticly populate
This is the login/stats info in the header
Code:
<table border="0" width="$stylevar[outertablewidth]" cellpadding="5" cellspacing="0" align="center" bgcolor="#384B6B" height="35" background="/forums/images/misc/header-btm.gif">
<tr>
<if condition="$show['member']">
<td><strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
<if condition="$show['pmstats']"><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
<if condition="$show['pmwarning']"><br /><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></if>
</td>
</if>
<if condition="$bbuserinfo['userid'] == 0">
<td valign="middle">
<table width="500" align="right">
<tr>
<td><label for="navbar_username">$vbphrase[username]</label></td>
<td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
<td><label for="navbar_password">$vbphrase[password]</label></td>
<td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td>
<td valign="middle"><label for="cb_cookieuser_navbar0"><input type="checkbox" name="cookieuser1" value="1" tabindex="103" id="cb_cookieuser_navbar0" accesskey="c" />$vbphrase[remember_me]</label></td>
<td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
</tr>
</table>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>
</td>
</if>
</tr>
</table>
Is there something else I need to add to make it work?
I want to remove the login/stats from the navbar to fit my style.
Can anyone help with this?