The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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...? |
#2
|
|||
|
|||
I'm not sure what you're asking exactly. When you say "passing custom variables" to a page, how exactly are you trying to do that? Are you trying to get values remembered from one .php page to another?
|
#3
|
|||
|
|||
I was trying to get a value from one page to another page. Since I've posted this I've become much more familiar with the templates and their interactions and have solved this a different way.
Thanks for replying to it though. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|