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: Twinsburg, Ohio

   [6.3.x] [beta] MegaMod to Del.icio.us Add to del.icio.us
  Digg [6.3.x] [beta] MegaMod Digg it
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: Twinsburg, Ohio
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: Twinsburg, Ohio
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: Twinsburg, Ohio
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 >


Top Posters Last 30 Days
AllenAyres 20
Gizmo 10
blaaskaak 2
S7ARBVCK 2
Iann128 1
Claus1 1
M4D 1
Who's Online
2 Registered (blaaskaak, GEN), 25 Guests and 7 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Security Patch released for all 7.x versions
by AllenAyres
Yesterday at 08:00 PM
What do you use to edit the files
by AllenAyres
Yesterday at 07:54 PM
Team UBBDev Rides Again!
by AllenAyres
Yesterday at 07:32 PM
Here I am! Rock me like a Hurricane!
by AllenAyres
Yesterday at 07:20 PM
BeyondCompare v3.00
by AllenAyres
Yesterday at 07:16 PM
[7.3.1] add search to showmembers page
by AllenAyres
Yesterday at 07:13 PM
Noob - need help, or a reality check!
by Gizmo
09/04/08 03:21 AM
New Mods
[7.3.1] add search to showmembers page
by blaaskaak
Yesterday at 04:50 AM
Installing FlashChat with 7.3
by Paug
08/23/08 12:14 AM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.2.1] - Naked shoutbox
by sirdude
08/17/07 10:36 PM
[7.x] Generic Page Outside of forum directory
by
01/14/07 10:58 PM
Newest Members
veedubb8, twentyseven, Claus1, welcomeback1, Paug
13327 Registered Users

 

 

 
fusionbb message board php hacks