The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Function to fetch a username from a userid?
I'm integrating my own script with vBulletin by simply including global.php at the top of my file, and I'd like to display the username a particular user ID is associated with on my custom pages. Is there a simple, built-in vBulletin function similar to the handy $vbulletin->userinfo['userid'] method? I could obviously write my own and run the query on the vB database myself, but I'd rather not access my forum db directly unless I absolutely have to. Is there a better way to go about this? Thanks for your patience with this simple question...
|
#2
|
||||
|
||||
PHP Code:
|
#3
|
||||
|
||||
Simple, elegant, and perfect! Thanks so much!
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|