User Gender For Postbit_Legacy
Hi And Assalam-o-Alaikum
Today I Make User Gender System For Users On Registration User Select User Gender As "Male" And "Female" Any One. Instructions Upload ALL the Gender GIF pics to your forum root images/misc/ Folder. If You Useing Any Skin Then Upload Gender Gifs In forum root skin/misc Folder. ACP -> User Profile Fields -> Add New User Profile Field ->Profile Field Type -> Single-Selection Menu Add New User Profile Field Single-Selection Menu Title = User Gender Description = Select Your Gender. Profile Field Category = (Uncategorized) Options = Male And Below Female Set Default = None Display Order = You Select this (dependant on how many you already have) Field Required = yes, at registration and profile updating Field Editable by User = Yes Private Field = No Field Searchable on Members List = No Show on Members List = Yes Optional Input: Allow user to input their own value for this option = No Max length of allowed user input = 100 Field Length = 25 Regular Expression = Leave this Blank Display Page: Which page displays this option? = Edit Your Details Then, In your Admin Control Panel (ACP) For Postbit_lagacy ACP -> Styles & Templates -> Style Manager -> Postbit Templates -> postbit_lagacy Find Code:
<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</if> <if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if> $template_hook[postbit_userinfo_left] Code:
<b><if condition="$post[field6]"><img src="$stylevar[imgdir_misc]/$post[fieldX].gif" alt="$post[fieldX]" /></if></b> Enjoy This Mod If Any One Have Any Problem Then Tell To Me. I Hope Member Like This. Download
User Gender.zip (3.1 KB, 111 downloads) Screenshots |
Similar Mods
Profile Enhancements Gender Bit: Show gender symbol next to username in postbits and many other places | vBulletin 3.7 Add-ons |