PDA

View Full Version : Can't get custom userfields to display.


Largo .//npc
05-20-2009, 09:08 AM
I've got a couple of user fields I want to display before the user's Post count in threads.

I've read around and found that you have to edit the postbit template, so I have.
I've edited it for EVERY single style and it just doesn't change, at all. I've even tried putting some normal text in there after $posts[posts] but that didn't make a difference either. It's doing my head in!

Here's the code I'm trying to enter
<if condition="$post['field10']"><div class="smallfont">Main: <img src="./images/misc/$post[field11].gif" /> $post[field10] - $post[field9]<br /><br /></div></if>

It's simple, it should be easy, but it's being a ****head.

RustyDogma
05-20-2009, 02:59 PM
Make sure if you are using a legacy style, you've updated "postbit_legacy"

Also, make sure there's something in field10, otherwise nothing will display, as that is the conditional you set.