How to add a link for logging out?

h@ck3r

New Member
I've removed the 'Log out' link from my navbar as I've added tabs like VBteam.

But the link I have added to the log out tab is-
HTML:
http://www.mywebsite.com/forum/login.php?do=logout&logouthash=1234005584-e000684a9610c89c2bd2d5c1e0a7cace37a6828d

And it just gives an error like this-

My forum said:
An error occurred while attempting to log you out. Click here to log out.

What is the correct link to add to my 'Log out' tab to make it work correctly?

Thanks
 
PHP:
<if condition="$show['member']">
			<td class="tcatfont"><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>
 
Back
Top