How is the custom field setup? Let me know how you set it up and I'll play with it in dev.Cool, looks good, thanks!
Just one more question... we've got gender set up as a custom field... but US is listing a number instead of either picking up the text value or the gender icon (IIRC I set that up custom for the postbit). How can I fix that?
<if condition="$show['member'] AND in_array($post['field5'], array(1,2))">
<img src="images/$post[field5].gif" alt="<if condition="$post[field5] == 1">Male<else />Female</if>" border="0" />
</if>
It's a single question with 3 possible answers (Male, Female, Undisclosed), required at profile edit.
Then depending on the selection, I show an icon in the postbit:
Code:<if condition="$show['member'] AND in_array($post['field5'], array(1,2))"> <img src="images/$post[field5].gif" alt="<if condition="$post[field5] == 1">Male<else />Female</if>" border="0" /> </if>
It's a custom user profile field menu with 3 options (Male, Female, Undisclosed), just not a dropdown. The text values are Male, Female, Undisclosed, so I'm not sure where US is pulling those numbers from... but I expect vB has the text values saved under those numbers.
There's really no other way to do it than what vB presents you with... I didn't do anything special with it. David's got the admin account, you want to borrow it and check?
We use essential cookies to make this site work, and optional cookies to enhance your experience.