UBB.Dev
Posted By: Brett [6.6 - 6.7] [beta] Mega Mod - 11/07/2003 5:32 AM
Modification Name: Mega Mod

Author(s): Brett

Description: Makes a new status of a moderator to every board(like an administrator) without being listed, but no access to control panel(if not desired).

(MegaMod menu is put under the Moderator one.)

Demo: n/a (CP Mod)

Requirements: UBB 6.6.x, UBB 6.7 Beta 1

Download Link:
For UBB 6.6.x ONLY: https://www.ubbdev.com/ubb/upload/00006378/megamod6.6.zip
For UBB 6.7 ONLY: https://www.ubbdev.com/ubb/upload/00006378/megamod6.7.zip
Posted By: Ian Spence Re: [6.6 - 6.7] [beta] Mega Mod - 11/08/2003 12:05 AM
*goes to test* laugh
Posted By: Gizmo Re: [6.6 - 6.7] [beta] Mega Mod - 11/08/2003 1:04 AM
OOOH, OOOOH, OOOOH, i have shouts!

Great work Brett, can't wait to see pm folders ported wink ..
Posted By: Gizmo Re: [6.6 - 6.7] [beta] Mega Mod - 11/08/2003 1:33 AM
Well, everything looks perfect and acts perfect on the userside... Waiting for al to post findings on cp side...
Posted By: Gizmo Re: [6.6 - 6.7] [beta] Mega Mod - 11/08/2003 1:38 AM
No polls option for megamods in cp (allow megamods to make polls)
No directory option for megamods under status
Posted By: Ian Spence Re: [6.6 - 6.7] [beta] Mega Mod - 11/08/2003 1:39 AM
couple things.

It took less than 10 minutes for the demodding bug to show up. Also, it had to remove the lines

