|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
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. 
|
|
|
|
Joined: Mar 2001
Posts: 644
Member
|
Member
Joined: Mar 2001
Posts: 644 |
LD, I think your demo link is mistyped. It's .net right now and directs to a registrar site. Just FYI. I found the correct link using the one in your sig. (which is .com) Nice work! ~Z
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
I don't think you got it 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]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.
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
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.
|
|
|
|
Joined: Mar 2002
Posts: 451
Spotlight Runner-Up
|
Spotlight Runner-Up
Joined: Mar 2002
Posts: 451 |
Does the hack still use a lot of server resource or has that been fixed up now?
Thanks, Oblivion Knight
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
I mentioned in the first post it's fixed.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Ahem, where did I tell you TO ADD TO PUBLIC_AUTH_LIST?!?!?!?!?!?!?! 
|
|
|
|
Joined: May 2001
Posts: 794
Content Queen
|
Content Queen
Joined: May 2001
Posts: 794 |
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.
Sue adwoff.com
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
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.
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
quote: Originally posted by LK: Ahem, where did I tell you TO ADD TO PUBLIC_AUTH_LIST?!?!?!?!?!?!?!
Gotcha now, fixing it up. And thanks for installing XperT. LK did a good job with making it more server efficent (sp?).
EDIT - Zip has been updates. Instructions of how to upgrade are under the Download link in the post.
|
|
|
|
Joined: Mar 2002
Posts: 451
Spotlight Runner-Up
|
Spotlight Runner-Up
Joined: Mar 2002
Posts: 451 |
LD, my 6.3.0 was different to the instructions.. In ubb_lib_ptnf.cgi Find: [/code]My version was:
[code]
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Thanks Oblivion. Readme updated.
|
|
|
|
Joined: Mar 2002
Posts: 451
Spotlight Runner-Up
|
Spotlight Runner-Up
Joined: Mar 2002
Posts: 451 |
A couple of other things.. The code needs changing a little if using the MegaMods part of the hack.. 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]Change to:
</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:
</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? 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Oh JEEZ, LD, if I give you good code, you have to break it?! The code straight from my text file: [code][/code]Why did you remove the first part? :rolleyes:
|
|
|
|
Joined: Mar 2002
Posts: 451
Spotlight Runner-Up
|
Spotlight Runner-Up
Joined: Mar 2002
Posts: 451 |
But my way of doing it is still satisfactory i hope? 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
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 
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
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. 
|
|
|
|
Joined: Jun 2002
Posts: 121
Member
|
Member
Joined: Jun 2002
Posts: 121 |
I downloaded this hack but. when it says
[code][/code]Well I dont have this file I only have ubb_lib_pnft.cgi
I Cannot Support Ubb Via ICQ or MSN. Not because I dont want to its just I cant.
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Thats the file (ubb_lib_pntf.cgi). Sorry it was a typo and it will be fixed soon. 
|
|
|
|
Joined: Jun 2002
Posts: 121
Member
|
Member
Joined: Jun 2002
Posts: 121 |
Well the code is actually wrong I dont have this: [/code]The closest Ive got to that is this. [code]
I Cannot Support Ubb Via ICQ or MSN. Not because I dont want to its just I cant.
|
|
|
|
Joined: Jun 2002
Posts: 121
Member
|
Member
Joined: Jun 2002
Posts: 121 |
i went ahead and changed it. (Backed up though) 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.
I Cannot Support Ubb Via ICQ or MSN. Not because I dont want to its just I cant.
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
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.
|
|
|
|
Joined: Jun 2002
Posts: 121
Member
|
Member
Joined: Jun 2002
Posts: 121 |
yeah me and my friend just worked that out. Thanx for your help LD
I Cannot Support Ubb Via ICQ or MSN. Not because I dont want to its just I cant.
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
I better make the instructions alot more clearer for the people who can't figure it out. Eep...
|
|
|
|
Joined: Nov 2001
Posts: 1,704
Moderator / Da Masta
|
Moderator / Da Masta
Joined: Nov 2001
Posts: 1,704 |
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?
[EDIT: Never mind, I forgot to save cp_index.cgi. -_-;; ]
|
|
|
|
Joined: Mar 2002
Posts: 451
Spotlight Runner-Up
|
Spotlight Runner-Up
Joined: Mar 2002
Posts: 451 |
How can I put the team icon next to a MegaMod's name..? Currently this hack isn't doing this for me.. 
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Oblivion use this in public_topic_page.pl instead of what you have now.
[code][/code]
|
|
|
|
Joined: Mar 2002
Posts: 451
Spotlight Runner-Up
|
Spotlight Runner-Up
Joined: Mar 2002
Posts: 451 |
I think you mean [code][/code]But anyway, thanks LD 
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
I don't see the difference. o_O
|
|
|
|
Joined: Mar 2002
Posts: 451
Spotlight Runner-Up
|
Spotlight Runner-Up
Joined: Mar 2002
Posts: 451 |
You added an extra ' if' in front of ' ($user_profile[8] eq "MegaModerator")){' Which isn't needed and causes errors.. 
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Ahh. What an idiotic mistake. *Calls LK for an auto activation for the MegaMod team icon* 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
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'. 
|
|
|
|
Joined: Mar 2002
Posts: 451
Spotlight Runner-Up
|
Spotlight Runner-Up
Joined: Mar 2002
Posts: 451 |
Wahey..! I've done something right for a change.. 
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Will update the link with new code once my server gets back up.
|
|
|
|
Joined: Mar 2002
Posts: 451
Spotlight Runner-Up
|
Spotlight Runner-Up
Joined: Mar 2002
Posts: 451 |
Just out of interest.. Shouldn't this:
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
No, because "Moderator" is included in "MegaModerator". (/Moderator/, not /^Moderator$/)
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
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!
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
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.
|
|
|
|
Joined: Mar 2002
Posts: 451
Spotlight Runner-Up
|
Spotlight Runner-Up
Joined: Mar 2002
Posts: 451 |
Either me or you missed a square bracket from this blob of code in public_topic_page.pl.. [/code]It should be..
[code]
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Thanks Oblivion, must have deleted it. Zip Updated with that little fix.
|
|
|
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
|
|
|
|