|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
Modification Name: [6.5] Authority List Author(s): Allen Ayres 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. Demo: none Requirements: UBB 6.5 and Mod Wordlets Download Link: https://www.ubbdev.com/ubb/upload/00000494/auth_list65.mhp Credits: LK, Axeone, Tech-Ni-Kal, Lord Dexter 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) 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
lol, I thought you said it would be a while cause you had 3 others to do.
You don't have a txt version do you?
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
I finished one project and started this one after You can export a text file from multihack, give it a shot 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
Thanks for the hack. And thanks for the help, I got it 
|
|
|
|
Joined: Mar 2002
Posts: 5
Junior Member
|
Junior Member
Joined: Mar 2002
Posts: 5 |
I don't know how to use MultiHack would someone mind exporting a text file for me?
|
|
|
|
Joined: Jan 2003
Posts: 87
Member
|
Member
Joined: Jan 2003
Posts: 87 |
Can I port this into v6.4?
|
|
|
|
Joined: Jan 2003
Posts: 87
Member
|
Member
Joined: Jan 2003
Posts: 87 |
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: 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!? 
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
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...
|
|
|
|
Joined: Jan 2003
Posts: 87
Member
|
Member
Joined: Jan 2003
Posts: 87 |
Ok, then maybe one of these perl guru's can assist me in my original post (see above). 
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
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.
|
|
|
|
Joined: Jan 2003
Posts: 87
Member
|
Member
Joined: Jan 2003
Posts: 87 |
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: 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 
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
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.
|
|
|
|
Joined: Jan 2003
Posts: 87
Member
|
Member
Joined: Jan 2003
Posts: 87 |
Ok! I think I get it. You want me to re-hack cp.cgi, cp_index.cgi & cp_common.pl using the instructions from 6.3. Correct? 
|
|
|
|
Joined: Mar 2002
Posts: 5
Junior Member
|
Junior Member
Joined: Mar 2002
Posts: 5 |
Nobody has a text file exported for this one?
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
I would upload a zip version but I don't have a place to upload to EDIT: Testing upload form https://www.ubbdev.com/ubb/upload/00020028/auth_list65.zip That has the pics, txt, and all files needed
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
For the time being click here if you want the "Authority List 6.3". Click Here For Text Install Text version for 6.4/6.5 someone else has to provide. 
|
|
|
|
Joined: Jan 2003
Posts: 87
Member
|
Member
Joined: Jan 2003
Posts: 87 |
quote:
Originally posted by AllenAyres: 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] Been there. Done that. Got this: quote: An error has occurred:
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 Now what? 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
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 I'm having the same problem he is.
|
|
|
|
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
|
Admin Emeritus
Joined: Jan 2000
Posts: 5,073 |
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.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Untested in this case but tested in another hack: find: [/code]replace with:[code]
|
|
|
|
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
|
Admin Emeritus
Joined: Jan 2000
Posts: 5,073 |
... or it can just use values %{&GetMemversListAsHash}; 
UBB.classic: Love it or hate it, it was mine.
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
LK's worked, and I had no clue where to go with what Charles posted. a code box would have helped so I knew if I needed to start at "use" or "%"
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
Does anyone know know who to make the Authority list appear as a separate "table" ![[Linked Image]](http://alsboard.rebel-nation.com/_personal/boards_for_ubbdev.gif) See how it is separated between categories? How would I do that between the final category (Private)?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
before the code you're adding to public_forum_summary.pl, try to add: $TBB $TBT
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
Those are cool News Post icons. I like the color combination too. Great job Weird Al. ... Err...I just noticed something. On your "UnModerated Forums" you have Forum Admins listed. 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
quote: Originally posted by PrimeTime: Those are cool News Post icons. I like the color combination too. Great job Weird Al.
...
Err...I just noticed something. On your "UnModerated Forums" you have Forum Admins listed. Thanks for the compliments. and for the Forum Admins thing, I don't know how to remove the $Moderated tag from only certain forums I'm gonna have the entire forum summary page with those gradient bars once I figure out how to edit the Recent Visitors table
|
|
|
|
Joined: Jan 2003
Posts: 87
Member
|
Member
Joined: Jan 2003
Posts: 87 |
quote:
Originally posted by LK: Untested in this case but tested in another hack: find:[/code]replace with:[code]
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: 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: quote: if((exists $in->{ubb}) && ($in->{ubb} ne '')) { if($in->{ubb} !~ m/^(authority|statistics|forum|get_topic|pntf|edit_post|reply|newtopic|poll|search|get_daily)$/) { Can you find anything wrong in it? 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
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.
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
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]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?
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
If the "Old Data" matches then it should work. 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
[code][/code]I guess that would be better in case someone moved the forum home just one spot over, it wouldn't work
|
|
|
|
Joined: Jan 2003
Posts: 87
Member
|
Member
Joined: Jan 2003
Posts: 87 |
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. LK: IT WORKED!!! You Da Man!!!!!!
|
|
|
|
Joined: Sep 2001
Posts: 93
Member
|
Member
Joined: Sep 2001
Posts: 93 |
i hacked my 6.4x and it worked fine with LKs extra addons  thx. guys. but one little thing, after making it a sepperate cat i have a black small thing on the edge: how come ? 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
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
|
|
|
|
Joined: Sep 2001
Posts: 93
Member
|
Member
Joined: Sep 2001
Posts: 93 |
yeah, 7 was a good hint, it worked thx. !
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
hey Allen, I saw a mod of this hack where it could add other titles, ie Donators, if you gave them a custom title that was Donator.
Is there anyway you know to do this?
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
Hello,
there are no files at the cgi-bin and non-cgi folder of the downloadable zip-file...
Can someone help me please..
Thanks d-talk
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
friendly bump for the missing files in the zip.
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
well I have a fixed zip, but flareupload isn't here 
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
quote: Originally posted by Weird Al: well I have a fixed zip, but flareupload isn't here You can e-mail it to me at [email protected] if you like and I'll upload it to one of my servers.
|
|
|
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: 417
Joined: November 2001
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|