Code
	} else if($profile->[8] eq 'MegaModerator') {
$profile->[8] = 'MegaModerator';
because it caused a white page for the member manage page.

Also, you can't let megamods create or vote in polls.

And megamods aren't listed in the directory dropdown, and they are listed last in the directory.

Also, any change of getting more explanation on the megamod page? It just shows some text boxes. If I hadn't used the megamod hack before, I would just start typing in public names
Posted By: RandyM Re: [6.6 - 6.7] [beta] Mega Mod - 11/08/2003 2:37 AM
That demodding bug is nutz, it never goes away. I would love for this to work.
Posted By: Brett Re: [6.6 - 6.7] [beta] Mega Mod - 11/08/2003 9:11 AM
Alright, just did some updates. If you installed the version from last night, Click Here , then download the zip and reupload the .pl file.

I'm not getting this demodding bug, maybe cuz i only have 2 members on my test board. So if you get 8 people on there, it only saves 7? er..

EDIT: Gizzy, i have the pm folders ported, but i'm putting in sorting, it should be done tomorrow. smile
Posted By: RandyM Re: [6.6 - 6.7] [beta] Mega Mod - 11/08/2003 9:33 AM
That seems to have done the trick, it's working VERY well.
Posted By: Ian Spence Re: [6.6 - 6.7] [beta] Mega Mod - 11/08/2003 9:19 PM
Brett, that's a different demodding bug where the 8th person is never modded. I'm talking about when after a couple posts, all of a sudden the Megamods are all demodded, but are still listed as megamods in the cp
Posted By: RandyM Re: [6.6 - 6.7] [beta] Mega Mod - 11/08/2003 9:30 PM
I have a user that's a megamod on Netwerkin so i'll be banging on this pretty hard. I used to have my account as a megamod and a user that never ever logged into the board itself was the admin. That way I didn't have to worry about having my account hijacked and losing total control of the board till I got to the FTP.

I'll keep y'all (<---southern drawl sound) posted.
Posted By: RandyM Re: [6.6 - 6.7] [beta] Mega Mod - 11/08/2003 10:40 PM
Well, so far I've been posting like crazy with the test account and no odd behavior or demodding. I know that it will fail just after I proclaim it working.
Posted By: RandyM Re: [6.6 - 6.7] [beta] Mega Mod - 11/11/2003 7:38 AM
Okay, I ended up uninstalling this. It didn't demod anyone but it did have a one behavior that I had to fix. I wasn't able to let moderators select their own avatars with this mod in. It affected the way that the avatar page behaved in the profile section of the CP. I didn't look at the code myself to try to figure out why.

If anyone (CC, help please!) has a chance to really look at this hack it would be really nice to have it working.
Posted By: Ian Spence Re: [6.6 - 6.7] [beta] Mega Mod - 11/12/2003 5:42 AM
Moderators can't have custom titles either. It automatically unchecks the checkbox upon submission, and it's not bold like the rest of the groups
Posted By: RandyM Re: [6.6 - 6.7] [beta] Mega Mod - 11/15/2003 7:19 AM
It can't be far from working though, the actual moderator functions on the boards were working.
Posted By: Ian Spence Re: [6.6 - 6.7] [beta] Mega Mod - 11/15/2003 7:31 AM
and no one has been demodded this time.. so I think that bug might be fixed somehow. Only issue I have with this is the custom avatar/title thing
Posted By: RandyM Re: [6.6 - 6.7] [beta] Mega Mod - 11/15/2003 8:15 AM
could it be that (mega ?moderator) replacement for Moderator in some of the pages?
Posted By: Ian Spence Re: [6.6 - 6.7] [beta] Mega Mod - 11/16/2003 10:24 PM
Yo Bretty, any word on this?
Posted By: RandyM Re: [6.6 - 6.7] [beta] Mega Mod - 11/17/2003 3:59 AM
*waits patiently*
Posted By: Gizmo Re: [6.6 - 6.7] [beta] Mega Mod - 11/17/2003 6:53 AM
last I heard he was swamped, give him a few days...
Posted By: RandyM Re: [6.6 - 6.7] [beta] Mega Mod - 11/17/2003 7:59 AM
I know how that is. What the hell? There are others here that might be able to give it a go. I'm talking about me BTW, if that is the only issue right now then I think given enough time and a few 12 packs of diet Coke I can come up with *something*.
Posted By: Gizmo Re: [6.6 - 6.7] [beta] Mega Mod - 11/17/2003 9:29 AM
lol go for it, i've poked it and i can't figure the problem smirk
Posted By: Brett Re: [6.6 - 6.7] [beta] Mega Mod - 11/17/2003 9:17 PM
Sorry Randy and all, i'm slackin tipsy , i stumpled upon the fix and really don't believe it. It's so simple, it's rediclous. Just bare out that this worked. Al can even tell ya.

Code
#in cp2_lib.cgi
#find:
$def->{values} = [qw( administrators megamoderators moderators senior_members junior_members COPPA_members )],

# replace with:
$def->{values} = [qw( administrators moderators senior_members junior_members COPPA_members megamoderators )],
What it did was offsetted the array to messed with the 'force' of the ubb. wink But hey it's all good. laugh
Posted By: AllenAyres Re: [6.6 - 6.7] [beta] Mega Mod - 11/17/2003 10:08 PM
initial files updated? Thanks for the fixes thumbsup
Posted By: Brett Re: [6.6 - 6.7] [beta] Mega Mod - 11/17/2003 10:22 PM
Quote
quote:
Originally posted by AllenAyres:
initial files updated?
Of course, smile

Thanks cool
Posted By: RandyM Re: [6.6 - 6.7] [beta] Mega Mod - 11/18/2003 12:36 AM
Quote
quote:
Originally posted by Gizzy:
lol go for it, i've poked it and i can't figure the problem smirk
Thank God Brett fixed it, I'm saved.
Posted By: Gizmo Re: [6.6 - 6.7] [beta] Mega Mod - 11/18/2003 2:38 AM
GJ Brett smile ...
Posted By: d-talk Re: [6.6 - 6.7] [beta] Mega Mod - 12/28/2003 2:26 PM
Hi,

who can update MegaModerators hack for 6.7? I think only ubb_profile.cgi have to re-hack...

Please......
Posted By: RandyM Re: [6.6 - 6.7] [beta] Mega Mod - 12/28/2003 7:43 PM
Wow, ubb_profile.cgi is a lot different. It made Beyond Compare have to work.
Posted By: Ian Spence Re: [6.6 - 6.7] [beta] Mega Mod - 12/28/2003 7:45 PM
my head is spinning trying to get the code to work frown
Posted By: Ian Spence Re: [6.6 - 6.7] [beta] Mega Mod - 12/28/2003 8:19 PM
I'll try to have it out today if Brett doesn't mind. By Brett not replying today, that means he doesn't mind wink
Posted By: RandyM Re: [6.6 - 6.7] [beta] Mega Mod - 12/28/2003 8:30 PM
Exactly
Posted By: Ian Spence Re: [6.6 - 6.7] [beta] Mega Mod - 12/28/2003 10:44 PM
https://www.ubbdev.com/ubb/upload/00020028/Megamod6.7.txt

smile no code changed, so I didn't take credit for it. Charles just moved some code
Posted By: d-talk Re: [6.6 - 6.7] [beta] Mega Mod - 12/29/2003 3:07 AM
Hi Al,

thank you very much, but now when I want to edit a forum at cp I get the following erro:

Fatal error:

(RequireVars) /home/www/web17/html/ubb/Templates/cp2_forumedit.pl: Unmatched right curly bracket at /home/www/web17/html/ubb/Templates/cp2_forumedit.pl line 260, at end of line
syntax error at /home/www/web17/html/ubb/Templates/cp2_forumedit.pl line 260, near "}"
Compilation failed in require at /home/www/web17/html/cgi-bin/ubb_lib.cgi line 931.


What can I do?
Posted By: Ian Spence Re: [6.6 - 6.7] [beta] Mega Mod - 12/29/2003 3:34 AM
replace with! not add after! you made the same mistake last time
Posted By: d-talk Re: [6.6 - 6.7] [beta] Mega Mod - 12/29/2003 3:55 AM
Thanks Al,

but at the readmefile from MegaModerators hack you can find the following:

###Open cp2_forumedit.pl
########################################################

#####################
# find (both times) #
#####################

} qw( administrators moderators senior_members junior_members COPPA_members );

