The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Here's my latest question. I'm trying to understand why the variable array from $vbulletin->userinfo is being called before it has been created in such instances as in the functions_login.php page.
As I'm making sense of if, I see that on line 250 a new session is being created. Yet, some of variables being passed into that new session class are from the $vbulletin->userinfo variable. This doesn't make any sense to me because this information isn't being set until line 263, when the $newsession->fetch_userinfo() method is called. Any insight would be helpful. A little background, I'm creating a custom login process to sync with our proprietary login solution. Right now I'm not able to have the userid (which is stored in the vbulletin database for the user) to be set to the $vbulletin->userinfo['userid'] variable. I could force that one variable, but I'm assuming that there are other variables that should also be automatically pushed to the array that are also not being passed. So I'm trying to figure out when and how that should happen. Thank you, Brent --------------- Added [DATE]1276642154[/DATE] at [TIME]1276642154[/TIME] --------------- I found where the variable was being set. It is in the verify_authentication() function which is also declared in the functions_login.php page. Though I don't need to run function, this explains how it would be made available later on. -Brent |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|