Version: 1.00, by Welshy2008
Developer Last Online: Mar 2013
Category: Mini Mods -
Version: 4.0.0
Rating:
Released: 12-25-2009
Last Update: 12-26-2009
Installs: 280
Template Edits
Re-useable Code Code Changes Translations
No support by the author.
What is this?
This is a little Mod & Template edit that adds a 'Gender' for you Members to choose and displays their 'Gender and a nice little icon' in their Postbit.
Instructions in the "READ ME" file (pdf) , pictures and SCREENSHOTS are all included in the Attached file ' Gender in Postbit'.
Complete this in 4 Steps:-
STEP ONE; Create a New Profile Field:
AdminCP -> User Profile Fields -> Add New User Profile Field ->
And do the following:
Profile Field Type: Single-Selection Menu
Click Continue
Add New User Profile field: Single-Selection Menu
Title: Gender:
Description: Please Select your Gender
Profile Field Category: Uncatagorized
Options: Male , Female
Set Default: None
Display Order: (Chosen By You)
Field Required: Yes, at registration & profile updating (You don?t have to make it compulsory)
Field Editable By User: Yes
Private Field: No
Field Searchable On Members List: Yes
Show On Members List: Yes
Optional Output:
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 EMPTY
Display Page:
Which page displays this option? Edit Profile
SAVE & Note the ?field? number as you need to replace the ?X? with it in the two positions (2) containing ?fieldX?
STEP 2; Add a Phrase:
AdminCP -> Languages & Phrases -> Phrase Manager -> Add New Phrase (Center button on the bottom):
Phrase Type: GLOBAL
Product: vBulletin
Varname: gender
Text: Gender
SAVE
STEP 3; Postbit or Postbit_Legacy Template (whichever one you use):
AdminCP -> Styles and Templates -> Style Manager -> (style that you use ? Mine is ?Default Style?) -> << >> -> Postbit Templates -> Postbit (or Postbit _legacy, depending on which one YOU use)
My Way... adding or to show what's the meaning of the icon image....coz to tell the truth i don't know them...do you?
intersted follow or add the red one....
Code:
<!-- Wy Gender in postbit Start -->
<vb:if condition="$post['fieldX']"> <dt>Gender:</dt> <dd><img src="http://WWW.YOUR FORUM
ADDRESS.COM/images/misc/{vb:raw post.fieldX}.gif" alt="" title=" I Am {vb:raw post.field8}" border="0" /></dd></vb:if>
<!-- Wy Gender in postbit End -->
Hi
Will this work on Vb4.0.3? I followed all the instructions and it just shows " Gender :: " for Male and Female. I need help please. Btw I am using Vblue Pro Fluid style.
Thanks
Hi
Will this work on Vb4.0.3? I followed all the instructions and it just shows " Gender :: " for Male and Female. I need help please. Btw I am using Vblue Pro Fluid style.
Thanks
I can confirm that it works in 4.0.3 - I upgraded from 4.0.2 PL1 to 4.0.3 PL1 Last night, and it is working.