|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
*goes to test*
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
OOOH, OOOOH, OOOOH, i have shouts! Great work Brett, can't wait to see pm folders ported ..
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
Well, everything looks perfect and acts perfect on the userside... Waiting for al to post findings on cp side...
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
No polls option for megamods in cp (allow megamods to make polls) No directory option for megamods under status
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
couple things. It took less than 10 minutes for the demodding bug to show up. Also, it had to remove the lines } 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
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
That demodding bug is nutz, it never goes away. I would love for this to work.
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
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.
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
That seems to have done the trick, it's working VERY well.
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
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
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
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.
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
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.
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
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.
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
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
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
It can't be far from working though, the actual moderator functions on the boards were working.
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
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
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
could it be that (mega ?moderator) replacement for Moderator in some of the pages?
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
Yo Bretty, any word on this?
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
last I heard he was swamped, give him a few days...
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
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*.
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
lol go for it, i've poked it and i can't figure the problem
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
Sorry Randy and all, i'm slackin , 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. #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. But hey it's all good.
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
initial files updated? Thanks for the fixes
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
quote: Originally posted by AllenAyres: initial files updated? Of course, Thanks
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
quote: Originally posted by Gizzy: lol go for it, i've poked it and i can't figure the problem Thank God Brett fixed it, I'm saved.
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
GJ Brett ...
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
Hi,
who can update MegaModerators hack for 6.7? I think only ubb_profile.cgi have to re-hack...
Please......
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
Wow, ubb_profile.cgi is a lot different. It made Beyond Compare have to work.
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
my head is spinning trying to get the code to work
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
I'll try to have it out today if Brett doesn't mind. By Brett not replying today, that means he doesn't mind
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
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?
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
replace with! not add after! you made the same mistake last time
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
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
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
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.
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
oops. forgot "anymore"
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
Haha, it's been a long day. Kids, driving, freeways, Ikea after Christmas sale, ex-wife, dominos pizza, lack of sleep.
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
you had dominos too? pepperoni and mushroom here
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
got the 2 mediums 2 toppings (pepperoni and xtra cheese) for $13.99 and 20 hot wings.
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
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* 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 btw Al, i was at my parents house all week for christmas whom don't have net access
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
Originally posted by Brett: btw Al, i was at my parents house all week for christmas whom don't have net access They don't have net access and you didn't buy it for them for Christmas Anyhoo, it's not like I took credit for it
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
Brett, huge bug. If a user is a megamod, and you update their profile via the cp, they become admin.
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
A semi-tested fix. find: $newfour .= "Admin" if $user_is_admin; replace with: $newfour .= "Admin" if ($user_is_admin && $profile->[8] ne 'MegaModerator');
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
cp2_membermanage.cgi for all you who couldln't find where to throw al's code...
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
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.
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
It appears that it's working for me so I'd guess lol..
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
it was semitested when I wrote it, now has been tested since then and it's still working
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
ZIP file updated per Ian's fix
|
|
|
|
Joined: Sep 2000
Posts: 159
Member
|
Member
Joined: Sep 2000
Posts: 159 |
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:
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
This is the same problem I had a while back, I thought it was resolved.
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
I've got a good one... When I try to view a user profile it errors out with a blank page...
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
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.
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
Viewing as admin to any profile. I've rehacked the files about 4 times.
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
that's odd, as I do not experience this. Check your error log and report back
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
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
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
fixed. user error
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
Not my fault wordpad hates highlighting entire lines...
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
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: Issue verifide on latest download.
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
And I already said the fix
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
Originally posted by Brett: Sorry Randy and all, i'm slackin , 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. #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. But hey it's all good. Well that's fixed, Brett just needs to update the zip...
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
Hi,
I have the problem, that my megamorderatos can not delet any threads or edit andy threads....
What can be wrong?
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
Sorry,
I made a mistake by hacking ubb_lib.cgi
|
|
|
|
Joined: Jan 2002
Posts: 43
Member
|
Member
Joined: Jan 2002
Posts: 43 |
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?
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
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
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
Ian, I believe he's saying that when he removes a megamod the user still retains their status.
|
|
|
|
Joined: Jan 2002
Posts: 43
Member
|
Member
Joined: Jan 2002
Posts: 43 |
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.
|
|
|
|
Joined: Jan 2002
Posts: 43
Member
|
Member
Joined: Jan 2002
Posts: 43 |
so uh... can anyone point me in the right direction to fix this problem? please?
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
you'll need to wait on brett
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
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.
|
|
|
|
Joined: Jan 2002
Posts: 43
Member
|
Member
Joined: Jan 2002
Posts: 43 |
thanks. i really appreciate the help.
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
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.
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
Lol, so there is an update and it's in cp2_megamods.pl
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
that's right capn'
|
|
|
|
Joined: Jan 2002
Posts: 43
Member
|
Member
Joined: Jan 2002
Posts: 43 |
i updated cp2_megamods.pl and it works like a champ.. thanks!
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
Does that mean you also updated all the other bugs mentioned in this thread? lol... Well that's fixed, Brett just needs to update the zip...
|
|
|
|
Joined: Jan 2002
Posts: 43
Member
|
Member
Joined: Jan 2002
Posts: 43 |
yeah, i had done all of that before i asked my initial question. Brett said the install file hadn't changed, so i naturally tried updating the cp2_megamods.pl file first, and it worked perfectly.
|
|
|
|
Joined: May 2001
Posts: 794
Content Queen
|
Content Queen
Joined: May 2001
Posts: 794 |
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.
Sue adwoff.com
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
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)
|
|
|
|
Joined: May 2001
Posts: 794
Content Queen
|
Content Queen
Joined: May 2001
Posts: 794 |
All-righty, I'll give it another shot.
Sue adwoff.com
|
|
|
|
Joined: May 2001
Posts: 794
Content Queen
|
Content Queen
Joined: May 2001
Posts: 794 |
It seems to be working ... thanks for the head's up.
Sue adwoff.com
|
|
|
|
Joined: Jun 2003
Posts: 9
Junior Member
|
Junior Member
Joined: Jun 2003
Posts: 9 |
Getting an error trying to download the .zip file. Update the location, or anyone else have a copy for 6.7, please?
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
|
|
|
|
Joined: Jun 2003
Posts: 9
Junior Member
|
Junior Member
Joined: Jun 2003
Posts: 9 |
Thank you, sir.
|
|
|
|
Joined: Jun 2003
Posts: 9
Junior Member
|
Junior Member
Joined: Jun 2003
Posts: 9 |
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: [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?
|
|
|
|
Joined: Jan 2003
Posts: 118
Member
|
Member
Joined: Jan 2003
Posts: 118 |
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... To any of my heroes out there, any ideas of how to fix please?
-GATOR
"Pain is temporary, Pride is forever"
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
Updated ZIP file with fix.
|
|
|
|
Joined: Jan 2003
Posts: 118
Member
|
Member
Joined: Jan 2003
Posts: 118 |
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
-GATOR
"Pain is temporary, Pride is forever"
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
Yea, the only changes were in cp2_megamods.pl. I just updated the zip again to which it should definitely fix it.
|
|
|
|
Joined: Jan 2003
Posts: 118
Member
|
Member
Joined: Jan 2003
Posts: 118 |
That seemed to do the trick! Thanks Brett, you rock man!
-GATOR
"Pain is temporary, Pride is forever"
|
|
|
|
Joined: Dec 2003
Posts: 40
Member
|
Member
Joined: Dec 2003
Posts: 40 |
My megamod isn't able to move topics from one forum to another-- is there a way I can patch this?
|
|
|
|
Joined: Dec 2003
Posts: 40
Member
|
Member
Joined: Dec 2003
Posts: 40 |
...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?
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
my megamods haven't experianced this error.
|
|
|
|
Joined: Dec 2003
Posts: 40
Member
|
Member
Joined: Dec 2003
Posts: 40 |
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!
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
Yeh sometimes the best thing to do is re-install to ensure it's installed correctly ... 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...
|
|
|
|
Joined: Dec 2003
Posts: 40
Member
|
Member
Joined: Dec 2003
Posts: 40 |
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.
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
I searched high and low for the download link, and it's in the first post
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
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)
|
|
|
|
Joined: Dec 2003
Posts: 40
Member
|
Member
Joined: Dec 2003
Posts: 40 |
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!
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
Interesting enough.. as long as you got it working :x...
|
|
|
|
Joined: Mar 2004
Posts: 58
Member
|
Member
Joined: Mar 2004
Posts: 58 |
Kewl mod Question, is it possible to prevent both megamods and regular mods from deleting posts? Thanks
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
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...
|
|
|
|
Joined: Mar 2004
Posts: 58
Member
|
Member
Joined: Mar 2004
Posts: 58 |
Because some can't understand what kind of posts i dont want them to delete
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
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: if($permit_delete ne "true") { Replace with: if($permit_delete ne "true" || ($user_profile[8] ne 'Administrator' && $user_number != $profile_number)) {
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
How about in ultimatebb.php: Find: if (!$privatepath && preg_match("/Admin/i", $profile[4])) { Replace with: if (!$privatepath && (preg_match("/Admin/i", $profile[4]) || $profile[8] == "MegaModerator")) { Find: if ($privateforums && preg_match("/Admin/", $profile[4])) { Replace with: if (!$privatepath && (preg_match("/Admin/i", $profile[4]) || $profile[8] == "MegaModerator")) {
|
|
|
|
Joined: Mar 2004
Posts: 58
Member
|
Member
Joined: Mar 2004
Posts: 58 |
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
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
The ultimatebb.php edit was just something I added, nothing to do with your request
|
|
|
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: 70
Joined: January 2007
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|