#############
# add above #
#############

} qw( administrators moderators senior_members junior_members COPPA_members megamoderators );


thx
d-talk
Posted By: Ian Spence Re: [6.6 - 6.7] [beta] Mega Mod - 12/29/2003 4:04 AM
my version doesn't.
Posted By: RandyM Re: [6.6 - 6.7] [beta] Mega Mod - 12/29/2003 5:25 AM
Quote
Originally posted by Weird Al:

my version doesn't.
Mine does, downloaded this morning. Just being a smart@ss. i'm sure it's fixed now.
Posted By: Ian Spence Re: [6.6 - 6.7] [beta] Mega Mod - 12/29/2003 5:29 AM
oops. forgot "anymore" wink
Posted By: RandyM Re: [6.6 - 6.7] [beta] Mega Mod - 12/29/2003 5:50 AM
Haha, it's been a long day. Kids, driving, freeways, Ikea after Christmas sale, ex-wife, dominos pizza, lack of sleep.
Posted By: Ian Spence Re: [6.6 - 6.7] [beta] Mega Mod - 12/29/2003 6:08 AM
you had dominos too? smile pepperoni and mushroom here
Posted By: RandyM Re: [6.6 - 6.7] [beta] Mega Mod - 12/29/2003 6:23 AM
got the 2 mediums 2 toppings (pepperoni and xtra cheese) for $13.99 and 20 hot wings.
Posted By: Brett Re: [6.6 - 6.7] [beta] Mega Mod - 01/09/2004 7:37 AM
Added Download Link for UBB 6.7 Beta.

