|
#51737
01/11/2002 8:46 PM
|
Joined: Jul 2001
Posts: 122
Member
|
Member
Joined: Jul 2001
Posts: 122 |
quote: Originally posted by Eris: I couldn't get it to work either. Would you mind posting your version? (I'm on v6.1.0.)
Sure, but it only been tested on v6.1.0.3. it should work for all 6.1x series.
Open public_topic_page.pl in your Templetes folder.
Find:
my $row = qq~
Add Above:
if ($user_profile[18] eq "male") { $genderhack = qq( ); } elsif ($user_profile[18] eq "female") { $genderhack = qq( ); } else { $genderhack = ""; }
NOTE: The $user_profile[18] is for the 3rd empty field. For the first field replace with $user_profile[16]. For 2nd use $user_profile[17]. 4th use $user_profile[19].
FIND: (if you want it on right side of username)
$show_public_name
ADD BELOW:
$genderhack
FIND: (if you want it in user panel)
$direct_reply
ADD BELOW:
$genderhack
Upload male.gif and female.gif to your non-cgi folder.
Go to your CP and in the Reg. options, add "Gender: If you want your gender displayed type male or female."
Clear cache.
Done.
[ 01-11-2002 07:56 PM: Message edited by: Terminator_X ]
|
|
|
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.
|
|
Posts: 69
Joined: January 2001
|
|
Forums63
Topics37,575
Posts293,932
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|