afrozenminute
New Member
FIXED
Gender Hack Template Modification
Modified by afrozenmiute
Original link: Profile Enhancements - Gender Hack - vBulletin Modifications
Screenshot:
Create the following new profile field.
Observe: Note the field number shown in the profile field manager, eg. field5.
Upload Male.gif and Female.gif to /images/misc of if you have skin /images/skinname/misc
(Male.gif and Female.gif) Attached
edit template postbit find:
below it add:
Observe : Change X to the field number
Step 4:
edit template memberlist_resultsbit find:
below it add:
Done! Enjoy!
DOWNLOAD THE ATTACHED IMAGES
Gender Hack Template Modification
Modified by afrozenmiute
Original link: Profile Enhancements - Gender Hack - vBulletin Modifications
Screenshot:
Step 1:
Create the following new profile field.
Code:
Type: Single-Selection Menu
Title: Gender
Description: Select your gender
Options: Male
Female
Set Default: None
Allow user to input own value: No
Display page: Edit Profile
Observe: Note the field number shown in the profile field manager, eg. field5.
Step 2:
Upload Male.gif and Female.gif to /images/misc of if you have skin /images/skinname/misc
(Male.gif and Female.gif) Attached
Step 3:
edit template postbit find:
Code:
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
below it add:
Code:
<if condition="$post[fieldX]"><img src="$stylevar[imgdir_misc]/$post[fieldX].gif" alt="$post[fieldX]" /></if>
Observe : Change X to the field number
Step 4:
Code:
<if condition="$show['usertitlecol']"><div class="smallfont">$userinfo[usertitle]</div></if>
below it add:
Code:
<if condition="$userinfo[fieldx]"><div class="smallfont">Gender: <img src="$stylevar[imgdir_misc]/$userinfo[fieldx].gif" alt="$userinfo[fieldx]" /></div></if>
Done! Enjoy!
DOWNLOAD THE ATTACHED IMAGES