[6.0x] custom ranks - 03/05/2001 6:40 AM
I don't have the time to upload and since this is a simple hack i don't need to make a text file for it.
This is a veeeery simple Custom Ranks hack that'll allow people to make a cusotm rank for themselves, from their profile.
open public_topic_page.pl in the templates directory
- Find -
~;
return ($html_stuff);
} # end topic_top
sub topic_row {
- and right under it put -
my $rank = $user_profile[16];
chomp ($rank);
if ($rank ne "") {
$rank = $user_profile[16];
} else {
$rank = "$user_status";
}
- find -
$user_status
$member_number
$rating_line
- replace it with -
Rank:$rank
$member_number
$rating_line
- and then go into your control panel and make optional field 1 in registration settings Custom Rank and make it a optional field -
- and your done -
[ March 04, 2001: Message edited by: Ultra The Vampire ]
This is a veeeery simple Custom Ranks hack that'll allow people to make a cusotm rank for themselves, from their profile.
open public_topic_page.pl in the templates directory
- Find -
~;
return ($html_stuff);
} # end topic_top
sub topic_row {
- and right under it put -
my $rank = $user_profile[16];
chomp ($rank);
if ($rank ne "") {
$rank = $user_profile[16];
} else {
$rank = "$user_status";
}
- find -
$user_status
$member_number
$rating_line
- replace it with -
Rank:$rank
$member_number
$rating_line
- and then go into your control panel and make optional field 1 in registration settings Custom Rank and make it a optional field -
- and your done -
[ March 04, 2001: Message edited by: Ultra The Vampire ]