Log in

View Full Version : Adding a User Profile Field To Postbit in VB3.0.3


mcyates
08-31-2004, 08:30 PM
How do i do it as i can't. I've added

<if condition="$post['field5']"><div>$vbphrase[location_teams]: $post[field5]</div></if> to the postbit template but nothing showed. I created a phrase called vbphrase[location_teams] but it would let me it said this:

The varname you specified for this phrase is invalid. You may only include a-z, A-Z, 0-9, and _ (underscore).

How do i do it?

Please help. Step by step would be nice. Thanks

rake
08-31-2004, 10:16 PM
the phrase needs to be called "location_teams", without vbphrase.
what you added to the postbit is correct, but are you sure field 5 exists, and is not null?

Zachery
08-31-2004, 10:31 PM
How do i do it as i can't. I've added

<if condition="$post['field5']"><div>$vbphrase[location_teams]: $post[field5]</div></if> to the postbit template but nothing showed. I created a phrase called vbphrase[location_teams] but it would let me it said this:

The varname you specified for this phrase is invalid. You may only include a-z, A-Z, 0-9, and _ (underscore).

How do i do it?

Please help. Step by step would be nice. Thanks
Unless you have multiple languages dont bother with phrases unless you plan to use this phrase again and again on other parts of the site as well.