Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Gender in Postbit or Postbit Legacy - vB 4.0.x Inc GOLD Details »»
Gender in Postbit or Postbit Legacy - vB 4.0.x Inc GOLD
Mod Version: 1.00, by Welshy2008 (Coder/Designer) Welshy2008 is offline
Developer Last Online: Mar 2013 I like it Show Printable Version Email this Page

vB Version: 4.0.0 Rating: (39 votes - 4.26 average) Installs: 256
Released: 26 Dec 2009 Last Update: 26 Dec 2009 Downloads: 991
Not Supported Template Edits Code Changes Re-usable Code Translations  

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)

FIND:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

ADD BELOW:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


vBulletin 4.1.0 (tested by beiamerica. Please note that I have not tested this myself.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


  • Replace the TWO Green ‘X’s with the field number in Step One (1).
  • Replace the Red Text with YOUR forum address.
STEP 4; Upload the Images:
  • Upload the ‘Male.gif’ and the ‘Female.gif’ to the ‘images/misc’ directory of your forum’s route.
THAT’S IT !

To view it in your profile: Edit your Profile and choose your “Gender”.

Please Click the Install and Rate the Mod – Many Thanks.

Edited on Wednesday 7th July 2010. Reason: Two more Screenshots added and made the "Single-Selection Menu" Bold.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	1.jpg
Views:	1275
Size:	92.6 KB
ID:	108254Click image for larger version

Name:	2.jpg
Views:	1198
Size:	82.3 KB
ID:	108255Click image for larger version

Name:	3.jpg
Views:	838
Size:	85.1 KB
ID:	108256Click image for larger version

Name:	4.jpg
Views:	838
Size:	37.6 KB
ID:	108257Click image for larger version

Name:	5.gif
Views:	3549
Size:	28.1 KB
ID:	108258Click image for larger version

Name:	Gender-Screen1-on-Registration.JPG
Views:	1452
Size:	42.4 KB
ID:	119378Click image for larger version

Name:	Gender-Screen2-on-Registration.JPG
Views:	1045
Size:	44.0 KB
ID:	119379

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Email to Friend, Print Version, Subscribe Thread in Postbit/Postbit Legacy Neutral Singh vBulletin 3.8 Template Modifications 29 03 Sep 2009 08:53
Innovative Signature Showcase TheLastSuperman vBulletin 3.7 Template Modifications 1 24 Jun 2009 05:23

  #121  
Old 15 May 2012, 12:08
alghzil alghzil is offline
 
Join Date: Dec 2011
taged for later thanks
Reply With Quote
  #122  
Old 25 May 2012, 08:31
Paolitus's Avatar
Paolitus Paolitus is offline
 
Join Date: Apr 2012
Originally Posted by booble View Post
It show

"Gender: Male"

... but icon is missing
Originally Posted by HHelp1 View Post
Same here... I think it no longer work :/
icon is missing on vb 4.2.0
help...!!!!
Reply With Quote
  #123  
Old 28 May 2012, 07:59
staciesim staciesim is offline
 
Join Date: May 2012
having problems when members are trying to registher with mobiles, gender not showing in mobile styles...it gives them the option to pick gender but when thay click on it all feilds are blank, so thay cant pick gender and cant move on to register any help would most gratefull
Reply With Quote
  #124  
Old 30 May 2012, 07:07
Paolitus's Avatar
Paolitus Paolitus is offline
 
Join Date: Apr 2012
Originally Posted by Paolitus View Post
icon is missing on vb 4.2.0
help...!!!!
Solved
It's work on vb 4.2.0

thanks
Reply With Quote
  #125  
Old 03 Jun 2012, 15:22
RecklessTim RecklessTim is offline
 
Join Date: May 2007
Originally Posted by Paolitus View Post
Solved
It's work on vb 4.2.0

thanks
What was the solution? I want to install this on my 4.2.0
Reply With Quote
  #126  
Old 24 Jun 2012, 11:47
insidegames insidegames is offline
 
Join Date: Jun 2010
is it possible to get the gender-icon after the username?
Reply With Quote
  #127  
Old 25 Jun 2012, 08:08
thenamesgould thenamesgould is offline
 
Join Date: Mar 2008
Originally Posted by insidegames View Post
is it possible to get the gender-icon after the username?
Absolutely, that's how I have it at my forum - marathonstadium.com
Reply With Quote
  #128  
Old 27 Jun 2012, 12:38
datoneer's Avatar
datoneer datoneer is offline
 
Join Date: Jul 2011
Works perfect vb 4.1.10 thanks man
Reply With Quote
  #129  
Old 04 Jul 2012, 09:21
insidegames insidegames is offline
 
Join Date: Jun 2010
Originally Posted by thenamesgould View Post
Absolutely, that's how I have it at my forum - marathonstadium.com
can you tell mer your code please? :-) Looks very coool
Reply With Quote
  #130  
