Log in

View Full Version : display images or icons instead of text in Members 'About Me' profile tab?


Hall of Famer
09-05-2010, 10:41 AM
Well I've installed Country Flag and Gender in postbit addons, and they worked perfectly well. The only issue is that the images only show up in Postbit but not on their profile page. The country flag and gender still say 'USA/UK' and 'Male/Female' instead of displaying the images. What if I'd like to add special profile fields which are supposed to display images/icons instead of text? Is it possible to do so, or do I have to manually edit some template? Can anyone of you please show me an example of how to do this if possible? Thank you so so much. ^^

Hall of Famer
09-06-2010, 07:27 AM
Umm please help?

Lynne
09-06-2010, 01:54 PM
You'd probably just need to write a plugin to change it to an image. However, I know nothing about those mods and how they are written so I can't give any specifics. The best place to ask for help with this may be in the modification threads themselves since they know the specifics of the mods.

Hall of Famer
09-06-2010, 03:17 PM
Well someone from theadminzone said this:

I'm going by memory so this may not actually work. If it doesn't ask at vbulletin.org and I'm sure they'll correct the code.

<vb:if condition="$bbuserinfo[fieldxx]">
<img src="{vb:raw bbuserinfo[filedxx]}.png">
</vb:if>

Will it work? And if so, where should I insert these lines to?