Gender Hack - Gender Beside your username

afrozenminute

New Member
FIXED


Gender Hack Template Modification
Modified by afrozenmiute
Original link: Profile Enhancements - Gender Hack - vBulletin Modifications

Screenshot:
82310592.jpg


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:
edit template memberlist_resultsbit find:

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
 

Mr-Ice-Man

New Member
Doesnt work nothing shows at all
Looking at the code it doesnt look right, it says the images are png and there not there gif and it doesnt say were the images are in the code.
 
Works for me, but I want it so:

Memberlist:

Username-Gender ( - = Space)
Title

And in the Postbit:

Username
Title
Avatar
Reg. since
Location
Age
Gender

Can you tell me how to do that?

Regards,
Mythos
 

Rated_R

New Member
afrozenminute said:
you need to upload the image to the "/image/misc/" directory or if you have skin "skinname/image/misc/" directory upload teh male.gif and female.gif

i did but images still not shows up why?
 

afrozenminute

New Member
Rated_R said:
i did but images still not shows up why?

re install it again xD..... it should be working like mythis said

Mythos said:
Works for me, but I want it so:

Memberlist:

Username-Gender ( - = Space)
Title

And in the Postbit:

Username
Title
Avatar
Reg. since
Location
Age
Gender

Can you tell me how to do that?

Regards,
Mythos

huh? can u briefly tell what you want.. im confused :lol:
 
Top