Previous Thread
Next Thread
Print Thread
Rate Thread
#138149 11/02/2001 10:09 PM
Joined: Dec 2000
Posts: 595
Member
Member
Offline
Joined: Dec 2000
Posts: 595
This will add a field "Gender:" under the author name on the post.

demo: http://banco.jogosonline.com.br/forum

instructions: http://banco.jogosonline.com.br/ubbmods/gender.txt

It uses the custom registration field 3. hope you like it.

Sponsored Links
Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
It's chomp not chop wink

Joined: Dec 2000
Posts: 595
Member
Member
Offline
Joined: Dec 2000
Posts: 595
chomp is for arrays, chop is for a variable.

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
The whole UBB uses CHOMP, even in the hashes.

Joined: Dec 2000
Posts: 595
Member
Member
Offline
Joined: Dec 2000
Posts: 595
chomping a variable has the same effect of chop then?

Sponsored Links
Joined: Apr 2001
Posts: 711
Spotlight Winner
Spotlight Winner
Offline
Joined: Apr 2001
Posts: 711
worked great, and is very useful. i was actually about to write my own mod for this, but you did it for me. smile thanks a bunch.

Joined: Dec 2000
Posts: 595
Member
Member
Offline
Joined: Dec 2000
Posts: 595
you are welcome smile im glad its useful for someone.

Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
I couldn't get it to work, unless i put chomp instead.

Joined: Dec 2000
Posts: 595
Member
Member
Offline
Joined: Dec 2000
Posts: 595
Quote
quote:
sorry, ill look into it.

Joined: Nov 2001
Posts: 11
Junior Member
Junior Member
Offline
Joined: Nov 2001
Posts: 11
works fine on my board...

here's a temp address to the board if anyone wants a direct link:

http://www.blindhope.com/cgi-bin/ultimatebb.cgi?ubb=get_topic&f=5&t=000003

awesome hack man. thanks smile

but how about making a zip archive with the male/female images in the zip?

Sponsored Links
Joined: Dec 2000
Posts: 595
Member
Member
Offline
Joined: Dec 2000
Posts: 595
Quote
quote:
im waiting for someone to fix the images, they dont fit well with all the backgrounds..

Joined: Dec 2000
Posts: 595
Member
Member
Offline
Joined: Dec 2000
Posts: 595
Quote
quote:
dende, your gender field is in an incorrect place, at least at registration. its only a matter of switching the custom names in the CP, i think. or you modified the wrong field in the public_register_page.pl template.

[ 11-04-2001: Message edited by: CopyCat ]

Joined: Jan 2002
Posts: 9
Junior Member
Junior Member
Offline
Joined: Jan 2002
Posts: 9
registration field three is allready take for my avatars hack. can you change it pleaseeee

Joined: Oct 2002
Posts: 394
Enthusiast
Enthusiast
Offline
Joined: Oct 2002
Posts: 394
Does anybody have a copy of that?

There is also another mod related to this by X-net (Member # 4170), does anybody have either of them?

Thank you

Felix

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
You can use one of your custom fields for this now smile


- Allen wavey
- What Drives You?
Joined: Sep 2001
Posts: 672
Member
Member
Offline
Joined: Sep 2001
Posts: 672
ya, i installed the gender hack on my forums too with the custom fields.

Joined: Oct 2002
Posts: 394
Enthusiast
Enthusiast
Offline
Joined: Oct 2002
Posts: 394
Quote
Originally posted by AllenAyres:

You can use one of your custom fields for this now smile
I guess I could. Brett found a copy of an old 6.0 he said he will send it to me, I am waiting, he never forgets smile

Thanks Alen.

Felix


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)