The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Get User info based on ID
Is there a way to return user information without having to query the database?
For example so I want the username of the user with userid 22. I could query the user database but doesn't a cache exist with this information? - Kyle Well I figured it out. fetch_userinfo($id). I hope this helps someone. |
#2
|
|||
|
|||
thnx
|
#3
|
|||
|
|||
i thought something like $vbulletin->userinfo['username'] works as well? why is there a need to fetch_userinfo again?
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|