UBB.Dev
Posted By: Lord Dexter [6.3.x] [beta] Authority List 3.0.3 - 06/10/2002 12:58 PM
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.

Authors: Lord Dexter & LK

Previous Authors: LK, Axeone, Tech-Ni-Kal

Requirements: UBB 6.3 and Mod Wordlets installed.

Features:
List of admins/mods
List of where admins/mods moderate
PNTF tracking
Team Image

New Features/Changes:
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)

Demo: Click Here

Download: Click Here

Update!
12th June 2002 1:20AM Board Time - If you have installed this hack before this date re-upload ubb_auth_list.cgi, public_auth_list.pl and re-hack public_forum_summary.pl. Fixes are the MegaMod activation and copyrights in public_auth_list.pl
13th June 2002 - If you have installed this hack before this date re-hack ubb_forum_summary.cgi and vars_wordlet_mods.cgi. MegaMod activation I hope is now fixed and : has been added to the MegaMod variable. (Thanks to Oblivion for that fix)
5th July 2002 - Fix in public_auth_list.pl. Pleae re-upload this to upgrade.
6th July 2002 - Fixed a bug in PNTF tracking. Now uses new PNTF code number. Re-hack ubb_lib_pntf.cgi, public_display_profile.pl and new step in public_pntf_admin.pl.

Please report ant bugs in code. Thank you. smile
Posted By: Zackary Re: [6.3.x] [beta] Authority List 3.0.3 - 06/10/2002 4:32 PM
LD,

I think your demo link is mistyped. It's .net right now and directs to a registrar site.

Just FYI. smile

I found the correct link using the one in your sig. (which is .com) Nice work! smile

~Z
Posted By: LK Re: [6.3.x] [beta] Authority List 3.0.3 - 06/10/2002 4:39 PM
I don't think you got it tipsy

public_forum_summary.pl instructions already have $megamod, but it's invisible unless there are some megamods. So MegaModAddon's public_forum_summary.pl modification isn't necessary anymore.
My other suggestion of ubb_auth_list.cgi:
Code
[/code]public_auth_list.pl:[code]
Then you don't need megamodaddon.txt at all, and it shows the megamod line only if there is atleast 1 MegaModerator.
Posted By: Lord Dexter Re: [6.3.x] [beta] Authority List 3.0.3 - 06/11/2002 8:17 AM
LK, the thing is it leaves a blank line if the hack ins't installed and it doesn't look too good so thats why I had to take it out. Sorry. Actually, a better idea is to add the
in the megamod variable code and then that line goes kapoof!

And I will make those changes soon.

Zackary - Thank you, fixed link.
Posted By: Oblivion Knight Re: [6.3.x] [beta] Authority List 3.0.3 - 06/11/2002 12:07 PM
Does the hack still use a lot of server resource or has that been fixed up now?

Thanks,
Oblivion Knight
Posted By: Lord Dexter Re: [6.3.x] [beta] Authority List 3.0.3 - 06/11/2002 1:34 PM
I mentioned in the first post it's fixed.
Posted By: LK Re: [6.3.x] [beta] Authority List 3.0.3 - 06/11/2002 7:51 PM
Ahem, where did I tell you TO ADD
TO PUBLIC_AUTH_LIST?!?!?!?!?!?!?! tipsy
Posted By: ADWOFF Re: [6.3.x] [beta] Authority List 3.0.3 - 06/12/2002 3:24 AM
quote:
Originally posted by Lord Dexter:
I mentioned in the first post it's fixed.

Very good news. After I work on debugging a couple things with my main/test board, I'll give this one a shot.
Posted By: RandyM Re: [6.3.x] [beta] Authority List 3.0.3 - 06/12/2002 4:25 AM
I installed it today, after modding it a little. It runs really well and I love the rebuild staff function. I think it's a great hack for people like me that don't always remember who all of the moderators are...hahaha, I know that sounds terrible but it gets busy there sometimes.
Posted By: Lord Dexter Re: [6.3.x] [beta] Authority List 3.0.3 - 06/12/2002 8:10 AM
quote:
Originally posted by LK:
Ahem, where did I tell you TO ADD
TO PUBLIC_AUTH_LIST?!?!?!?!?!?!?! tipsy

