PDA

View Full Version : Profile fields


sojobo
14 Dec 2009, 12:58
Could anyone tell me how i'd display a specific profile field somewhere?
I want to display a users profile field under their avatar, I just need to know what the variable thing is I guess, the rest I can do myself.

BBR-APBT
14 Dec 2009, 13:59
if you look in the postbit/postbit_legacy template depending on what you use, to get a idea of what to add.



But it will be something like the following.


<vb:if condition="{vb:raw post.fieldxx}">
{vb:raw post.fieldxx}
</if>

sojobo
14 Dec 2009, 14:12
Ok I see;
{vb:raw post.field2}
so what if I want to display this outside of a thread, what would I replace post. with?

BBR-APBT
14 Dec 2009, 14:14
Ok I see;
{vb:raw post.field2}
so what if I want to display this outside of a thread, what would I replace post. with?


{vb:raw bbuserinfo.fieldxx}

Any time you place code on here please use the [code] bbcode tags.

sojobo
14 Dec 2009, 14:20
Thanks pal that worked a charm :]

Blackhat
03 May 2010, 01:49
I want to let my users insert their own background or header image. How can I use this in the vbulletin.css style sheet?