The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
registration_activate_process variables problem
I have a plug-in I'm working on that is running at the registration_activate_process hook. (Is this the best place to be running code "post-signup/email confirmation?"
I am using these variables: PHP Code:
60% of the time that the code is run, the actual username is found in the variable (for example: $vbulletin->userinfo[username] = <registering users name>), the other 40% of the time, the variable contains "Unregistered" or the default "guest" user(?). Is there another hook location that I should be using or another variable that will always capture the "user currently confirming their email address?" For reference, here is the plug-in I'm working on. PHP Code:
--------------- Added [DATE]1215820833[/DATE] at [TIME]1215820833[/TIME] --------------- I think I may have pinpointed the problem... help! So when I have cookies disabled during registration I get: PHP Code: $vbulletin->userinfo[username] = Unregistered And when cookies are enabled during registration I get: PHP Code: $vbulletin->userinfo[username] = Correct User Name tested that theory 4 times now and it seems to be accurate. Any ideas for always being able to collect data from $vbulletin->userinfo[username] even if cookies are disabled on the userside during the registration_activate_process hook run? |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|