PDA

View Full Version : Refering to Custom Profile Field...


RobFerrari
02-16-2004, 05:02 PM
I would like to add the contents of a custom profile field to each post. Basically, I have a custom profile field for "Full Name" and would like it displayed next to the username.

The complete set of custom fields are referenced as "$customfields", but I don't know how to reference a single field.

Thank you,
rob

Link14716
02-16-2004, 05:06 PM
$post[fieldx] where x is the profile field id.

RobFerrari
02-16-2004, 05:19 PM
$post[fieldx] where x is the profile field id.

Thank you, I've done some more diging. Why would my custom profile field of "Location" show up on postbit without any modification, but I can't find where to insert others without hacking. Was "Location" just a vB default and already there?

Thanks.

RobFerrari
02-16-2004, 05:23 PM
Here's the script from postbit that displays the Location...

<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>

Where is location_perm coming from?

RobFerrari
02-16-2004, 05:30 PM
Sorry, I figured it out, used the above code, but used the proper id # and created a phrase for Full Name. If anyone knows a place in the actual interface to do this, please let me know. Thanks.