php forum
php mysql forum
php mysql smarty
 
Page 1 of 7 1 2 3 4 5 6 7 >
Topic Options
#153545 - 06/05/02 01:32 PM [6.3.x] [beta] MegaMod
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
Name: MegaMod

Description: Creates new status of moderator on every board without being displayed, like an admin but without cp access or limited (if not disired)

Download: http://www.ubbdev.com/ubb/upload/00006378/megamod6.3.zip

Top
#153546 - 06/05/02 05:12 PM Re: [6.3.x] [beta] MegaMod
Oblivion Knight Offline
Spotlight Runner-Up

Registered: 03/27/02
Posts: 422
Loc: England, UK
Is there a chunk of code missing with cp_lib.cgi..?
I ask because your instructions tell me to open cp_forums.cgi, replace 2 codes and then close cp_lib.cgi and not cp_forums.cgi. Is there code missing or is it a basic typo? smile

Thanks,
Oblivion Knight
_________________________
- OBK
- Gaming Update
- <img src="http://www.ubbdev.com/ud/?s=2&u=Oblivion Knight" alt=" - " /> Results Returned, <img src="http://www.ubbdev.com/ud/?u=Oblivion Knight&s=1" alt=" - " /> Points Collected & Counting!

Top
#153547 - 06/05/02 06:22 PM Re: [6.3.x] [beta] MegaMod
Oblivion Knight Offline
Spotlight Runner-Up

Registered: 03/27/02
Posts: 422
Loc: England, UK
I also recieved this error when I'd finished hacking the files and tried accessing cp.cgi frown

There was a compilation error while loading the UBB.classic libraries and data files:

syntax error at ubb_lib.cgi line 1409, near ") &#0124;&#0124;"
syntax error at ubb_lib.cgi line 1425, near "} else"
Compilation failed in require at /home/liberifa/public_html/umbrella/cgi-bin2/cp.cgi line 113.

Please make sure that you uploaded the CGI and Variables files to the proper directory, permissions are set properly on the files, and that paths in the control panel are set correctly.
_________________________
- OBK
- Gaming Update
- <img src="http://www.ubbdev.com/ud/?s=2&u=Oblivion Knight" alt=" - " /> Results Returned, <img src="http://www.ubbdev.com/ud/?u=Oblivion Knight&s=1" alt=" - " /> Points Collected & Counting!

Top
#153548 - 06/05/02 10:09 PM Re: [6.3.x] [beta] MegaMod
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
Sorry, there isn't. Previous versions called for cp_lib.cgi to be modified but now it doesn't need it.

That error doesn't seem to be with this hack. That error is looking for something with the or '&#0124;&#0124;' syntax. Could you display the lines in and around lines 1409 and 1425 in cp.cgi?

Top
#153549 - 06/06/02 03:35 AM Re: [6.3.x] [beta] MegaMod
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Good to see it ported. I will test it for you later.

Top
#153550 - 06/06/02 03:53 AM Re: [6.3.x] [beta] MegaMod
Oblivion Knight Offline
Spotlight Runner-Up

Registered: 03/27/02
Posts: 422
Loc: England, UK
[code][/code]
_________________________
- OBK
- Gaming Update
- <img src="http://www.ubbdev.com/ud/?s=2&u=Oblivion Knight" alt=" - " /> Results Returned, <img src="http://www.ubbdev.com/ud/?u=Oblivion Knight&s=1" alt=" - " /> Points Collected & Counting!

Top
#153551 - 06/06/02 07:19 AM Re: [6.3.x] [beta] MegaMod
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Error is found...

$Moderator = $$Moderator;

Should be...

$Moderator = $Moderator;

Top
#153552 - 06/06/02 07:50 AM Re: [6.3.x] [beta] MegaMod
Oblivion Knight Offline
Spotlight Runner-Up

Registered: 03/27/02
Posts: 422
Loc: England, UK
I re-hacked and everything worked fine with a couple of slight modifications. LD, the typo you mentioned isn't a typo, I left it there when I re-hacked and all is working peachy.. smile

Brett, here's a couple of bug fixes for you:

In ubb_lib_secgroups.cgi:

return 1 if $self->{PRIMARY_GROUP} =~ m/^(administrators|megamoderators)$/);

SHOULD BE:

return 1 if $self->{PRIMARY_GROUP} =~ m/^(administrators|megamoderators)$/;

In cp_common.pl:

document.writeln("<option value=$vars_config{CGIURL}/cp.cgi?ubb=vars_megamod&r=$ran> - MegaModerator Settings</option>");'

SHOULD BE:

document.writeln("<option value=$vars_config{CGIURL}/cp.cgi?ubb=vars_megamod&r=$ran> - MegaModerator Settings</option>");

In ubb_lib.cgi
You are asked to find this

