![]() |
Custom Profile Fields
Can someone tell me if vBulletin has a way to grab a specific users profile field, say field18, in php? Or if vBulletin does not have a built in function, where in the database is the value saved for the specific user?
|
You can call fetch_userinfo() in includes/functions.php. You're not talking about the "current" user, right, because then it would already be in $vbulletin->userinfo['field18']. Also, if you need it in the postbit for that user's post, it will be in $post['field18'].
|
Thank you!
You just saved me a database query in a new project. ;) |
Quote:
|
Quote:
It never dawned on me that custom fields would be in the userinfo. |
Ah...I get it now.
|
All times are GMT. The time now is 04:12 PM. |
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:
|