PDA

View Full Version : adding custom fields to postbit legacy


discodoran
05-29-2011, 01:41 PM
hello i have been having some trouble adding custom fields to the postbit legacy template on vbulletin 4.1.3, i am using the default style. I have added this instruction just below the post count instruction.

<vb:if condition="$post['field7']">
PSN: $post[field7]
</vb:if>

All i am looking to do is add custom field7 by using the above code all i get in the postbit is

psn: $post[field7]

Lynne
05-29-2011, 01:55 PM
You should take a look in the vB4 Articles forum for an article on vB4 syntax. You should have this:
PSN: {vb:var post.field7}
There is also an artilce in that forum on how to add these to your postbit - what you have posted is not going to look correct since you are not using proper html for that area in the postbit.

discodoran
05-29-2011, 02:08 PM
thanks for your help, i'm new to all of this, so a lot of it is way over my head.