New feature is the use of unlimited MegaMods thanks to the javascript from the moderator page, which is why it says forum 1's name at the top of the addition page. *whistles innocently* wink


Quote
Originally posted by Weird Al:

I'll try to have it out today if Brett doesn't mind. By Brett not replying today, that means he doesn't mind wink
btw Al, i was at my parents house all week for christmas whom don't have net access tipsy
Posted By: Ian Spence Re: [6.6 - 6.7] [beta] Mega Mod - 01/09/2004 8:05 AM
Quote
Originally posted by Brett:

btw Al, i was at my parents house all week for christmas whom don't have net access tipsy
They don't have net access and you didn't buy it for them for Christmas eek

Anyhoo, it's not like I took credit for it smile
Posted By: Ian Spence Re: [6.6 - 6.7] [beta] Mega Mod - 01/27/2004 3:45 AM
Brett, huge bug. If a user is a megamod, and you update their profile via the cp, they become admin.
Posted By: Ian Spence Re: [6.6 - 6.7] [beta] Mega Mod - 01/27/2004 3:57 AM
A semi-tested fix.


find:
Code
	$newfour .= "Admin" if $user_is_admin;
replace with:
Code
	$newfour .= "Admin" if ($user_is_admin && $profile->[8] ne 'MegaModerator');
Posted By: Gizmo Re: [6.6 - 6.7] [beta] Mega Mod - 02/05/2004 5:18 AM
cp2_membermanage.cgi for all you who couldln't find where to throw al's code...
Posted By: Brett Re: [6.6 - 6.7] [beta] Mega Mod - 02/05/2004 7:05 AM
So it does work? Sorry i don't have a public demo at the moment, and he said 'semi-tested' so i wasn't sure whether or not it worked.
Posted By: Gizmo Re: [6.6 - 6.7] [beta] Mega Mod - 02/05/2004 11:09 AM
It appears that it's working for me so I'd guess lol..
Posted By: Ian Spence Re: [6.6 - 6.7] [beta] Mega Mod - 02/05/2004 3:47 PM
it was semitested when I wrote it, now has been tested since then and it's still working
Posted By: Brett Re: [6.6 - 6.7] [beta] Mega Mod - 02/10/2004 11:13 AM
ZIP file updated per Ian's fix smile
Posted By: Ellen Re: [6.6 - 6.7] [beta] Mega Mod - 02/13/2004 1:28 AM
Could you take a look at this please?

In the control panel, for the avatar permissions and the custom names, I cannot get "moderator" to be checked after the addition of this mod. Here are screenshots to show you what I mean:

[Linked Image]

[Linked Image]
Posted By: RandyM Re: [6.6 - 6.7] [beta] Mega Mod - 02/13/2004 2:22 AM
This is the same problem I had a while back, I thought it was resolved.
Posted By: Gizmo Re: [6.6 - 6.7] [beta] Mega Mod - 02/13/2004 9:23 PM
I've got a good one... When I try to view a user profile it errors out with a blank page...
Posted By: Ian Spence Re: [6.6 - 6.7] [beta] Mega Mod - 02/13/2004 9:55 PM
Gizzy, we need more info. Are you viewing as a Megamod, are you viewing a megamod's profile, is it just viewing any profile?

