![]() |
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 |
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... |
Use $bbuserinfo[username] in templates and $bbuserinfo['username'] in files :)
|
All times are GMT. The time now is 01:34 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|