Log in

View Full Version : Extra user icons based on profile field.


Gun Geek
03-30-2009, 03:57 PM
Hello everyone I am new to administration of vbulletin. I have seen this on some of the other forums that I am a member of and cant seem to find a mod to do it.

What I want is a few profile fields that are a simple yes/no question. If the user chooses yes, I want an image to display on the profile like in ministats and in the user section of a post. It would be just a small icon. Hopefully I have explained this well enough. Please let me know if a mod already exists.

Lynne
03-30-2009, 04:23 PM
You will need to add some stuff to your postbit - either directly or through a plugin. Something like:

<if condition="$post[fieldx'] === 'Yes'"><img src="whatever.gif" alt="" /></if>

Gun Geek
03-30-2009, 04:30 PM
Sweet thank you

--------------- Added 1238443263 at 1238443263 ---------------

What about a multiple select box for example.

A user field with multiple checkboxes
Are you a member of?
Club A
Club B
Club C
Club D

How would I get it to show an image for any box that is checked?

Thank you for your help

Gun Geek
04-01-2009, 03:59 AM
Lynne?

Lynne
04-01-2009, 04:03 AM
I'm not sure about multiple checkboxes. I believe there is a thread about this over on vb.com in their Tips forum.

Gun Geek
04-01-2009, 04:27 AM
Ok I will check it out or just do individual questions... might be easier anyway. I appreciate your help. Thank you.