Log in

View Full Version : Custom field under post count number


MichaelJM13k
03-11-2005, 03:28 AM
Is there a way i can place a users custom field appear under the users post count if its filled out in their profile?

Jolten
03-11-2005, 07:44 AM
yeah add the following to the post bit template


$post[fieldx];


replace the x with the number of the field you want to show.

MichaelJM13k
03-11-2005, 03:33 PM
ok...I went to: Admincp > Stlye Manager > Edit Templates > postbit templates > postbit then i added your code right under

$post[musername] $post[onlinestatus] vbmenu_register("postmenu_$post[postid]", true); $post[musername]

$post[usertitle]

$post[rank]
And it isnt working.. Is that right?

Marco van Herwaarden
03-11-2005, 03:52 PM
Are you using normal postbit (above the post) or legacy (left to the post)?

If legacy, you will need to edit postbit_legacy

MichaelJM13k
03-11-2005, 04:43 PM
Alright, I got half of it working.. if i do XBL Gamertag: $post[field5]
Then it shows up right but XBL Gamertag: Still shows if you have nothing in that field...
If i do $vbphrase[XBL_Gamertag]: $post[field5] all that shows up is :

Slapyo
03-11-2005, 05:25 PM
<if condition="$post[field5]">XBL Gamertag: $post[field5]</if>

i think that is right. but you need to put it in and if, if you want it to only display IF they filled it out.

MichaelJM13k
03-11-2005, 05:53 PM
worked =) Thanks Slapyo!