how do you pass custom variables to register template
This might be a dumb question, but what is the process for passing custom variables to the register.php page?
For example, let's say someone tries to login and you want to auto-populate the registration page with the username and password that the user attempted to login with?
I've tried using $vbulletin->session, $vbulletin->userinfo, making my own variables, and they're all valid until that page loads and then it appears all the information that I had stored in those variables prior to reaching that page seem to be "reset" or wiped out.
I ran into a similar problem with the password and found out that there's a little thing called DISABLE_PASSWORD_CLEARING in class_bootstrap.php that was preventing the passfield from getting passed so I could look at it later...I'm wondering if there's a similar thing happening with the register.php file that I'm not seeing.
Any suggestions?
--------------- Added [DATE]1310950360[/DATE] at [TIME]1310950360[/TIME] ---------------
If I'm not mistaken it looks like vbulletin runs through the entire init process before it hits the register.php page...?
|