The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Stupid Question Time
Before I start plowing through code, I figured I'd ask in case anybody knows off the top of their head.
Is there a function that I can use that will return a user's info - or at least their user name, if passed their userid? If so, what is the name of the function and what file do I need to include to use it? Thanks, Amy |
#2
|
||||
|
||||
you could simple include global.php and have access to $bbuserinfo
|
#3
|
||||
|
||||
Nope. I'm not looking for the logged in user's name. Just the name associated with an arbitrary userid. I know the query to use. Just wondered if there was a function call built in too.
|
#4
|
|||
|
|||
The function 'fetch_userinfo' in ./includes/functions.php
|
#5
|
||||
|
||||
Thank you
Amy |
#6
|
|||
|
|||
No problem Amy.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|