The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
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:
<? echo $username ?> |
#2
|
||||
|
||||
![]()
The logout hash is the same value as the security token (in vBulletin 3.7+).
|
#3
|
|||
|
|||
![]() Quote:
So, what do I exactly do? |
#4
|
||||
|
||||
![]()
Put the security token in the link - you can generate one using this algorithm:
PHP Code:
|
#5
|
|||
|
|||
![]() Quote:
--------------- Added [DATE]1228960005[/DATE] at [TIME]1228960005[/TIME] --------------- EDIT: fixed |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|