PDA

View Full Version : Custom Profile Fields in Postbit?


ausmara
02-24-2010, 10:48 PM
How are you supposed to add custom profile fields in the postbit? Every mod or template modification I have found to do this only worked before 4.02; and since then a lot of people seem to be struggling to add custom profile fields to the postbit.

At the moment I'm using

<vb:if condition="$post['field5']"><dt>Playing:</dt> <dd>{vb:raw post.field5}</dd></vb:if>

But nothing is displayed whatsoever.

Thanks for any help!

Lynne
02-25-2010, 03:17 AM
That works just fine for me in my 4.0.2 test site.

ausmara
02-25-2010, 08:56 AM
That works just fine for me in my 4.0.2 test site.

It was actually a mistake on my end. With the default postbit now being postbit legacy; I thought you had finally removed the postbit type you use on the this forum.

I've managed to get it to display in the forum, but instead of showing the option selected in the drop down box; it just says 'Playing X' (X being number instead of something like "Restoration Shaman".

Any ideas on what I'm doing wrong here?

Example can be found at http://forums.hydramist.net/showthread.php?629-Call-of-Duty-Modern-Warfare-II

bhallan
02-25-2010, 06:24 PM
I cant seem to get this to work either!

Lynne
02-25-2010, 11:55 PM
Is is a multi-selection type field? If so, read this and modify for vB4 - How To Add A Profile Field To The Postbit (http://www.vbulletin.com/forum/showthread.php?168741-How-To-Add-A-Profile-Field-To-The-Postbit&daysprune=-1)