Log in

View Full Version : Move "Logout" in navbar


johnstires
08-20-2006, 12:11 AM
I would like to move the logout link to underneath the Private Message line in the member info. I tried to copy this code:

<if condition="$show['member']">
<td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></td>
</if>

To below this code:

<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>
<!-- / login form -->

</td>
</if>

but it put it next to it.

I know the style is off, i'm just trying to figure out how to get the right placement.

Ntfu2
08-20-2006, 05:55 AM
find, if you want it gone from the navbar, remove it


<if condition="$show['member']">
<td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></td>
</if>


Find this:


<phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></if>



Place this after that

<if condition="$show['member']">
<a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a>
</if>

stan111
01-26-2007, 02:17 AM
how do you hide it, i have it in my footer