The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Echo username from userid
PHP Code:
How do i use that profile field's userid (#) to display the username of that referenced account in a template? The above doesn't work, and I've been looking around for a way to do it without calling a php query to the database. |
#2
|
||||
|
||||
The userfield table, which is where the data for the userfields is stored, has a userid field, but no username field. So, you would need to do a query to get the userid for the username you wish to get the field data.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|