UBB.Dev
Posted By: Brett [6.6 - 6.7] [beta] Authority List - 11/10/2003 12:31 PM
Modification Name: Authority List

Author(s): Brett

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.6.x, UBB 6.7 Beta 1

Download Links:
For UBB 6.x ONLY: https://www.ubbdev.com/ubb/upload/00006378/AuthorityList6.6.zip
For UBB 6.7 Beta ONLY: https://www.ubbdev.com/ubb/upload/00006378/auth_list_6.7b.zip

Credits: LK, Axeone, Tech-Ni-Kal, Lord Dexter, AllenAyres

Instructions / Other Info: 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 Features:
No CP update needed smile
Only need to upload 2 gifs and the .pl template
Posted By: Ian Spence Re: [6.6 - 6.7] [beta] Authority List - 11/10/2003 3:34 PM
laugh No more Rebuild Staff Index! *happy dance* My only problem is the use of the actual Admin title for the authority list and not a wordlet like before. The admin at GR likes to add stars and the such and those would mess up the beautful lines tipsy
Posted By: Digital Boy Re: [6.6 - 6.7] [beta] Authority List - 12/12/2003 11:09 PM
Nice hack.... is there a way to break this table away from the main one? I've been playing with it, but I haven't found a fix yet.


- MT
Posted By: Ian Spence Re: [6.6 - 6.7] [beta] Authority List - 12/12/2003 11:11 PM
find:
Code
	my $Bottom = qq~
<tr bgcolor="$vars_style{CategoryStripColor}">
<td colspan="$ColSpan">
<font size="$vars_style{TextSize}" color="$vars_style{CategoryStripTextColor}" face="$vars_style{FontFace}"><b>
<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=authority">$vars_wordlets{auth_list}</a></b></font>
REPLACE WITH:

Code
	my $Bottom = qq~$TBB


$TBT
<tr bgcolor="$vars_style{CategoryStripColor}">
<td colspan="$ColSpan">
<font size="$vars_style{TextSize}" color="$vars_style{CategoryStripTextColor}" face="$vars_style{FontFace}"><b>
<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=authority">$vars_wordlets{auth_list}</a></b></font>
that that code in public_forum_summary.pl
Posted By: Digital Boy Re: [6.6 - 6.7] [beta] Authority List - 12/12/2003 11:31 PM
Thanks for the help... it's been AGES since I worked on UBB code.


- MT
Posted By: Brett Re: [6.6 - 6.7] [beta] Authority List - 01/09/2004 6:08 AM
Added new download link for 6.7 Version.

The only new thing is that it's spider friendly.
Posted By: AllenAyres Re: [6.6 - 6.7] [beta] Authority List - 01/09/2004 6:12 AM
great work brett thumbsup
Posted By: d-talk Re: [6.6 - 6.7] [beta] Authority List - 02/05/2004 5:37 PM
grrr, no good day to build in hacks it seems...

Now I get an error by building in this hack into 6.7:

syntax error at CGIPath/ubb_lib_posting.cgi line 1304, near "$user_profile[8]<"
Global symbol "$page_number" requires explicit package name at CGIPath/ubb_lib_posting.cgi line 1560.
Global symbol "$page_name" requires explicit package name at CGIPath/ubb_lib_posting.cgi line 1561.
Global symbol "$topic_number" requires explicit package name at CGIPath/ubb_lib_posting.cgi line 1561.
Global symbol "$page_name" requires explicit package name at CGIPath/ubb_lib_posting.cgi line 1563.
Global symbol "$topic_number" requires explicit package name at CGIPath/ubb_lib_posting.cgi line 1563.
Global symbol "$page_number" requires explicit package name at CGIPath/ubb_lib_posting.cgi line 1563.
Global symbol "$page_name" requires explicit package name at CGIPath/ubb_lib_posting.cgi line 1581.
Global symbol "$page_name" requires explicit package name at CGIPath/ubb_lib_posting.cgi line 1582.
Global symbol "$page_name" requires explicit package name at CGIPath/ubb_lib_posting.cgi line 1585.
syntax error at CGIPath/ubb_lib_posting.cgi line 1587, near "}"
CGIPath/ubb_lib_posting.cgi has too many errors.
Posted By: Ian Spence Re: [6.6 - 6.7] [beta] Authority List - 02/05/2004 5:40 PM
rehack ubb_lib_posting.cgi
Posted By: d-talk Re: [6.6 - 6.7] [beta] Authority List - 02/05/2004 6:28 PM
I have rehacked it, but I get the same error!

In ubb_lib_posting.cgi Find:
========================================

unless (exists($rate_list{$u})) {


========================================
ABOVE that paste:
========================================

$linkname .= ($user_profile[8] =~ m/^(Administrator|(Mega)?Moderator)$/) ?
qq~$user_profile[8]~
: "";


But this don't work :-(
Posted By: Ian Spence Re: [6.6 - 6.7] [beta] Authority List - 02/05/2004 7:13 PM
I can confirm that this step doesn't work. I didn't notice it because I don't use the icon next to the name
Posted By: d-talk Re: [6.6 - 6.7] [beta] Authority List - 02/05/2004 7:22 PM
And now, what can I do...? eek
Posted By: Ian Spence Re: [6.6 - 6.7] [beta] Authority List - 02/05/2004 7:25 PM
smile wait about 12 hours for me to get back from school, or hope that Brett can help you
Posted By: d-talk Re: [6.6 - 6.7] [beta] Authority List - 02/05/2004 7:44 PM
Ok,

at 6.7.0 Betarelease1 it worked, but not at 6.7.0
Posted By: d-talk Re: [6.6 - 6.7] [beta] Authority List - 02/06/2004 4:25 PM
Hi,

have nobody an idea?
Posted By: Brett Re: [6.6 - 6.7] [beta] Authority List - 02/06/2004 10:21 PM
Sorry about that. I have been busy with school/work, but i will be able to get this back going tonight. smile
Posted By: Brett Re: [6.6 - 6.7] [beta] Authority List - 02/08/2004 1:46 PM
I apologize about the wait there. Turns out the update i did contained a typo.

6.7 zip file updated, only changes include ubb_lib_posting.cgi. smile
Posted By: d-talk Re: [6.6 - 6.7] [beta] Authority List - 02/08/2004 2:35 PM
Thank you very much Brett!!! thumbsup
Posted By: d-talk Re: [6.6 - 6.7] [beta] Authority List - 04/10/2004 5:09 PM
Hi Brett can you upload this hack again? The downloadlink is brocken...

Thanks
d-talk
Posted By: Ian Spence Re: [6.6 - 6.7] [beta] Authority List - 04/10/2004 5:13 PM
http://www.pavioni.com/scripts/dl.php/auth_list_6.7b.zip
Posted By: d-talk Re: [6.6 - 6.7] [beta] Authority List - 04/10/2004 5:30 PM
Great! Thanks Ian!!!
Posted By: eXtremeTim Re: [6.6 - 6.7] [beta] Authority List - 05/04/2004 10:19 PM
Can somebody post the 6.6 version for me?
Posted By: Ian Spence Re: [6.6 - 6.7] [beta] Authority List - 05/04/2004 10:46 PM
It works the same in both versions.
Posted By: Brett Re: [6.6 - 6.7] [beta] Authority List - 05/05/2004 3:37 AM
http://pavioni.com/scripts/dl.php/AuthorityList6.6.zip

In the 6.7 version, i checked for spider links which wasn't available in 6.6. wink
Posted By: eXtremeTim Re: [6.6 - 6.7] [beta] Authority List - 05/05/2004 5:30 AM
Thanks brett. smile
© UBB.Developers