The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Problems With logout_process Hook
I'm looking for help and advice concerning the logout_process hook.
I have a plugin on this hook which calls a function, which updates the database. Oddly, this update will only go through when I die() at the end of the hook, otherwise the logout proceeds as if the plugin didn't exist. Is there a reason for this, maybe something to do with the logout redirect? The code of the plugin itself just includes the actual plugin file; i.e., include('modfolder/hooks/logout_process.php'). The contents of this file are below. PHP Code:
PHP Code:
|
#2
|
|||
|
|||
It seems to work for me. Are you sure there are no other plugins that could be resetting the status after logout_process?
|
#3
|
|||
|
|||
Thank you for taking the time to test it, kh99. I really appreciate it!
Reading your post gave me an idea. While there were no other plugins resetting the status, there was a faulty line of javascript that would. Correcting that javascript error fixed my issue. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|