UBB.Dev
Posted By: XNet [6.0x] Gender Hack - 04/23/2001 9:31 PM
This makes the Username colored, the colors are selectable from the CP. The gender is selectable at registration or later from the member at the profile and uses customfield3.

Also, it's now possible to add icons.

Download

Control Panel:
[Linked Image]

[ May 01, 2001 03:13 AM: Message edited by: XNet ]
Posted By: Compboy Re: [6.0x] Gender Hack - 04/24/2001 5:16 PM
very good. just a little more work on CP addon and this can go to finished smile
Posted By: wardx28 Re: [6.0x] Gender Hack - 04/24/2001 9:41 PM
Can't change this field from Cp when editing a members profile.
Posted By: XNet Re: [6.0x] Gender Hack - 04/24/2001 10:56 PM
In the previous version it shows only the numbers in the CP, I've changed it now.
You can now select/view the gender from the CP and insert the colors in the wordlets file.

Changes to first version goes only to:
cp_edit_profile.pl
cp_users.cgi
vars_wordlets_mods.cgi
Posted By: wardx28 Re: [6.0x] Gender Hack - 04/25/2001 12:03 AM
Shows selection box but that is it in the new versionl. Male and Female are not listed, just blank.
Posted By: Compboy Re: [6.0x] Gender Hack - 04/25/2001 12:57 AM
Quote
quote:
If your user's doesn't have it set, it won't show..
Posted By: XNet Re: [6.0x] Gender Hack - 04/26/2001 6:06 PM
Quote
quote:
Like Compboy said, if there is no gender selected it doesn't show one. Since not everyone like to make the gender public it's better to have this as an option, instead people choose a wrong gender then.

Anyone like to see an other option or something in this hack?
Posted By: XNet Re: [6.0x] Gender Hack - 04/30/2001 10:43 PM
I've added now CP support, see the first post. And you can use icons, if you like.

If you have used the previous version delete the colors from vars_wordlets_mods.cgi, change the public_topic_page.pl part and add all cp* parts.
Posted By: Compboy Re: [6.0x] Gender Hack - 04/30/2001 11:55 PM
Cool !! working good.
searching for some good icon's now smile
Posted By: XNet Re: [6.0x] Gender Hack - 05/01/2001 10:12 AM
That's also what I'm looking for now. Don't like the icons I've used for testing and haven't found any good ones for now.
Posted By: TOC Re: [6.0x] Gender Hack - 05/05/2001 9:38 AM
nice hack... where can I get these icons for the gender?
Posted By: wardx28 Re: [6.0x] Gender Hack - 05/05/2001 2:45 PM
not working for me, Cp setting are not staying.
Posted By: wardx28 Re: [6.0x] Gender Hack - 05/05/2001 2:53 PM
found my error
Posted By: digitLkid Re: [6.0x] Gender Hack - 05/05/2001 10:57 PM
I can't imagine what I've done wrong, and I've gone over it 3 times (probably one of those right in front of me mistakes) But I can't seem to get the Control Panel part of it working (where I choose colors and images)

I used field #3 and people can choose male/female but I can't seem to do any configuring? (icon/color change)

does it have it's own menu under "primary settings" or is it a sub menu of "Registration Settings"

Please Help!!

I'm anxious to get this set up!

confused
Posted By: Compboy Re: [6.0x] Gender Hack - 05/06/2001 3:15 AM
look in the template folder smile

this way you can match the color better if you have diff. template for your forum's.
Posted By: XNet Re: [6.0x] Gender Hack - 05/06/2001 2:02 PM
@TOC: The icons I've used for the snapshot are here: male - female
But I don't like them much and look now for others

@Digital Kid: Like Compboy said, it's in the style settings.
Posted By: digitLkid Re: [6.0x] Gender Hack - 05/06/2001 4:22 PM
Thanks Alot XNet & Compboy I knew it was one of those "obvious" things that were right in front of me.

Thanks a ton! It looks great! Thanks for the icon's to!

smile
Posted By: Chaos Re: [6.0x] Gender Hack - 05/09/2001 7:54 AM
Code
code:

sorry.. i have figured it out.. you should really put something in there about putting in the field in the regristration settings...

[ May 09, 2001 01:03 AM: Message edited by: Chaos ]
Posted By: AnnaFan2000 Re: [6.0x] Gender Hack - 06/16/2001 12:35 PM
Hi,

I installed the Gender Hack correctly in UBB 6.04f and the new wordlet vars_wordlets_mods.cgi. But when I try to open cp.cgi I got the following error:

syntax error at c:/nusphere/apache/cgi-bin/ubb6/vars_wordlets_mods.cgi line 2, near "_" Compilation failed in require at c:nusphereapachecgi-binubb6cp.cgi line 91.

I currently run the board local. So don´t be irretated by the paths!!!
I think there is something wrong in vars_wordlets_mods.cgi
Where must I copy
gender_male => "Male", and
gender_female => "Female",
in this file? Thanx.
Posted By: LK Re: [6.0x] Gender Hack - 06/16/2001 12:39 PM
Anna, the whole file should be:
Code
code:
Posted By: AnnaFan2000 Re: [6.0x] Gender Hack - 06/16/2001 12:50 PM
Thanx LK,

it works now. Great job man!
Posted By: AnnaFan2000 Re: [6.0x] Gender Hack - 06/16/2001 1:06 PM
Another Question:

Where can I find the Gender Options in the Control Penal like above to activate the hack?
Posted By: AnnaFan2000 Re: [6.0x] Gender Hack - 06/16/2001 8:38 PM
I don´t have the Gender options in my CP confused What have I done wrong???
Posted By: Tech-Ni-Kal Re: [6.0x] Gender Hack - 06/16/2001 8:41 PM
did u make sure you hacked allthe template cp files?
Posted By: AnnaFan2000 Re: [6.0x] Gender Hack - 06/17/2001 12:09 PM
Hello,

yes I think so. I need also to pics for male and female. Where can I find this? Thanx.
Posted By: Lord Dexter Re: [6.0x] Gender Hack - 06/17/2001 12:24 PM
Cool Hack, Worked I'll try find some good icons now. smile
Posted By: polestar Re: [6.0x] Gender Hack - 06/17/2001 12:29 PM
Quote
quote:
I had to add the word "Gender" to the Custom Registration Field # 3 in the Registration CP. This is not mentioned in the install doc.
Posted By: polestar Re: [6.0x] Gender Hack - 06/17/2001 12:30 PM
Quote
quote:
If you look up this thread you will see a link.
Posted By: XNet Re: [6.0x] Gender Hack - 06/19/2001 4:05 PM
@AnnaFan2000: You'll find the options in your Style Template
© UBB.Developers