Ellen/Randy. Same fix as earlier in this thread applies. Seems the install got reverted.
Posted By: Gizmo Re: [6.6 - 6.7] [beta] Mega Mod - 02/13/2004 10:05 PM
Viewing as admin to any profile. I've rehacked the files about 4 times.
Posted By: Ian Spence Re: [6.6 - 6.7] [beta] Mega Mod - 02/13/2004 10:12 PM
that's odd, as I do not experience this. Check your error log and report back
Posted By: Gizmo Re: [6.6 - 6.7] [beta] Mega Mod - 02/13/2004 10:33 PM
Yeh check my 400 meg apache error log, how about no? All I know is I followed instructions and it works without this mod. It's on my beta board btw, which you both have access to... http://beta.undergroundnews.com/cgi-bin/ultimatebb.cgi?/profile/4.html
Posted By: Ian Spence Re: [6.6 - 6.7] [beta] Mega Mod - 02/13/2004 11:00 PM
fixed. user error tipsy
Posted By: Gizmo Re: [6.6 - 6.7] [beta] Mega Mod - 02/13/2004 11:08 PM
Not my fault wordpad hates highlighting entire lines...
Posted By: Gizmo Re: [6.6 - 6.7] [beta] Mega Mod - 02/13/2004 11:12 PM
Quote
Originally posted by Ellen:

Could you take a look at this please?

In the control panel, for the avatar permissions and the custom names, I cannot get "moderator" to be checked after the addition of this mod. Here are screenshots to show you what I mean:

[Linked Image]

[Linked Image]
Issue verifide on latest download.
Posted By: Ian Spence Re: [6.6 - 6.7] [beta] Mega Mod - 02/13/2004 11:13 PM
And I already said the fix smile
Posted By: Gizmo Re: [6.6 - 6.7] [beta] Mega Mod - 02/13/2004 11:18 PM
Quote
Originally posted by Brett:

Sorry Randy and all, i'm slackin tipsy , i stumpled upon the fix and really don't believe it. It's so simple, it's rediclous. Just bare out that this worked. Al can even tell ya.

Code
#in cp2_lib.cgi
#find:
$def->{values} = [qw( administrators megamoderators moderators senior_members junior_members COPPA_members )],

# replace with:
$def->{values} = [qw( administrators moderators senior_members junior_members COPPA_members megamoderators )],
What it did was offsetted the array to messed with the 'force' of the ubb. wink But hey it's all good. laugh
Well that's fixed, Brett just needs to update the zip...
Posted By: d-talk Re: [6.6 - 6.7] [beta] Mega Mod - 02/18/2004 2:21 PM
Hi,

I have the problem, that my megamorderatos can not delet any threads or edit andy threads....

What can be wrong?
Posted By: d-talk Re: [6.6 - 6.7] [beta] Mega Mod - 02/18/2004 2:28 PM
Sorry,

I made a mistake by hacking ubb_lib.cgi
Posted By: hektik Re: [6.6 - 6.7] [beta] Mega Mod - 02/22/2004 2:05 AM
i'm having a problem...

when i remove a megamod through the cp, it still says 'MegaModerator' in the user's profile, so they're still treated as one.

does this happen for anyone else?
Posted By: Ian Spence Re: [6.6 - 6.7] [beta] Mega Mod - 02/22/2004 2:10 AM
did you enable custom titles for MegaModerators? If so, their custom title is MegaModerator and all you have to do is edit that in their profile
Posted By: Gizmo Re: [6.6 - 6.7] [beta] Mega Mod - 02/22/2004 2:19 AM
Ian, I believe he's saying that when he removes a megamod the user still retains their status.
Posted By: hektik Re: [6.6 - 6.7] [beta] Mega Mod - 02/22/2004 5:42 AM
Gizzy is right, it's not the custom title. it's the user status on line # 9 in the profile that isn't being changed.
Posted By: hektik Re: [6.6 - 6.7] [beta] Mega Mod - 02/23/2004 5:12 AM
so uh... can anyone point me in the right direction to fix this problem? please? smile
Posted By: Gizmo Re: [6.6 - 6.7] [beta] Mega Mod - 02/23/2004 5:24 AM
you'll need to wait on brett
Posted By: Brett Re: [6.6 - 6.7] [beta] Mega Mod - 02/23/2004 5:51 AM
Sorry, i have been unbelieveably busy lately, but will do a fresh install tonight(when i get off work in 2 1/2 hours) and a thorough setup to root this problem out once and forall.
Posted By: hektik Re: [6.6 - 6.7] [beta] Mega Mod - 02/24/2004 4:39 AM
thanks. i really appreciate the help.
Posted By: Brett Re: [6.6 - 6.7] [beta] Mega Mod - 02/24/2004 11:38 AM
I have rehacked on a fresh 6.7 and confirmed that it works. Actually the install file didn't change, but the cp2_megamods.pl file did, and i tested it out to remove the megamods properly. You may need to readd the megamods then delete them to remove the status.

