![]() |
Log out from non VB page
Sure I read how to achieve this a while ago but can't find the thread anywhere !:(
I use a HTML based navigation bar to navigate the forum and want to add a 'Log Out' button to it. Can anyone give me the script or explain how to achieve it ? TIA. |
Here it is. ;)
PHP Code:
|
Thanks for that mate, but is there an easier way to do via a simple 'Log Out' text link. I don't want the complete sign in/register/log out box.
I was thinking there may be something simpler along the lines of "forums/login.php?do=logout" or similar ..................... |
Just send them to login.php?do=logout&logouthash=$vbulletin->userinfo['logouthash'] or you can destory the cookies that vbulletin uses.
|
PHP Code:
Then you wil need this! |
Sorry folks, been distracted for a few days ! Thanks for the replies :)
|
All times are GMT. The time now is 03:33 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:
|