unless (($profile[8] eq 'Administrator')) {

WHICH SHOULD BE:

unless ($profile[8] eq 'Administrator') {
_________________________
- OBK
- Gaming Update
- <img src="http://www.ubbdev.com/ud/?s=2&u=Oblivion Knight" alt=" - " /> Results Returned, <img src="http://www.ubbdev.com/ud/?u=Oblivion Knight&s=1" alt=" - " /> Points Collected & Counting!

Top
#153553 - 06/06/02 01:56 PM Re: [6.3.x] [beta] MegaMod
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
ack friggin spelling errors! Thanks oblivion knight! So everything works the way it should?

Zip file updated to current fixes. smile

Top
#153554 - 06/06/02 03:13 PM Re: [6.3.x] [beta] MegaMod
Oblivion Knight Offline
Spotlight Runner-Up

Registered: 03/27/02
Posts: 422
Loc: England, UK
Yes everything is working ok.. smile
http://www.liberifatali.com/umbrella/cgi-bin/ultimatebb.cgi

I even got a cp patch done for you..
http://www.liberifatali.com/umbrella/ubbhacks/mmcpadd.txt

Feel free to add it to the readme wink
_________________________
- OBK
- Gaming Update
- <img src="http://www.ubbdev.com/ud/?s=2&u=Oblivion Knight" alt=" - " /> Results Returned, <img src="http://www.ubbdev.com/ud/?u=Oblivion Knight&s=1" alt=" - " /> Points Collected & Counting!

Top
#153555 - 06/06/02 04:29 PM Re: [6.3.x] [beta] MegaMod
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
Almost forgot about that. shocked I rebuffed the 6.2 version of the cp patch with oblivion knights fix.

Right now, i'll make patches to other hacks that may affect this that are currently in the 6.3 beta board.

Top
#153556 - 06/06/02 07:41 PM Re: [6.3.x] [beta] MegaMod
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Glad to hear it's working. Now I can install it. smile

Top
#153557 - 06/08/02 03:51 PM Re: [6.3.x] [beta] MegaMod
CTM Offline
Moderator / Da Masta

Registered: 11/23/01
Posts: 2567
Hmm...

Code:
[/code]Is:

 [code]
supposed to be:

[code][/code](without quotes)?

Just wondering.. Apart from that, works fine on my board, thanks for porting, brett smile

Top
#153558 - 06/08/02 08:17 PM Re: [6.3.x] [beta] MegaMod
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Yes it's supposed to have quotes. Everything that has a $vars_something{something} needs quotes.

Top
#153559 - 06/09/02 04:23 AM Re: [6.3.x] [beta] MegaMod
CTM Offline
Moderator / Da Masta

Registered: 11/23/01
Posts: 2567
Hmm.. OK.. Just wondered, cause I couldn't find the version with quotes in ubb_lib.cgi frown

Top
#153560 - 06/09/02 05:42 AM Re: [6.3.x] [beta] MegaMod
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
LD, are you sure? I don't think so tipsy

CTM, you're right.... smile

Edit: mmcpadd: [code][/code]Does it make sense that Moderators can change forum settings but megamods can't? tipsy I think MegaMods should be able to change both General and Forum settings.
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#153561 - 06/09/02 07:34 AM Re: [6.3.x] [beta] MegaMod
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
You can read me too well LK.

frown

Top
#153562 - 06/10/02 04:04 AM Re: [6.3.x] [beta] MegaMod
mark99 Offline
Member

Registered: 03/11/01
Posts: 314
Since when were normal mods allowed CP access?

Top
#153563 - 06/10/02 05:24 AM Re: [6.3.x] [beta] MegaMod
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
They always could, they can access Prune and Forum Settings - and choose only their forums.
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#153564 - 06/10/02 06:09 AM Re: [6.3.x] [beta] MegaMod
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
It's also a good thing if your mods can access IP bans when your not around to ban those troublemakers. tipsy

Top
Page 1 of 7 1 2 3 4 5 6 7 >


Who's Online
1 registered (Gizmo), 29 Guests and 5 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Ubb - Buy It!
best forum software
Latest Posts
I want to create a Self Search mod [Question]
by lightningrod
03/10/10 09:04 PM
If I create a new script, can I just upload it?
by lightningrod
03/10/10 05:35 PM
Notepad Creates Errors when working with PHP
by lightningrod
03/10/10 05:01 PM
Question on Adding a New Script ?
by lightningrod
03/10/10 06:39 AM
Disable Watch List option
by Mike_Tabat
03/09/10 01:27 PM
[7.x] [Pre-7.3] [Final] pJIRC Addon v0.5
by Gizmo
02/27/10 05:07 PM
How to Be a Great Host
by pinku
02/19/10 02:47 AM
New Mods
Disable Watch List option
by Mike_Tabat
02/18/10 09:14 AM
[7.x] Generic Page Outside of forum directory
by
01/14/07 10:58 PM
[7.x] [Pre-7.3] [Final] pJIRC Addon v0.5
by
07/30/06 10:42 PM
Newest Members
joshuasm02, Chosen, Vick, Bartman, Infinity Master
13496 Registered Users
Top Posters
AllenAyres 25554
JoshPet 11330
Rick 8373
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438
(Views)Popular Topics
Known public proxy servers 1028046
Finished-[6.5.2] Games Arcade Deluxe v1.9 327222
Integrated Index Page (IIP) 5.3.1 279924
Integrated Index Page (IIP) 5.1.1 279403
TLD Bv2.1 Released - Threads Links Directory 270427
[6.0x] Who's Online 4.0.0 [Finished] 230365
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 217518
[6.3.x] [beta] Hit Hack 2.0 179339
FlashChat & UBB.threads 161010
[7.x] Gizmo's Embedding BBCode (Pre UBB.T7.3) 154650
Forum Stats
13496 Members
59 Forums
37114 Topics
290378 Posts

Max Online: 686 @ 06/28/07 07:04 AM
Featured Member
Registered: 04/19/09
Posts: 4

 

 

 
fusionbb message board php hacks