There are several login hook locations that you could extract login info from. See the functions_login.php file.
I have looked at the file many times: - HOW DO I USE THE HOOKS IF THIS IS WHAT YOU ARE REFERING TO?
Line 51
PHP Code:
($hook = vBulletinHook::fetch_hook('usercp_nav_start')) ? eval($hook) : false;
Line 186
PHP Code:
($hook = vBulletinHook::fetch_hook('usercp_nav_complete')) ? eval($hook) : false;
Line 388
PHP Code:
($hook = vBulletinHook::fetch_hook('profile_fetch_profilefields_loc')) ? eval($hook) : false;
Line 411
PHP Code:
($hook = vBulletinHook::fetch_hook('profile_fetch_profilefields')) ? eval($hook) : false;
I asume you mean any one of the 4 hooks above?
Please explain?
These above are used to hook into a templete that is not the thing I think i am looking for?
I want to pull the information somewhere out of a datastore I hope to at least.
SO I KNOW THAT THE FOLLOWING
PHP Code:
$vbulletin->userinfo['userid']
IS THIS THE CURRENT LOGON USER?
From the userinfo array which should be global holds information about the user can I assume that it holds the information about the current user so at what point does the current user get vaildated and information put into the array?
THANKS
Frank H. Shaw
Bookmarks