Gotcha now, fixing it up. wink
And thanks for installing XperT. LK did a good job with making it more server efficent (sp?). smile

EDIT - Zip has been updates. Instructions of how to upgrade are under the Download link in the post.
Posted By: Oblivion Knight Re: [6.3.x] [beta] Authority List 3.0.3 - 06/12/2002 12:11 PM
LD, my 6.3.0 was different to the instructions..

In ubb_lib_ptnf.cgi Find:

Code
[/code]My version was:

[code]
Posted By: Lord Dexter Re: [6.3.x] [beta] Authority List 3.0.3 - 06/12/2002 1:03 PM
Thanks Oblivion. Readme updated.
A couple of other things..
The code needs changing a little if using the MegaMods part of the hack.. wink

I understand that if you used this hack and not the MegaMods hack, that the 'Mega Moderators:' part of the hack at the bottom of the forum summary would still show, so I don't know how you'd want to go about this..

In public_forum_summary.pl:

Code
[/code]Change to:

Code
</pre></div></div>In <span style="font-weight: bold">ubb_forum_summary.cgi</span>:<br><br><div class="ubbcode-block"><div class="ubbcode-header">Code</div><div class="ubbcode-body ubbcode-pre" ><pre>
Change to:

Code
</pre></div></div>In <span style="font-weight: bold">vars_wordlets_mods.cgi</span>:<br><br><div class="ubbcode-block"><div class="ubbcode-header">Code</div><div class="ubbcode-body ubbcode-pre" ><pre>
Change to:

[code]
Also, how would I go about adding the team icon next to a MegaMods name in a topic? wink
Posted By: LK Re: [6.3.x] [beta] Authority List 3.0.3 - 06/12/2002 5:24 PM
Oh JEEZ, LD, if I give you good code, you have to break it?! tipsy
The code straight from my text file: [code][/code]Why did you remove the first part? :rolleyes:
But my way of doing it is still satisfactory i hope? wink
Posted By: LK Re: [6.3.x] [beta] Authority List 3.0.3 - 06/12/2002 5:51 PM
No, because yours says "Mega Moderators:" also if you haven't installed that hack... It's fine for YOUR board, but not for the instructions tipsy
Posted By: Lord Dexter Re: [6.3.x] [beta] Authority List 3.0.3 - 06/13/2002 9:08 AM
Sorry LK, I had changed it for my board but not the instructions and OK if you had looked at the $megamod variable code it already includes the wordlet info. Zip updated. Sorry for my forgetfulness. tipsy
Posted By: Dennis Jones Re: [6.3.x] [beta] Authority List 3.0.3 - 06/15/2002 1:34 AM
I downloaded this hack but.
when it says

[code][/code]Well I dont have this file I only have ubb_lib_pnft.cgi
Posted By: Lord Dexter Re: [6.3.x] [beta] Authority List 3.0.3 - 06/15/2002 1:36 AM
Thats the file (ubb_lib_pntf.cgi). Sorry it was a typo and it will be fixed soon. smile
Posted By: Dennis Jones Re: [6.3.x] [beta] Authority List 3.0.3 - 06/15/2002 1:44 AM
Well the code is actually wrong I dont have
this:
Code
[/code]The closest Ive got to that is this.
[code]
Posted By: Dennis Jones Re: [6.3.x] [beta] Authority List 3.0.3 - 06/15/2002 2:04 AM
i went ahead and changed it.
(Backed up though) wink

Well it worked in the control panel I could rebuild staff index but when I went o look at my boards it says:

quote:
An error has occured:

ubb_lib_pntf.cgi: syntax error at D:GearHostHostingAccountsdigitalfaultwwwforumscgi-bin/ubb_lib_pntf.cgi line 108, near "if"

Please inform the board administration of this error so that they may fix the problem. Thank you!

This also happens when I click on the Authority list at the top of the page.
Posted By: Lord Dexter Re: [6.3.x] [beta] Authority List 3.0.3 - 06/15/2002 2:48 AM
Make sure the code is like this inside that file (the part you added first)

if((exists $in->{ubb}) && ($in->{ubb} ne '')) { if($in->{ubb} !~ m/^(authority|forum|get_topic|pntf)$/) {

And not added after.
Posted By: Dennis Jones Re: [6.3.x] [beta] Authority List 3.0.3 - 06/15/2002 2:55 AM
yeah me and my friend just worked that out.
Thanx for your help LD
Posted By: Lord Dexter Re: [6.3.x] [beta] Authority List 3.0.3 - 06/15/2002 7:48 AM
I better make the instructions alot more clearer for the people who can't figure it out. Eep...
Posted By: CTM Re: [6.3.x] [beta] Authority List 3.0.3 - 06/16/2002 10:12 AM
I go to the "Rebuild Staff Index" page in the CP and I get:

quote:
Undefined subroutine &main::rebuild_staff called at cp.cgi line 851.
I've rehacked cp.cgi, but still no good.

Little help please? frown

[EDIT: Never mind, I forgot to save cp_index.cgi. -_-;; ]
Posted By: Oblivion Knight Re: [6.3.x] [beta] Authority List 3.0.3 - 06/16/2002 11:34 AM
How can I put the team icon next to a MegaMod's name..?
Currently this hack isn't doing this for me.. frown
Posted By: Lord Dexter Re: [6.3.x] [beta] Authority List 3.0.3 - 06/16/2002 12:53 PM
Oblivion use this in public_topic_page.pl instead of what you have now.

[code][/code]
I think you mean

[code][/code]But anyway, thanks LD smile
Posted By: Lord Dexter Re: [6.3.x] [beta] Authority List 3.0.3 - 06/17/2002 11:09 AM
I don't see the difference. o_O
You added an extra 'if' in front of '($user_profile[8] eq "MegaModerator")){'

Which isn't needed and causes errors.. wink
Posted By: Lord Dexter Re: [6.3.x] [beta] Authority List 3.0.3 - 06/17/2002 2:01 PM
Ahh. What an idiotic mistake.

*Calls LK for an auto activation for the MegaMod team icon* tipsy
Posted By: LK Re: [6.3.x] [beta] Authority List 3.0.3 - 06/17/2002 4:07 PM
Actually, it doe it automatically if you use Oblivion Knight's code, because if you haven't installed megamod, the user_profile[8] will never be 'MegaModerator'.

laugh
Wahey..!
I've done something right for a change.. tipsy
Posted By: Lord Dexter Re: [6.3.x] [beta] Authority List 3.0.3 - 06/18/2002 9:13 AM
Will update the link with new code once my server gets back up.
Just out of interest..

Shouldn't this:

Code
[/code]Be this?

[code]
Posted By: LK Re: [6.3.x] [beta] Authority List 3.0.3 - 07/04/2002 6:09 PM
No, because "Moderator" is included in "MegaModerator". (/Moderator/, not /^Moderator$/)
Posted By: Lord Dexter Re: [6.3.x] [beta] Authority List 3.0.3 - 07/05/2002 2:55 PM
Zip Updated. Auth list template now uses $standard_title_table variable. Re-upload public_auth_list.pl.

Also, coming soon. An useless Auth List feature!
Posted By: Lord Dexter Re: [6.3.x] [beta] Authority List 3.0.3 - 07/06/2002 1:41 PM
Zip Updated again. Fixed a bug in PNTF tracking. Now uses new PNTF code number. Re-hack ubb_lib_pntf.cgi, public_display_profile.pl and new step in public_pntf_admin.pl.
Either me or you missed a square bracket from this blob of code in public_topic_page.pl..

Code
[/code]It should be..

[code]
Posted By: Lord Dexter Re: [6.3.x] [beta] Authority List 3.0.3 - 07/07/2002 3:37 AM
Thanks Oblivion, must have deleted it. Zip Updated with that little fix.
Posted By: Demolition Re: [6.3.x] [beta] Authority List 3.0.3 - 07/24/2002 11:19 AM
The link seems to be down, does anyone have a working link to this ?
Posted By: Lord Dexter Re: [6.3.x] [beta] Authority List 3.0.3 - 07/24/2002 1:52 PM
My server is going to be up tomorrow night (My server guy told me) so links will be up then. Sorry for the inconvienience.
Posted By: Demolition Re: [6.3.x] [beta] Authority List 3.0.3 - 07/24/2002 3:02 PM
OK thanks, if anyone needs any mirror sites for their hacks let me know.
Posted By: mark99 Re: [6.3.x] [beta] Authority List 3.0.3 - 08/09/2002 8:19 PM
Does this work with v6.3.1?

Also the link still doesn't work, can't download =(.
Posted By: Lord Dexter Re: [6.3.x] [beta] Authority List 3.0.3 - 08/10/2002 3:11 AM
It should work on 6.3.1 but since my board has been down for a while I will find a temp server for my hacks. Sorry for the inconvience.
Posted By: Da Wacko Re: [6.3.x] [beta] Authority List 3.0.3 - 08/16/2002 4:57 PM
please, upload soon smile

i really want this hack
Temp link for you:
http://www.darkoriface.com/ob/auth_list63.zip

- Oblivion.
Posted By: Da Wacko Re: [6.3.x] [beta] Authority List 3.0.3 - 08/17/2002 1:01 PM
Thanks a lot oblivion Knight!
Posted By: Lord Dexter Re: [6.3.x] [beta] Authority List 3.0.3 - 08/21/2002 9:53 AM
I updated the first post with a new link that works. Sorry for any incovience the server people have been bad..
Posted By: redhotkitchen Re: [6.3.x] [beta] Authority List 3.0.3 - 10/23/2002 10:40 PM
We're running 6.3.1, and I'm having one problem.

This does not appear anywhere in public_topic_page.pl:

Quote
code:
Code
$show_public_name

(which you're then supposed to replace with $show_public_name $team_tag)

This comes right after:

code:
[qb]
Code
===========================================
Open public_topic_page.pl and Find:
===========================================

sub topic_row {

==================
ADD BELOW: (Megamod code for this block thanks to Oblivion Knight)
==================

if (($user_profile[8] eq "Moderator") &#0124;&#0124; ($user_profile[8] eq "Administrator") &#0124;&#0124; ($user_profile[8] eq 'MegaModerator')){
$team_tag ="<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=authority"><img src="$vars_config{NonCGIURL}/team.gif" alt="$user_profile[8]" border="0"></a>";
} else {
$team_tag ="";
}
[/qb]
Since I don't have MegaModerator installed, should I assume that $show_public_name is also only if you have it installed, and thus I can ignore it....?
Posted By: LK Re: [6.3.x] [beta] Authority List 3.0.3 - 10/23/2002 10:42 PM
$show_public_name in 6.3.1 is $linkname smile
Posted By: redhotkitchen Re: [6.3.x] [beta] Authority List 3.0.3 - 10/29/2002 6:55 PM
Thanks LK! Worked like a charm. smile
Posted By: d-talk Re: [6.3.x] [beta] Authority List 3.0.3 - 11/20/2002 6:13 AM
Hi,

a very nice hack, but all seems to work but on my forums homepage there are no moderatores or administrators listet!

I have rebuild the staff index and cleared the cache! What can I do?

http://www.giga-board.com/cgi-bin/ultimatebb.cgi

Thanks
d-talk
Hmmmm.. Just thought of something.
When a MegaMod still has a Mod position, on the Authority List he/she is shown as a Mod and not a MegaMod.

What additions to the code would have to be made to make it possible to allow a MegaMod show as a MegaMod even if they still have a Mod position?
Posted By: eXtremeTim Re: [6.3.x] [beta] Authority List 3.0.3 - 10/18/2004 6:53 PM
Dont have a mega mod as a mod on a forum?
Posted By: Ian Spence Re: [6.3.x] [beta] Authority List 3.0.3 - 10/18/2004 11:11 PM
Allen, I think Tim just beat your record for late responses. almost 2 years
Posted By: eXtremeTim Re: [6.3.x] [beta] Authority List 3.0.3 - 10/19/2004 6:55 AM
A late response is better then no response.
© UBB.Developers