Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Gender In postbit Details »
Gender In postbit
Mod Version: 1.00, by Zachery (Member) Zachery is offline
Developer Last Online: May 2017 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: Rating: (0 vote - 0 average) Installs: 5
Released: 27 Mar 2004 Last Update: Never Downloads: 25
Not Supported  

AdminCP > Profile Fields > Add new PRofile field > Single Select Menu >

Tile > Gender
Description > This is your gender, your either male or female 99% of the time.
Options:
Undisclosed
Male
Female
Default Option: Yes, but not blank

make note of the field id

Template edit:
in postbit(_legacy)
find

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

add under


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

Change X to the field id
And yer done
For the images to work you would need to upload a

images/misc/gender_male.gif and gender_female.gif

If you dont have or want images remove the img tag

Download Now

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

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
Gender In Postbit peterska2 vBulletin 3.6 Template Modifications 198 22 Jun 2013 23:17
Show Thread Enhancements Image Gender In Postbit tnguy3n Modification Graveyard 33 24 Nov 2005 07:24

  #16  
Old 04 May 2004, 17:24
lazserus's Avatar
lazserus lazserus is offline
 
Join Date: Mar 2004
Re: Gender In postbit

Didn't work. Now, maybe I can't combine a normal HTML path with vB code (which is just PHP, no?). This is what I have setup:

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

The src is correct, but it still won't work. I guess I could set it up w/o the image, but I figured the image would be kind of neat. I'm not really sure what the problem is at this point. I've got the images in every single images directory and vB still produces X's. I've used the default code and also the code above and the results never change.
Reply With Quote
  #17  
Old 18 May 2004, 10:42
moonclamp's Avatar
moonclamp moonclamp is offline
 
Join Date: May 2004
Real name: Paul
Re: Gender In postbit

works fine for me

Except if a member is deleted the picture turns into a red x ... can the information be retained if a member leaves or can the info be removed completely from the postbit?

I guess I could always add 1pixel image but that is more of a workaround than a solution

(Oh and first post so hello there)
Reply With Quote
  #18  
Old 21 May 2004, 09:50
imported_Wayne2k1.com imported_Wayne2k1.com is offline
 
Join Date: May 2004
Re: Gender In postbit

Installed
Reply With Quote
  #19  
Old 29 May 2004, 14:00
[H]Dazz [H]Dazz is offline
 
Join Date: Oct 2002
Re: Gender In postbit

I can't seem to get this to work... I think it has something to do with having RPG stats hack installed as well...
Reply With Quote
  #20  
Old 31 May 2004, 03:34
imported_BeasTboyz imported_BeasTboyz is offline
 
Join Date: May 2004
Re: Gender In postbit

Any Idea why even if the user has chosen to not answer the question (i.e. left the field blank) the "Gender:" info still shows up under their name, there is just nothing next to it. Here is what I have (the all text version) :


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

Reply With Quote
  #21  
Old 31 May 2004, 18:03
imported_badpacket imported_badpacket is offline
 
Join Date: Jun 2003
Re: Gender In postbit

Originally Posted by BeasTboyz
Any Idea why even if the user has chosen to not answer the question (i.e. left the field blank) the "Gender:" info still shows up under their name, there is just nothing next to it. Here is what I have (the all text version) :


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
In your User Profile Manager set the default to "yes but no first blank option"

*admincp > user profile field > profile manager > gender > edit

and hello all

hope that works for you Beastboyz..
Reply With Quote
  #22  
Old 31 May 2004, 21:52
imported_BeasTboyz imported_BeasTboyz is offline
 
Join Date: May 2004
Re: Gender In postbit

Originally Posted by badpacket
In your User Profile Manager set the default to "yes but no first blank option"

*admincp > user profile field > profile manager > gender > edit

and hello all

hope that works for you Beastboyz..
Well, that is only an option for the drop down boxes with multiple choices. Since mine will be "real name" and "Bike" options, I can't use a drop down box. Any ideas on how to do this with a single line text box?

Thanks everyone

Matt
Reply With Quote
  #23  
Old 31 May 2004, 22:27
imported_badpacket imported_badpacket is offline
 
Join Date: Jun 2003
Re: Gender In postbit

Maybe make it a required field? if they dont have a bike enter N/A I guess.. *shrug* Maybe somoene will come back with some code that will default to "whatever" if left blank.
Reply With Quote
  #24  
Old 01 Jun 2004, 20:52
BeatificFaith's Avatar
BeatificFaith BeatificFaith is offline
 
Join Date: May 2004
Re: Gender In postbit

Hi, I'm trying to use this in the latest version of vbulletin but instead of the graphic showing up it says gender: female female. Can someone please help?
Reply With Quote
  #25  
Old 01 Jun 2004, 22:24
tnguy3n's Avatar
tnguy3n tnguy3n is offline
 
Join Date: May 2003
Real name: Nguyễn
Re: Gender In postbit

Originally Posted by badpacket
Maybe make it a required field? if they dont have a bike enter N/A I guess.. *shrug* Maybe somoene will come back with some code that will default to "whatever" if left blank.
run this query in phpMyAdmin or AdminCP

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

adjust that fieldX with your gender field.
Reply With Quote
  #26  
Old 26 Jun 2004, 03:22
Silverstangs Silverstangs is offline
 
Join Date: Nov 2003
Re: Gender In postbit

Works Great, I wish I thought of it!!!!
Reply With Quote
  #27  
Old 26 Jun 2004, 12:01
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Real name: Marco
Re: Gender In postbit

smaal but good
Reply With Quote
  #28  
Old 07 Jul 2004, 19:13
Jacko's Avatar
Jacko Jacko is offline
 
Join Date: Mar 2002
Real name: Steve
Re: Gender In postbit

i try to add the $gender to my postbit and i want it next to my username but it puts it on a new line under the username??

anyway of getting to align with the username???? i have checked for <br> in code but there isnt any.

ame when i put the stars hack on my post bit too. i am still using original postbit cose.

http://www.carstyledirect.com/forum/ - to see example


thanks
Reply With Quote
  #29  
Old 07 Jul 2004, 22:01
Jacko's Avatar
Jacko Jacko is offline
 
Join Date: Mar 2002
Real name: Steve
Re: Gender In postbit

ignore me i sorted it now.
Reply With Quote
  #30  
Old 30 Jul 2004, 15:11
imported_uber's Avatar
imported_uber imported_uber is offline
 
Join Date: Aug 2003
Re: Gender In postbit

I seem to remember releasing this exact same mod for Gamma & RC. Zach's response to it was

Originally Posted by Zachery
and i could think of a few ways to improve it also
Originally Posted by Zachery
well for one id use an if condtioin to only alow this filed to be editable on registar. or if they dont choose one. this way we cant have our trolls confucsing us and such
Your mod doesn't seem to do this at all, just a re-hash of previous ideas.
__________________
“What’s your email? Mine is loismustdie all one word @yahoo.com.”
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 10:12.

Layout Options | Width: Wide Color: