Description: Adds a bar on your main page which lists all the mods and Admins on your forum. It also adds a new page that lists them too as well as where the Mods Moderate.
Features: List of admins/mods List of where admins/mods moderate PNTF tracking Team Image Automatic Activation of MegaMod when it's installed. Team Image New way of opening file arrays and updating list. (More server friendly thanks to LK)
Registered: 01/23/03
Posts: 87
Loc: Philadelphia, PA
I ported the new Authority List into my UBB.Classic v6.4.0 & only have two minor problems.
1. It does not display the Moderators nor Administrators on the main page, in the panel. But! When I click the Authority List link, it displays the Moderators & Admins with no problem, including the forum(s) they moderate.
2. In the CP/Maintenance/Rebuild Staff Index link, I get the following error:
Quote:
quote: An error has occurred:
Reversed removed - have a Tracer instead. Backtrace: cp.cgi:934 -> sub main::build_staff
Backtrace: cp_index.cgi:71 -> sub main::GetMembersListAsHashReversed
Backtrace: ubb_lib_files.cgi:968 -> sub main::Tracer
Backtrace: cp.cgi:934 -> sub main::build_staff Backtrace: cp_index.cgi:71 -> sub main::GetMembersListAsHashReversed Backtrace: ubb_lib_files.cgi:968 -> sub UBBCGI::Carp::die Backtrace: Carp.pm:82 -> sub UBBCGI::Carp::fatalsToBrowser Backtrace: Carp.pm:146 -> sub main::StandardHTML2 Backtrace: cp_lib.cgi:130 -> sub main::Tracer
Any suggestions?
1 More Question: I spent almost a year begging someone to update the Authority List for UBB.Classic v6.4.0 to no avail. I log on your site today, and here's an Authority List upgrade for UBB.Classic v6.5. I'm looking at a working Authority List for v6.3 & v6.5, yet v6.4 was skipped. What's wrong with this picture!?
#199914 - 04/24/0308:38 PMRe: [6.5] Authority List
Gizmo
Wizard
Registered: 01/10/00
Posts: 5123
Loc: Portland, OR, USA
6.4 was so close to 6.5 in code that there wasn't much reason to make a special version. if you notice, a lot of the 6.4 boards running the auth list were of users who know perl heh...
#199916 - 04/25/0312:53 AMRe: [6.5] Authority List
AllenAyres
I type Like navaho
Registered: 03/10/00
Posts: 25434
Loc: Texas
Did you remember to set the permissions on your new files? Use the instructions from the 6.3 version for the cp area, that should be closer 6.5 had wordlets done to the cp, so these instructions won't match closely.
Registered: 01/23/03
Posts: 87
Loc: Philadelphia, PA
Hello Allen:
The CHMOD is correct on all files. The Vars_Wordlets_Mods appear to be correct. But when I click the Rebuild Staff Index from the CP/Maintenance, I continue to get the following error:
Quote:
quote: An error has occurred:
Reversed removed - have a Tracer instead. Backtrace: cp.cgi:934 -> sub main::build_staff
Backtrace: cp_index.cgi:71 -> sub main::GetMembersListAsHashReversed
Backtrace: ubb_lib_files.cgi:968 -> sub main::Tracer
Backtrace: cp.cgi:934 -> sub main::build_staff Backtrace: cp_index.cgi:71 -> sub main::GetMembersListAsHashReversed Backtrace: ubb_lib_files.cgi:968 -> sub UBBCGI::Carp::die Backtrace: Carp.pm:82 -> sub UBBCGI::Carp::fatalsToBrowser Backtrace: Carp.pm:146 -> sub main::StandardHTML2 Backtrace: cp_lib.cgi:130 -> sub main::Tracer
#199918 - 04/25/0311:15 AMRe: [6.5] Authority List
AllenAyres
I type Like navaho
Registered: 03/10/00
Posts: 25434
Loc: Texas
Quote:
quote: Originally posted by AllenAyres: Use the instructions from the 6.3 version for the cp area, that should be closer 6.5 had wordlets done to the cp, so these instructions won't match closely.
Registered: 01/23/03
Posts: 87
Loc: Philadelphia, PA
Quote:
quote:</font><hr />Originally posted by AllenAyres: <blockquote><font class="small">quote: [qb]Originally posted by AllenAyres: Use the instructions from the 6.3 version for the cp area, that should be closer 6.5 had wordlets done to the cp, so these instructions won't match closely.[/qb]
Reversed removed - have a Tracer instead. Backtrace: cp.cgi:934 -> sub main::build_staff
Backtrace: cp_index.cgi:70 -> sub main::GetMembersListAsHashReversed
Backtrace: ubb_lib_files.cgi:968 -> sub main::Tracer
Backtrace: cp.cgi:934 -> sub main::build_staff Backtrace: cp_index.cgi:70 -> sub main::GetMembersListAsHashReversed Backtrace: ubb_lib_files.cgi:968 -> sub UBBCGI::Carp::die Backtrace: Carp.pm:82 -> sub UBBCGI::Carp::fatalsToBrowser Backtrace: Carp.pm:146 -> sub main::StandardHTML2 Backtrace: cp_lib.cgi:130 -> sub main::Tracer
Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Quote:
quote:
Reversed removed - have a Tracer instead. Backtrace: cp.cgi:840 -> sub main::build_staff
Backtrace: cp_index.cgi:71 -> sub main::GetMembersListAsHashReversed
Backtrace: ubb_lib_files.cgi:1022 -> sub main::Tracer
Backtrace: cp.cgi:840 -> sub main::build_staff Backtrace: cp_index.cgi:71 -> sub main::GetMembersListAsHashReversed Backtrace: ubb_lib_files.cgi:1022 -> sub UBBCGI::Carp::die Backtrace: Carp.pm:82 -> sub UBBCGI::Carp::fatalsToBrowser Backtrace: Carp.pm:146 -> sub main::StandardHTML2 Backtrace: cp_lib.cgi:131 -> sub main::Tracer
Registered: 01/09/00
Posts: 5438
Loc: Lynnwood, WA
GetMembersListAsHashReversed was removed in 6.4, with the addition of the Directory. The hack needs to be ported to the directory metadata files, plain and simple... a straight conversion from 6.3 ain't gonna cut it.
_________________________
UBB.classic: Love it or hate it, it was mine.
Registered: 01/23/03
Posts: 87
Loc: Philadelphia, PA
Quote:
quote:</font><hr />Originally posted by LK: Untested in this case but tested in another hack: find:
Code:
[/code]replace with:[code]
<hr /></blockquote>LK:
Your above suggestion worked Now I'm having one new minor problem When I went to my forum, I get the following error prior to logging in: <blockquote><font class="small">quote: [qb]An error has occurred:
exists argument is not a HASH or ARRAY element at ubb_lib_pntf.cgi line 113.
Please inform the board administration of this error so that they may fix the problem. Thank you![/qb]
Here is what line 113 looks like in my ubb_lib_pntf.cgi file:
that's very weird... can you go back to your backup ubb_lib_pntf.cgi, test if it works, and if so rehack authority list (lib_pntf's stages)? also the ubb_lib_pntf.cgi stages are really not important, so if it works in the backup version you could just leave it that way.
_________________________ My Hacks Page (will be back with UBB 7!) UBBDev - We put the class into UBB.classic!
Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
hey Allen, there's one problem with the Multihack. It's something that can easily be seen by human hackers, but I'm not sure if Mulithack would fix it.
Code:
[/code]Wouldn't it be better to do...
[code]
I know you're the one who writes the hacks and that you know a lot more about Perl, but wouldn't that be more effective?
Registered: 01/23/03
Posts: 87
Loc: Philadelphia, PA
Quote:
quote: Originally posted by LK: that's very weird... can you go back to your backup ubb_lib_pntf.cgi, test if it works, and if so rehack authority list (lib_pntf's stages)? also the ubb_lib_pntf.cgi stages are really not important, so if it works in the backup version you could just leave it that way.
Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
go to public_forum_summary.pl and find where the Authority list is placed. There shoule be [code][/code]Messing around with that should fix it, I had the same problem and had to change the "x" to 7