![]() |
Logout issue, non VB page
Hello. I am not much of a phpcoder and my original coder is not around, but currently on this page here, I am using this code to logout. It takes like 3-4 clicks to logout.
Code:
<a href="javascript:document.frmlog.logout.value='Log Out';document.frmlog.submit();">Log Out?</a> Code:
<a href="login.php?do=logout&logouthash=$bbuserinfo[logouthash]">Logout</a If this helps, this code displays the username Code:
<? |
The logout hash is the same value as the security token (in vBulletin 3.7+).
|
Quote:
So, what do I exactly do? |
Put the security token in the link - you can generate one using this algorithm:
PHP Code:
|
Quote:
--------------- Added [DATE]1228960005[/DATE] at [TIME]1228960005[/TIME] --------------- EDIT: fixed |
All times are GMT. The time now is 05:00 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|