![]() |
User Gender For Postbit_Legacy
1 Attachment(s)
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> 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. |
Nice images. ;)
Can you ad a text file to the ZIP file with the instructions in it so users will have it available in case of a re-install? |
Quote:
|
Excellent = 5 Stars
i like it keep it up bro tank you |
You have small error here:
HTML Code:
<b><if condition="$post[field6]"><img src="$stylevar[imgdir_misc]/$post[fieldX].gif" alt="$post[fieldX]" /></if></b> HTML Code:
<b><if condition="$post[fieldX]"><img src="$stylevar[imgdir_misc]/$post[fieldX].gif" alt="$post[fieldX]" /></if></b> Also, you need to mention that images has to have same name as values you have. It's important for different languages. So, if site uses different language, file names have to be changed accordingly. And in case of special characters it could be a problem, if it is not supported by OS, file couldn't be named with them, so you need to use different words to describe gender. And just my opinion about section where it is posted, this is template modification, not a mod. |
Quote:
|
Good mod, installed!
|
All times are GMT. The time now is 01:59 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|