Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
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

Sponsored Links
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
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

Joined: May 2000
Posts: 1,168
Member
Member
Offline
Joined: May 2000
Posts: 1,168
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

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
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

Joined: May 2000
Posts: 1,168
Member
Member
Offline
Joined: May 2000
Posts: 1,168
Thanks for the help... it's been AGES since I worked on UBB code.


- MT

Sponsored Links
Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
Added new download link for 6.7 Version.

The only new thing is that it's spider friendly.

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
great work brett thumbsup


- Allen wavey
- What Drives You?
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
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.


Webmaster of d-talk & Kabel-Forum.com
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
rehack ubb_lib_posting.cgi

Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
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 :-(


Webmaster of d-talk & Kabel-Forum.com
Sponsored Links
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
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

Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
And now, what can I do...? eek


Webmaster of d-talk & Kabel-Forum.com
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
smile wait about 12 hours for me to get back from school, or hope that Brett can help you

Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Ok,

at 6.7.0 Betarelease1 it worked, but not at 6.7.0


Webmaster of d-talk & Kabel-Forum.com
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Hi,

have nobody an idea?


Webmaster of d-talk & Kabel-Forum.com
Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
Sorry about that. I have been busy with school/work, but i will be able to get this back going tonight. smile

Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
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

Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Thank you very much Brett!!! thumbsup


Webmaster of d-talk & Kabel-Forum.com
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Hi Brett can you upload this hack again? The downloadlink is brocken...

Thanks
d-talk


Webmaster of d-talk & Kabel-Forum.com
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2

Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Great! Thanks Ian!!!


Webmaster of d-talk & Kabel-Forum.com
Joined: Oct 2001
Posts: 572
Member
Member
Offline
Joined: Oct 2001
Posts: 572
Can somebody post the 6.6 version for me?

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
It works the same in both versions.

Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
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

Joined: Oct 2001
Posts: 572
Member
Member
Offline
Joined: Oct 2001
Posts: 572
Thanks brett. smile


Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)