![]() |
Echo user profile field in postbit
In vBulletin 3.8, we could sort of echo or display one of the users' profile fields in the post bit by using this code:
Quote:
I need to know how to do the same thing in vBulletin 4.0. I have tried many things with no luck. Thanks! |
What have you tried? Have you seen this article on the new syntax - First Look at vBulletin 4 Template Variables?
|
Just look at the default template, it already has profile field data in it with the fieldX format, just copy it's syntax changing the number.
|
Got it:
HTML Code:
<vb:if condition="$post['field6']"><dd><a href="http://youtube.com/user/{vb:raw post.field6}">{vb:raw post.field6}'s Youtube Channel</a></dd></vb:if> HTML Code:
<vb:if condition="$post['field6']"><dd><a href="http://youtube.com/user/{vb:raw post.field6}">http://youtube.com/user/{vb:raw post.field6}</a></dd></vb:if> |
Brilliant Mandingo and everyone else. Thanks for all your help!
|
Anyone know the code for putting out a profile field in a widget? ?Thanks
|
All times are GMT. The time now is 08:08 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:
|