Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Image Gender In Postbit Details »
Image Gender In Postbit
Mod Version: 1.00, by tnguy3n (Member) tnguy3n is offline
Developer Last Online: Sep 2010 I like it Show Printable Version Email this Page

This thread is in the Modification Graveyard.
vB Version: 3.0.0 Rating: (0 vote - 0 average) Installs: 39
Released: 26 Mar 2004 Last Update: Never Downloads: 6
Not Supported  

/*-----------------------------------------------------------------------*\
# Image Gender in postbit for vb3 gold
#
# This hack adds one's gender and it shows in postbit
/*-----------------------------------------------------------------------*\

Query to run: 1
File modification: 3
Template modication: 2
New Templates: 1
(estimate hack time: 4-5 mins)

Note: 2 gender images ain't created by me, found it at phpbb way back then.
/*-----------------------------------------------------------------------*\

To show gender in postbit, go to User CP => Edit Profile , scroll down to Gender option and select a gender or leave it blank if don't wanna show it.

Live Demo: http://all4actions.net , click on a thread to see it in action.

(adding gender in User Profile later, gotta run for class) :ermm:

Download Now

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Gender Image In Postbit tnguy3n vBulletin 3.5 Template Modifications 37 03 Feb 2009 13:44
Gender In postbit Zachery vBulletin 3.0 Template Modifications 60 04 May 2005 20:31

Comments
  #2  
Old 26 Mar 2004, 22:39
lasto lasto is offline
 
Join Date: Jan 2002
how do i add more options to this

u have two male and female but working upon same concept i could use this for me clan site so they can choose what team they prefer to play on so i need 3 options really as we have 3 teams
Reply With Quote
  #3  
Old 26 Mar 2004, 22:52
ryancooper's Avatar
ryancooper ryancooper is offline
 
Join Date: Jul 2002
can you make this a required field?
Reply With Quote
  #4  
Old 27 Mar 2004, 00:15
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Real name: Zachery Woods
wow, somthing that can be done by profile fields and template conditional

this is an insanely wonderfull hack


The No hack version of this "hack"
http://www.vbulletintemplates.com/mo...ead.php?t=5957
__________________
Looking for ImpEx?

Last edited by Zachery; 27 Mar 2004 at 00:36.
Reply With Quote
  #5  
Old 27 Mar 2004, 04:58
tnguy3n's Avatar
tnguy3n tnguy3n is offline
 
Join Date: May 2003
Real name: Nguyễn
Originally Posted by lasto
how do i add more options to this

u have two male and female but working upon same concept i could use this for me clan site so they can choose what team they prefer to play on so i need 3 options really as we have 3 teams

This just give me an idea for vb3 clan (users clans, clan leader, teams, etc). I wonder if anyone works on this project yet or I gonna start it.

lasto, if you want to have 3 options rather than two, open

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

and modify it to:
[code]
if ($post[some-constant] == "0")
{
$var= "";
}
else
{
if ($post[some-constant] == "1")
{ $var = "Team1"; }
elseif ($post[some-constant] == "2")
{ $var = "Team2"; }
elseif ($post[gender] == "3")
{ $var = "Team3"; }
}
eval ( '$gender = "' . fetch_template ( 'postbit_genderbit' ) . '" ;' ) ;



Modify the genderbit in profile:

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



If you want to use image for clan name, change postbit_genderbit template to:

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




Sorry it looks a bit messy, but that's the idea.
Reply With Quote
  #6  
Old 27 Mar 2004, 05:05
tnguy3n's Avatar
tnguy3n tnguy3n is offline
 
Join Date: May 2003
Real name: Nguyễn
Originally Posted by ryancooper
can you make this a required field?
lol... i want my members to choose whether to show their gender or not, but I'll get back to you when i got it tested. (so tired now :tired: )
Reply With Quote
  #7  
Old 27 Mar 2004, 09:02
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Real name: Zachery Woods
Like i said, and showed at vBulletinTemplates. this can be done over and over again for any appication via template conditionals and a user profile filed.
__________________
Looking for ImpEx?
Reply With Quote
  #8  
Old 27 Mar 2004, 09:53
Gio Takahashi's Avatar
Gio Takahashi Gio Takahashi is offline
 
Join Date: Jul 2003
Location: Cape Coral
Real name: Don K
This hack can be easily done by using the "Custom profile manager".

Really, a waste of effort and unncessary edit.

Reply With Quote
  #9  
Old 27 Mar 2004, 10:19
Floris Floris is offline
 
Join Date: Jan 2002
Originally Posted by Gio Takahashi
This hack can be easily done by using the "Custom profile manager".

Really, a waste of effort and unncessary edit.

At least users have the choice to do a source code modification or a template tweak. I prefer the template one since it doesn't hack in on upgrades
__________________
My community; http://wetalknation.net
Reply With Quote
  #10  
Old 27 Mar 2004, 11:16
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Real name: Marco
Woman are always less than men active over the www...
Reply With Quote
  #11  
Old 27 Mar 2004, 13:07
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Real name: Zachery Woods
Originally Posted by gmarik
Woman are always less than men active over the www...
O.o who is that aimed at... Neither Me or Floris are female...
__________________
Looking for ImpEx?
Reply With Quote
  #12  
Old 27 Mar 2004, 13:12
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
He totally lost me on that one, too. :ermm:
Reply With Quote
  #13  
Old 28 Mar 2004, 17:50
Aleksey Aleksey is offline
 
Join Date: Mar 2004
Real name: Aleksey
This hack doesn't work for me, when I edit my profile I choose male as gender and then I go to EDIT PROFILE and it just shows ------ not male.
Reply With Quote
  #14  
Old 28 Mar 2004, 20:13
tnguy3n's Avatar
tnguy3n tnguy3n is offline
 
Join Date: May 2003
Real name: Nguyễn
in edit profile, it's set back to ----- ; however, in postbit, it shows either male or female as you selected.
Reply With Quote
  #15  
Old 06 Apr 2004, 16:48
L-Mane L-Mane is offline
 
Join Date: Jul 2002
Originally Posted by tnguy3n
in edit profile, it's set back to ----- ; however, in postbit, it shows either male or female as you selected.
I did the hack and it doesn't show anything in the threads. The profile part works but nothing else.
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 14:57.

Layout Options | Width: Wide Color: