UBB.Dev
Posted By: L-T-T hack Gender - 06/22/2002 4:50 PM
yeah
i think this hack is not difficult to make

but i can't

can anybody help me?
i use both ubb 6.2x and 6.3x

thanks
Posted By: Idle Re: hack Gender - 06/22/2002 10:39 PM
Why not use one of the "Custom fields"?

Then you could for example, change the to a with Male/Female options or something. wink
Posted By: L-T-T Re: hack Gender - 06/23/2002 7:13 AM
yeah
great

and I also want it(gender)display in each post
(for ex:under the line member...)

can u show me how?
thanks
Posted By: Idle Re: hack Gender - 06/23/2002 8:10 AM
Sure, let the show begin! laugh

Start by setting the first Custom Field to "Gender" (Control Panel, Registration Settings) and make it an Optional/Required field.

Now, let's open up public_edit_profile and find:
Code
[/code]Replace with:
Code
</pre></div></div>Next, open public_topic_page.pl and find:<br><div class="ubbcode-block"><div class="ubbcode-header">Code</div><div class="ubbcode-body ubbcode-pre" ><pre>
Replace with:
[code]
You're done!
Note this is for the regular templates, not JCTemplates.
Posted By: L-T-T Re: hack Gender - 06/24/2002 4:27 AM
thanks so much

i'll add male.gif,female.gif & unspecifed.gif
Posted By: Idle Re: hack Gender - 06/24/2002 5:21 AM
No problem.
© UBB.Developers