The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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.
|
![]() |
|
|