![]() |
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... :o
|
PHP Code:
|
Simple, elegant, and perfect! Thanks so much! :)
|
All times are GMT. The time now is 10:50 AM. |
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:
|