The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I have two plugins
Plugin 1 fires on hook: login_verify_success Plugin contents: global $tvbl; $tvbl["var"] = "test"; Plugin 2 fires on hook: forumhome_complete Plugin contents: global $tvbl; print_r($tvbl); and it never has any data in plugin 2. Is vB doing something after a successful login that is clearing all variables, etc? I've tried several things, but can't seem to carry a variable over from the login_verify_success (where I need it) hook, once they log in. |
#2
|
|||
|
|||
![]()
Yes - it's returning a redirect to a new page, so when you get to forumhome_complete it's a different request.
|
#3
|
|||
|
|||
![]()
I kinda figured as much, thanks for the reply. I'm just writing out the data I need to the DB and rereading it when I need it at the moment. Might not be the best solution, but it's the only one I've been able to come up with so far.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|