![]() |
User profile fields
Hi,
Anyone know how to include a vbulletin user profile field (eg country) inside a custom Vb template. Tried things lile $user[field10] but that did not work. Thanks |
The User profile field of the browsing user? [mincode]$bbuserinfo[field10][/minicode]
Or in a postbit then poster's would be [minicode]$post[field10][/minicode] Or on the member profile page [minicode]$userinfo[field10][/minicode] |
$bbuserinfo[field10] does work but it is not for the actual user looking at the template but the user in the database.
I have $post[field10] in the postbit already and working. It is just in my custom template (vbclassified template) that I cannot get this field to show. I had tried $userinfo[field10]. $user[username] works though. snippet of the code - HTML Code:
<td class="alt1" width="53%> |
It is a custom template on a custom page, therefore you will need to consult the authors of the custom PHP. You'd need to edit the query to fetch the custom fields, however like I said, you will need to contact the authors.
|
ah I see thanks.
|
All times are GMT. The time now is 02:16 AM. |
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:
|