Back to vBulletin 3.0 Template Modifications

Gender In postbit
Mod Version: 1.00, by Zachery

This modification is in the archives.
vB Version: Rating: (0 vote - 0 average) Installs: 5
Released: 27 Mar 2004 Last Update: Never Downloads: 25
Not Supported  

AdminCP > Profile Fields > Add new PRofile field > Single Select Menu >

Tile > Gender
Description > This is your gender, your either male or female 99% of the time.
Options:
Undisclosed
Male
Female
Default Option: Yes, but not blank

make note of the field id

Template edit:
in postbit(_legacy)
find
HTML Code:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div>
add under

HTML Code:
<if condition="$post[fieldX] != Undisclosed"><div>Gender: $post[fieldX] <img src="$stylevar[imgdir_misc]/gender_$post[fieldX].gif" alt="$post[fieldX]" /> </div></if>
Change X to the field id
And yer done
For the images to work you would need to upload a

images/misc/gender_male.gif and gender_female.gif

If you dont have or want images remove the img tag

Download

This modification is archived and cannot be downloaded.

Similar Mods

Gender In Postbit vBulletin 3.6 Template Modifications
Show Thread Enhancements Image Gender In Postbit Modification Graveyard

vblts.ru supports vBulletin®, 2022-2024