If you followed the instructions correctly, the custom avatars/polls should have the megamods at the bottom of the list, and they will work correctly. If you do not, rehack cp2_lib.cgi and cp2_membermanage.cgi.
Posted By: Gizmo Re: [6.6 - 6.7] [beta] Mega Mod - 02/24/2004 10:11 PM
Lol, so there is an update and it's in cp2_megamods.pl
Posted By: Brett Re: [6.6 - 6.7] [beta] Mega Mod - 02/25/2004 12:30 AM
that's right capn' smile
Posted By: hektik Re: [6.6 - 6.7] [beta] Mega Mod - 02/25/2004 2:36 AM
i updated cp2_megamods.pl and it works like a champ.. thanks! laugh
Posted By: Gizmo Re: [6.6 - 6.7] [beta] Mega Mod - 02/25/2004 3:02 AM
Does that mean you also updated all the other bugs mentioned in this thread? lol...

Quote
Originally posted by Gizzy:

Originally posted by Brett:
[qb]
Sorry Randy and all, i'm slackin tipsy , i stumpled upon the fix and really don't believe it. It's so simple, it's rediclous. Just bare out that this worked. Al can even tell ya.

Code
#in cp2_lib.cgi
#find:
$def->{values} = [qw( administrators megamoderators moderators senior_members junior_members COPPA_members )],

# replace with:
$def->{values} = [qw( administrators moderators senior_members junior_members COPPA_members megamoderators )],
What it did was offsetted the array to messed with the 'force' of the ubb. wink But hey it's all good. laugh
[/qb]
Well that's fixed, Brett just needs to update the zip...

Posted By: hektik Re: [6.6 - 6.7] [beta] Mega Mod - 02/25/2004 4:15 AM
yeah, i had done all of that before i asked my initial question. wink

Brett said the install file hadn't changed, so i naturally tried updating the cp2_megamods.pl file first, and it worked perfectly.
Posted By: ADWOFF Re: [6.6 - 6.7] [beta] Mega Mod - 03/08/2004 11:22 PM
For whatever the reasons, I cannot get this mod to work correctly on my test site.

I found all the code in the 6.7 file ... replaced or added where needed, but when I click on the megamod link in the CP, all I get is the pop-up for forum 1 (to choose members to be a megamod)--it won't let me select other forums/profiles--to pull from.

When I go into other forums to *act* as a mod (via the megamod properties), I'm denied access.

I haven't the foggiest idea why it won't take ... as best as I can tell, I've followed all of the instructions, modified all the required files ...

Unless someone can point out what might be wrong, I'm just going to leave this mod alone.
Posted By: Ian Spence Re: [6.6 - 6.7] [beta] Mega Mod - 03/08/2004 11:34 PM
it only says forum 1 due to a bug. Anyone added via that popup should be a megamod once you click Submit on the main page (non-popup)
Posted By: ADWOFF Re: [6.6 - 6.7] [beta] Mega Mod - 03/08/2004 11:36 PM
All-righty, I'll give it another shot. tipsy
Posted By: ADWOFF Re: [6.6 - 6.7] [beta] Mega Mod - 03/09/2004 12:08 AM
It seems to be working ... thanks for the head's up. smile
Posted By: Zammit Re: [6.6 - 6.7] [beta] Mega Mod - 03/21/2004 7:55 PM
Getting an error trying to download the .zip file. Update the location, or anyone else have a copy for 6.7, please? smile
Posted By: Gizmo Re: [6.6 - 6.7] [beta] Mega Mod - 03/21/2004 11:07 PM
https://www.ubbdev.com/ubb/upload/00017811/megamod6.7.zip
Posted By: Zammit Re: [6.6 - 6.7] [beta] Mega Mod - 03/22/2004 3:29 AM
Thank you, sir. smile
Posted By: Zammit Re: [6.6 - 6.7] [beta] Mega Mod - 03/22/2004 7:34 AM
I get the followin error at the top of the cp page (everything seems to be working, but I hate to see error messages):

