|
|
|
|
Joined: Dec 2001
Posts: 37
Member
|
|
Member
Joined: Dec 2001
Posts: 37 |
Hello all.
Ok i have installed the Custom Title/Rank hack to my forum and its working fine, but not for the mods.
When my mods post in a another forum what they do not mod it show's that there status is "Board Regular' instead of Mod
Here is the part i editing in the ubb.lib.posting.cgi
# get custom title if (!$user_profile[31]) { require "$vars_config{CGIPath}/ubb_custom_status.cgi"; $user_status = &GetCustomRank($user_profile[7]); $custom_status = &GetCustomTitle($this_user_number); # 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 = &FixMod; } else { $user_status = "$vars_misc{MemberTitle}"; } # end if } # end mod check # check to see if custom rank is overriden $user_status = &GetOverrideRank($user_status, $u, $user_profile[7]); } 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; }
Is this right or is there something missing what is making the mods not show up as mod in other forums?
|
|
|
|
|
Joined: Dec 2001
Posts: 37
Member
|
|
Member
Joined: Dec 2001
Posts: 37 |
.... 
|
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
|
Member
Joined: May 2001
Posts: 6,708 |
Delete this from ubb_lib_posting.cgi
# 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 = &FixMod; } else { $user_status = "$vars_misc{MemberTitle}"; } # end if } # end mod check
|
|
|
|
|
Joined: Dec 2001
Posts: 37
Member
|
|
Member
Joined: Dec 2001
Posts: 37 |
Thats dude, works like a charm now 
|
|
|
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: 449
Joined: February 2008
|
|
|
Forums63
Topics37,583
Posts293,955
Members13,824
| |
Most Online151,614 Nov 14th, 2025
|
|
Currently Online 2338
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 27
|
|
|
|
|
|