Quote:
Originally Posted by Sador
I have no idea whether this works or not, but the standard vbulletin logout code seems to be this:
Code:
<if condition="$show['member']">
<td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></td>
</if>
Maybe if you were to add this?
(Again, no idea if it works, save before trying, you might accidentally destroy your forum or even the whole world with this  )
|
This does not work, or if so I placed it incorrectly in my navbar template. When I add it and I try and login my site it right after the login process it goes to a white page with an error 500 when I remove this code services are restored.
Anyone know how to add the logout to the menu ?