I figured it out.
FIND:
# get custom title
if (!$user_profile[31]) {
$user_status = &CustomTitle($user_profile[8]);
# if moderator- only list as mod if actually a mod in this forum
if ($user_profile[8] eq "Moderator") {
if ($Moderator && ($Moderator =~ /$this_user_number/)) {
$user_status = "$vars_misc{ModeratorTitle}";
} else {
$user_status = "$vars_misc{MemberTitle}";
} # end if
} # end mod check
} else {
$user_status = $user_profile[31];
} # end if
$u = $this_user_number + 0; # rid extra zeros from member no.
$member_number = "$vars_wordlets{user_number_abbrev} $u";
unless (exists($rate_list{$u})) {
($overall_rating, $total_votes) = &get_rating($u);
$rate_list{$u} = $overall_rating;
}
REPLACE:
# get custom title
&RequireCode("$vars_config{CGIPath}/ubb_custom_status.cgi");
$user_status = &GetCustomRank($user_profile[7], $user_profile[8]);
$custom_status = &GetCustomTitle($this_user_number);
THEN ADD BELOW:
# if moderator- only list as mod if actually a mod in this forum
if (($user_profile[8] eq "Moderator") && $Moderator) {
if ($Moderator =~ /$this_user_number/) {
#$user_status = "$vars_misc{ModeratorTitle}";
} else {
$user_status = &GetStandardRank($user_profile[7], $user_profile[8]);
}
} elsif(($user_profile[8] eq "Moderator") && !$Moderator) {
$user_status = &GetStandardRank($user_profile[7], $user_profile[8]);
} # end mod check
# check to see if custom rank is overriden
$user_status = &GetOverrideRank($user_status, $u, $user_profile[7]);
I tried it on v.6.1.0.3. It works fine with no problems.