Quote
quote:
[Sun Mar 21 23:31:42 2004] wwwcgi-bincp.cgi: Use of uninitialized value in string eq at /www/ubb/Templates/cp2_megamods.pl line 79.
Any ideas?
Posted By: GATOR420 Re: [6.6 - 6.7] [beta] Mega Mod - 05/08/2004 12:59 PM
Hmm.. Zammit I get this error too along with, cgicp.cgi: Use of uninitialized value in split at noncgi/Templates/cp2_megamods.pl line 81. so either we are both doing something exactly wrong or maybe there is a bug? I too hate to see error messages... smash

To any of my heroes out there, any ideas of how to fix please? smile
Posted By: Brett Re: [6.6 - 6.7] [beta] Mega Mod - 05/09/2004 12:22 AM
Updated ZIP file with fix.
Posted By: GATOR420 Re: [6.6 - 6.7] [beta] Mega Mod - 05/09/2004 2:02 AM
Thanks Brett! Was the fix only in cp2_megamods.pl or were there additional changes in the install? I tried just uploading the new cp2_megamods.pl file but when I click on Megamods in the control panel I get this error.

Fatal error:

(RequireVars) /noncgi/Templates/cp2_megamods.pl: Global symbol "$help" requires explicit package name at /noncgi/Templates/cp2_megamods.pl line 87.
Global symbol "@Megamods" requires explicit package name at /noncgi/Templates/cp2_megamods.pl line 203.
Global symbol "@Megamods" requires explicit package name at /noncgi/Templates/cp2_megamods.pl line 220.
Compilation failed in require at /cgi/ubb_lib.cgi line 952.

Just hoping there is a quick change I can make and it will work smile
Posted By: Brett Re: [6.6 - 6.7] [beta] Mega Mod - 05/09/2004 2:13 AM
Yea, the only changes were in cp2_megamods.pl. I just updated the zip again to which it should definitely fix it. smile
Posted By: GATOR420 Re: [6.6 - 6.7] [beta] Mega Mod - 05/09/2004 2:26 AM
That seemed to do the trick! Thanks Brett, you rock man! smile
Posted By: Nate Re: [6.6 - 6.7] [beta] Mega Mod - 05/10/2004 11:23 PM
My megamod isn't able to move topics from one forum to another-- is there a way I can patch this?
Posted By: Nate Re: [6.6 - 6.7] [beta] Mega Mod - 05/14/2004 1:24 AM
...or am I the only one experiencing this difficulty?

My board uses me as a megamod instead of an admin to discourage cookie-thieves. But whenever I want to edit a post or move a topic, it tells me that only an admin or moderator can perform that function.

Did I install the hack wrong? Or is there something I need to do to make this work for me?
Posted By: Gizmo Re: [6.6 - 6.7] [beta] Mega Mod - 05/14/2004 1:44 AM
my megamods haven't experianced this error.
Posted By: Nate Re: [6.6 - 6.7] [beta] Mega Mod - 05/14/2004 10:23 PM
Thanks for the reply-- this is encouraging because it tells me I might have installed it incorrectly. I'm going to reinstall it and see if that fixes things. Again, many thanks!
Posted By: Gizmo Re: [6.6 - 6.7] [beta] Mega Mod - 05/15/2004 1:40 AM
Yeh sometimes the best thing to do is re-install to ensure it's installed correctly wink ... I've very often installed mod's at 4am after being up for 2 days and when I went to error test the next day, boy did I find a lot of errors :x...
Posted By: Nate Re: [6.6 - 6.7] [beta] Mega Mod - 05/16/2004 3:16 AM
hmmm.... Nope-- I checked it twice line by line.