Old 05 Jul 2012, 17:52
tareqbd tareqbd is offline
 
Join Date: May 2011
any rule in registration form can be added? e.g. if gender male .. do=addmember to male usergroup or if gender female... do=addmember to female usergroup?

Last edited by tareqbd : 06 Jul 2012 at 13:04.
Reply With Quote
  #131  
Old 07 Jul 2012, 06:00
thenamesgould thenamesgould is offline
 
Join Date: Mar 2008
Originally Posted by insidegames View Post
can you tell mer your code please? :-) Looks very coool
Sorry for the slow reply. I put mine in the postbit_legacy template ... and it goes right after this bit:

{vb:raw memberaction_dropdown}

and before:

{vb:raw post.onlinestatus}

It should look like this once done:

{vb:raw memberaction_dropdown}
<!-- Wy Gender in postbit Start -->
<vb:if condition="$post['field5']"><img src="{vb:stylevar imgdir_misc}/{vb:raw post.field5}.gif" alt="{vb:raw post.field5}" /></vb:if>
<!-- Wy Gender in postbit End -->
{vb:raw post.onlinestatus}

Of course, you might not be using field 5, so you might have to change that bit. Let me know if you have any problems.
Reply With Quote
  #132  
Old 24 Jul 2012, 19:39
imported_dfmafia's Avatar
imported_dfmafia imported_dfmafia is offline
 
Join Date: Jun 2004
Location: Wherever Uncle Sam Needs!
Real name: Brock
had an issue, i required it for registration. it wasn't showing up.

I added the following to my registration template:

FIND:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


ADD BELOW:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

change XX for whatever your profile field for gender is.

and seems to be working...

vB 4.2.0 PL 2
Reply With Quote
  #133  
Old 17 Dec 2012, 20:24
Ary Braga Ary Braga is offline
 
Join Date: Jun 2009
Thumbs up Re: Gender in Postbit or Postbit Legacy - vB 4.0.x Inc GOLD

Originally Posted by insidegames View Post
is it possible to get the gender-icon after the username?
working Perfectly on VB 4.2.0pl3

yes.

Firstly understand. The image name is case sensitive. Find first you Fieldx. No number, but the two names.
e.g: Male and Female =>Female is different of female
just rename the img as you filled in FieldX

Put the two img in /yourforum/images/misc

if you use VB4.2x

Find in postbit_legacy or postbit, this line: ( in my case I used postbit_legacy).

To put After USERNAME, use my attachments.




Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Change to:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I alter to PNG File. (case sensitive to) if you need change to .gif or .GIF? it's OK.

I used spacing ( &nbsp; ) to separate the image of Username.

Maybe you need to take out or put more ( &nbsp; ).

Depending on the template of your postbit.

Be happy



----------------

18x18-PNG

18x18-PNG
----------------
12x12-GIF

12x12-GIF
Attached Images
File Type: png Male.png (1.2 KB, 49 views)
File Type: png Female.png (1.1 KB, 50 views)
File Type: gif Male.gif (528 Bytes, 49 views)
File Type: gif Female.gif (309 Bytes, 48 views)

Last edited by Ary Braga : 17 Dec 2012 at 21:00. Reason: Add Snapshot
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 14:37.

Layout Options | Width: Wide Color: