Quote:
I'm trying to add an icon next to certain members' usernames. I've added a hidden profile field, which can only be changed by an admin, and I've included the $post[fieldx] in the postbit where I want it to go, all working great.
|
I did something similiar but added it in the template... using an if statement to not display the img code if that field is blank.
HTML Code:
<div><if condition="$post[field15]"><img src="$post[field15]"></if></div>