The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Get LoggedIn Username?
Hi,
I was wondering if it could be explained to me on how to return the username of the person currently logged in, not all the users, just a specific user currently accessing a page. This will not be entered into an existing vBulletin file, so if there are any includes I need to know also. I have looked through alot of the code, and there is just way to much to go over to for me to find out how to do this. Any help would be appreciated. Thank You |
#2
|
||||
|
||||
If you include the vBulletin's backend file, global.php, on your scripts, you can know the username of the user accessing your script by calling this array: $bbuserinfo['username']
You can do that on templates too... |
#3
|
||||
|
||||
Use $bbuserinfo[username] in templates and $bbuserinfo['username'] in files
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|