i used these image for the default avatar :
-----Creating the field---------
Admincp > User profile fields > add new: Single section radio buttons
title : What genre
description: watever u want
set default : no
options: male, female (minuscule otherwise change the avatar image name in mayuscule..u feel me)
field required : yes, at reg and profile editing
no
yes
yes
keep the field id in your mind....
-----
Edit postbit_legacy (or postbit) in my case is postbit_legacy..
find
<if condition="$show['avatar']">
after that add :
Where it say FieldX place the id in X... like Field7, field8 ....etc..
upload the avatar image female.gif, and male.gif in your domain root like
www.flowmelody.com/HERE
Enjoy ...
-----Creating the field---------
Admincp > User profile fields > add new: Single section radio buttons
title : What genre
description: watever u want
set default : no
options: male, female (minuscule otherwise change the avatar image name in mayuscule..u feel me)
field required : yes, at reg and profile editing
no
yes
yes
keep the field id in your mind....
-----
Edit postbit_legacy (or postbit) in my case is postbit_legacy..
find
<if condition="$show['avatar']">
Code:
<div class="smallfont">
<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
</div>
after that add :
Code:
<else />
<if condition="$post[field7]"><div class="smallfont">
<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="/$post[color=Red][fieldX].gif[/color]" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
</div></if>
</if>
Where it say FieldX place the id in X... like Field7, field8 ....etc..
upload the avatar image female.gif, and male.gif in your domain root like
www.flowmelody.com/HERE
Enjoy ...