BUT, I did notice something awry-- I tried re-downloading the hack to make sure I have the most current version, and I notice that the install.txt says its for version 6.6, 6.61 only.

Even the first post of this thread that has the link for the 6.7 version downloads the "6.6, 6.61" version.

Seeing as I'm running 6.7, I suspect that this is the problem. Does anyone have a link to the version of this hack for 6.7? Much appreciated.
Posted By: Ian Spence Re: [6.6 - 6.7] [beta] Mega Mod - 05/16/2004 3:37 AM
I searched high and low for the download link, and it's in the first post
Posted By: Gizmo Re: [6.6 - 6.7] [beta] Mega Mod - 05/16/2004 4:11 AM
It may say that but it is a seperate build (keep in mind it was coded for 6.6 then ported to 6.7, looks liek brett never updated the version in the text)
Posted By: Nate Re: [6.6 - 6.7] [beta] Mega Mod - 05/16/2004 5:09 AM
Wow, this one was driving me crazy; then I had a Eureka moment!

My user was staying logged in between sessions. When I made that user a megamod, it was showing that I was a megamod, but I kept getting denied megamod privledges.

So I went to my forum, logged out, logged back in, and BAM, BABY!!! It works like a charm!

Thanks for helping me figure this one out, guys!
Posted By: Gizmo Re: [6.6 - 6.7] [beta] Mega Mod - 05/16/2004 8:18 AM
Interesting enough.. as long as you got it working :x...
Posted By: Tiger66 Re: [6.6 - 6.7] [beta] Mega Mod - 10/28/2004 1:49 AM
Kewl mod smile

Question, is it possible to prevent both megamods and regular mods from deleting posts?

Thanks
Posted By: Gizmo Re: [6.6 - 6.7] [beta] Mega Mod - 10/28/2004 6:53 AM
What's the point of modding (or megamodding) someone if they can't delete posts? The main part of both status levels is so people can monitor your site and edit/delete what doesn't belong...
Posted By: Tiger66 Re: [6.6 - 6.7] [beta] Mega Mod - 10/29/2004 12:07 AM
Because some can't understand what kind of posts i dont want them to delete
Posted By: LK Re: [6.6 - 6.7] [beta] Mega Mod - 10/29/2004 12:17 AM
Try the following in ubb_edit_post.cgi (untested; they'll still have the checkbox to delete the post, but if they select it, it will show them an error and not delete it)
Find:
Code
		if($permit_delete ne "true") {
Replace with:
Code
		if($permit_delete ne "true" &#0124;&#0124; ($user_profile[8] ne 'Administrator' && $user_number != $profile_number)) {
Posted By: LK Re: [6.6 - 6.7] [beta] Mega Mod - 07/11/2005 3:24 AM
How about in ultimatebb.php:
Find:
Code
	if (!$privatepath && preg_match("/Admin/i", $profile[4])) {
Replace with:
Code
	if (!$privatepath && (preg_match("/Admin/i", $profile[4]) &#0124;&#0124; $profile[8] == "MegaModerator")) {
Find:
Code
	if ($privateforums && preg_match("/Admin/", $profile[4])) {
Replace with:
Code
	if (!$privatepath && (preg_match("/Admin/i", $profile[4]) &#0124;&#0124; $profile[8] == "MegaModerator")) {
Posted By: Tiger66 Re: [6.6 - 6.7] [beta] Mega Mod - 07/18/2005 3:42 AM
Sorry again for the late reply , the edit in the ultimatebb.php didnt do it while the edit in the ubb_edit_post.cgi did work

Thanks smile
Posted By: LK Re: [6.6 - 6.7] [beta] Mega Mod - 07/18/2005 12:24 PM
The ultimatebb.php edit was just something I added, nothing to do with your request smile
© UBB.Developers