Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
#201051 11/06/2003 10:32 PM
Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
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

Sponsored Links
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
*goes to test* laugh

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 wink ..


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
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...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
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


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Sponsored Links
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
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

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

Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
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
Offline
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. smile

Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
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
Offline
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

Sponsored Links
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
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
Offline
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
Offline
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
Offline
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
Offline
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
Offline
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
Offline
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
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
Yo Bretty, any word on this?

Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
*waits patiently*

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...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
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 smirk


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
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

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 thumbsup


- Allen wavey
- What Drives You?
Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
Quote
quote:
Originally posted by AllenAyres:
initial files updated?
Of course, smile

Thanks cool

Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
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.

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 smile ...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
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......


Webmaster of d-talk & Kabel-Forum.com
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
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
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
my head is spinning trying to get the code to work frown

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
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 wink

Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
Exactly

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
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

Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
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?


Webmaster of d-talk & Kabel-Forum.com
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
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
Offline
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


Webmaster of d-talk & Kabel-Forum.com
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
my version doesn't.

Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
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.

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
oops. forgot "anymore" wink

Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
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.

Page 1 of 3 1 2 3

Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)