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
#153565 - 06/11/02 05:39 AM Re: [6.3.x] [beta] MegaMod
mark99 Offline
Member

Registered: 03/11/01
Posts: 314
Never knew that, is there anyway to disable mod CP access?

Top
#153566 - 06/11/02 06:37 AM Re: [6.3.x] [beta] MegaMod
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Not really, easiest way is to go through cp.cgi and delete all the permissions for mods to enter.

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

Registered: 03/27/02
Posts: 422
Loc: England, UK
Problem: My MegaMod's avatar keeps disapearing..

Any way to solve this? frown
_________________________
- 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
#153568 - 06/15/02 09:30 AM Re: [6.3.x] [beta] MegaMod
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
You need to add some code to the avatar files so it allows MegaMod status to use avatars/custom avatars.

Top
#153569 - 06/16/02 08:40 AM Re: [6.3.x] [beta] MegaMod
Oblivion Knight Offline
Spotlight Runner-Up

Registered: 03/27/02
Posts: 422
Loc: England, UK
brett,
Here's the code you need for avatars to work for MegaMod's properly.. Please add this code to your hack smile

http://www.liberifatali.com/umbrella/ubbhacks/avatarmmaddon.txt

I'm currently bug testing this code, and so far it's working flawless..
_________________________
- 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
#153570 - 06/16/02 07:04 PM Re: [6.3.x] [beta] MegaMod
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
Excellent! I added Oblivion Knight's fix plus this.

[code][/code]LK, that was meant as a demostration. Not an actual appliable fix! tipsy

Top
#153571 - 06/16/02 07:13 PM Re: [6.3.x] [beta] MegaMod
the_wiz Offline
Junior Member

Registered: 12/18/01
Posts: 24
hi I have a question about this mega mod hack.. is it somehow possible to change it so they are considered Junior Administrators instead of Mega Moderators??

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

Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
Try going to the 'Members' dropdown in the control panel and select 'user titles'. If you hacked everything correctly, there's an option to change the megamod's title to whatever you want.

Top
#153573 - 06/16/02 08:10 PM Re: [6.3.x] [beta] MegaMod
the_wiz Offline
Junior Member

Registered: 12/18/01
Posts: 24
thanks

Top
#153574 - 06/17/02 06:42 AM Re: [6.3.x] [beta] MegaMod
Oblivion Knight Offline
Spotlight Runner-Up

Registered: 03/27/02
Posts: 422
Loc: England, UK
[code][/code]LK, that was meant as a demostration. Not an actual appliable fix! tipsy [/b]</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">Whoops.. Forgot about that one.. shocked
Awesome work brett, I think it's working flawlessly now (for the first time ever)..
_________________________
- 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
#153575 - 06/18/02 06:30 AM Re: [6.3.x] [beta] MegaMod
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Good to hear it's all fixed, I think it's safe to install now. laugh

Top
#153576 - 07/01/02 07:07 PM Re: [6.3.x] [beta] MegaMod
Orb Offline
Member

Registered: 12/13/00
Posts: 52
Loc: London,England
great hack thanks for bringing it to 6.3

this is not realy a problem with megaods rather than an adition to our megamods
ive created another user group called semiadmins
i modified what i could of your files(sorry if this is bad but i was never planning on shareing with credit but yours)
it sets SemiAdministrator in the profile they have admin functions on the forum and there profile in cp shows SemiAdministrator
ive set up there cp access just like megamods but changing it for semiadmins
they can log into the cp fine but when trying to go to the req que it errors and says only admins and mods can perform this function and im locked out of the cp unless i close browesers down

any help would be great

Top
#153577 - 07/01/02 08:22 PM Re: [6.3.x] [beta] MegaMod
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Well, did you set ALL permissions correctly in cp.cgi?

Top
#153578 - 07/01/02 08:52 PM Re: [6.3.x] [beta] MegaMod
Orb Offline
Member

Registered: 12/13/00
Posts: 52
Loc: London,England
yups all permisions are set correctly its not the normal you dont have access for here msgs

im wondering if its a cookie issue or something as if i send someone the files im sure they would see them as fine as i do

Top
#153579 - 07/04/02 08:55 PM Re: [6.3.x] [beta] MegaMod
Orb Offline
Member

Registered: 12/13/00
Posts: 52
Loc: London,England
bumping up

Top
#153580 - 07/05/02 08:40 AM Re: [6.3.x] [beta] MegaMod
Oblivion Knight Offline
Spotlight Runner-Up

Registered: 03/27/02
Posts: 422
Loc: England, UK
Why would you want to bother going through all the coding again when you can just set the 'MegaMod' title to 'Semi Admin' and change the wordlet for it too..? Seems a bit bizarre.. 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
#153581 - 07/05/02 01:49 PM Re: [6.3.x] [beta] MegaMod
Orb Offline
Member

Registered: 12/13/00
Posts: 52
Loc: London,England
cause we want the megamods also
its just the nature of how ranks and things are for our forum
semiadmins are in charge of a whole section and need to be able to ban memebers aprove them etc

megamods are just below semiadmins in rank and need less cp access but still need it

Top
#153582 - 07/05/02 03:55 PM Re: [6.3.x] [beta] MegaMod
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
I sorta see what your shooting at Orb.

It'll be ready tonight.

Top
#153583 - 07/05/02 04:12 PM Re: [6.3.x] [beta] MegaMod
Orb Offline
Member

Registered: 12/13/00
Posts: 52
Loc: London,England
ahhhhhh
thank you thank you thank you

Top
#153584 - 07/05/02 05:27 PM Re: [6.3.x] [beta] MegaMod
Brett Offline
Moderator

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

Top
#153585 - 07/05/02 06:15 PM Re: [6.3.x] [beta] MegaMod
Orb Offline
Member

Registered: 12/13/00
Posts: 52
Loc: London,England
thanks for this i apreciate it
but im getting this error when i try and set a semiadmin or a megamod

cp_megamods.cgi: syntax error at /home/sites/site4/web/ubb6.3/cgi-bin/cp_megamods.cgi line 44, near ""1;n";"

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

Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
opps, ok should be fixed.

Zip file updated. Orb, just reupload cp_megamods.cgi.

Top
#153587 - 07/05/02 07:29 PM Re: [6.3.x] [beta] MegaMod
Orb Offline
Member

Registered: 12/13/00
Posts: 52
Loc: London,England
yups that fixed the megamods
semiadmins gives no errors but it doesnt write anything if you go back and look theres no semiadmins set

Top
#153588 - 07/06/02 07:46 PM Re: [6.3.x] [beta] MegaMod
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
Oh, jeez idiot me shocked

Orb, in cp_megamods.cgi
[code][/code]Zip file updated with the fix. I don't see any further errors. Sorry about that.

Top
#153589 - 07/07/02 06:23 PM Re: [6.3.x] [beta] MegaMod
Orb Offline
Member

Registered: 12/13/00
Posts: 52
Loc: London,England
thanks again for the work on this
it sets semi admins now but i can only set one if i set another it removes the first one i set

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

Registered: 03/27/02
Posts: 422
Loc: England, UK
We've hit a problem with MegaMods so it's not 100% bug free yet.

When i revoke an Admin or a Mod, the MegaMods also get revoked (this doesn't happen every time, only occasionally). There is obviously a caching problem somewhere, or rebuilding member stats or something along the lines of it.. I'll have a look at some of the coding tonight and see if I can come up with anything. Just thought I would report the problem.
_________________________
- 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
#153591 - 07/09/02 01:10 PM Re: [6.3.x] [beta] MegaMod
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
Zip File updated with some cleaned up coding that i was using from that semiadmin thing. Maybe this'll help.

Top
#153592 - 07/14/02 04:27 AM Re: [6.3.x] [beta] MegaMod
Oblivion Knight Offline
Spotlight Runner-Up

Registered: 03/27/02
Posts: 422
Loc: England, UK
Will i have to re-hack all files, certain files or just upload updated files contained in the zip?
_________________________
- 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
#153593 - 07/15/02 10:45 AM Re: [6.3.x] [beta] MegaMod
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
Just upload the files, the hacking is the same.

Top
#153594 - 08/07/02 04:20 AM Re: [6.3.x] [beta] MegaMod
mark99 Offline
Member

Registered: 03/11/01
Posts: 314
Does this work with v6.3.1?

Top
#153595 - 08/07/02 12:52 PM Re: [6.3.x] [beta] MegaMod
ViRuS2k Offline
Member

Registered: 03/09/01
Posts: 32
Loc: ????????
can someone please tell me how to add more mods in the cp pannel please !!! 7 isnt enough for me !!! i have 11 mods frown

what files do i need to rehack and what code do i put in tnx ???

Top
#153596 - 08/07/02 01:21 PM Re: [6.3.x] [beta] MegaMod
Ron M Offline
Admin Emeritus
Developer

Registered: 11/29/01
Posts: 789
Loc: Des Moines, IA
Quote:
quote:
Originally posted by ViRuS2k:
can someone please tell me how to add more mods in the cp pannel please !!! 7 isnt enough for me !!! i have 11 mods frown

what files do i need to rehack and what code do i put in tnx ???
There is another hack for this. Search this forum for 8 mod and you should be surprised
_________________________
http://thegeeksinc.com
[img]http://www.ubbdev.com/ud/?u=Sub_Zero&s=1[/img] points generated

Top
#153597 - 08/08/02 02:36 AM Re: [6.3.x] [beta] MegaMod
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Quote:
quote:
Originally posted by mark99:
Does this work with v6.3.1?
It should, may be a few tiny code changes but you can figure those out yourself with partial searching.

Top
#153598 - 08/08/02 05:24 AM Re: [6.3.x] [beta] MegaMod
mark99 Offline
Member

Registered: 03/11/01
Posts: 314
Found a bug and a few instruction problems, so I'll note them down to save you some time:

1) If you make a member a MegaMod and then authorize them to access a private forum, this turns them back into an ordinary member. Can be fixed by updating the CP MegaMods list a second time, just tedious.

2) The list of files to be edited in your instructions is missing a ton, it should be:

CGI-BIN:
cp.cgi
cp_forums.cgi
ubb_lib.cgi
ubb_lib_posting.cgi
ubb_lib_secgroups.cgi
ubb_new_reply.cgi
ubb_new_topic.cgi
ubb_pm.cgi
ubb_pntf.cgi
ubb_poll.cgi
ubb_profile.cgi
vars_worldslets_cp.cgi (no need for vars_worldlets.cgi to be listed, not edited)

Templates:
cp_common.pl
cp_user_titles.pl
cp_vars_avatar.pl

3) You should also try to fix some of the first 50% of instructions, which seem to have line breaks and could cause problems for those less familiar with UBB HAcking.

Otherwise all is fine, hope that's of some help.

Top
#153599 - 08/09/02 07:59 PM Re: [6.3.x] [beta] MegaMod
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
Alrighty, just updated zip to 6.3.1 standings to match it's new stylesheet, and wordletized everything.

mark99, do this fix for your problem #1:
Quote:
quote:

in cp_users.cgi

###FIND:

# prepare forum permissions array, if not an admin
if ($user_profile[8] ne "Administrator") {

###REPLACE WITH:

# prepare forum permissions array, if not an admin
if ($user_profile[8] eq 'Administrator' | 'MegaModerator') {

Top
#153600 - 08/11/02 04:23 AM Re: [6.3.x] [beta] MegaMod
mark99 Offline
Member

Registered: 03/11/01
Posts: 314
Now I've got a new bug (might of been there before the above change, not sure).

While all my forums normal Mods are listed as such in the Control Panel, now on their profiles it only shows they normal 'Custom Title' and no 'Moderator' tag.

Top
#153601 - 08/11/02 03:37 PM Re: [6.3.x] [beta] MegaMod
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
Does everyother status(including megamods) show the correct status?

Top
#153602 - 08/12/02 03:06 AM Re: [6.3.x] [beta] MegaMod
mark99 Offline
Member

Registered: 03/11/01
Posts: 314
Seems to, only mods appear to have the problem, although for some reason one of my 8 mods shows the normal 'Moderator' title just fine, yet the rest have reverted back to the standard 'Custom Titles' by post count.

They're still mods, it just doesn't show.

Top
#153603 - 08/12/02 08:42 PM Re: [6.3.x] [beta] MegaMod
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
I get an error that says...

Code:
syntax error at /usr/local/psa/home/vhosts/netwerkin.com/httpdocs/noncgi/Templates/cp_vars_megamods.pl line 16, near "// chomp"

syntax error at /usr/local/psa/home/vhosts/netwerkin.com/httpdocs/noncgi/Templates/cp_vars_megamods.pl line 20, near "}"
It seems odd since that is the file you included in the zip, I didn't edit it.
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#153604 - 08/13/02 05:48 AM Re: [6.3.x] [beta] MegaMod
Oblivion Knight Offline
Spotlight Runner-Up

Registered: 03/27/02
Posts: 422
Loc: England, UK
Ok, with a few bug fixes of my own I've nearly got it working on 6.3.1.. I have one last problem in the MegaModerator settings with permissions.. When I set MegaMods it works fine, I re-enter the settings and I get the following error:

Quote:
quote:
You do not have permission to access this area.

» Use your browser's back button to return.
.

I re-enter the MegaModerator settings again none of the MegaMods I set are there..
Any ideas..? help
_________________________
- 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
#153605 - 08/13/02 08:10 AM Re: [6.3.x] [beta] MegaMod
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
I was able to get past the error if I commented that line out but I have the same problem. after I set the megamods only 1 stays, and thats the second one in the top row. If I only set one then it seems fine (haven't gone far enough to see if he can mod) but if I set more than one then it get's messed up.

The vars_megamods.cgi contains this if I set only one...

Quote:
code:</font><hr />
Code:
$Megamoderator = "00000001";
<hr /></blockquote>But it contains this if I set more than one...

<blockquote><font class="small">code:
[qb]
Code:
$Megamoderator = "&#0124;&#0124;^&#0124;&#0124;00000012";
[/qb]
Remember that I had to comment out this line in cp_vars_megamod.pl to even be able to set the megamods.

Code:
// chomp, chomp, chomp
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#153606 - 08/13/02 08:21 AM Re: [6.3.x] [beta] MegaMod
Oblivion Knight Offline
Spotlight Runner-Up

Registered: 03/27/02
Posts: 422
Loc: England, UK
Heh.. TheX beat me to my lame fix.. laugh
_________________________
- 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
#153607 - 08/13/02 08:28 AM Re: [6.3.x] [beta] MegaMod
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
Mine didn't work...I was just putting your profile fix in.

Edit: I put the code in that you posted for the profile file and I still only get the same conditions I posted above.
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#153608 - 08/13/02 08:36 AM Re: [6.3.x] [beta] MegaMod
Oblivion Knight Offline
Spotlight Runner-Up

Registered: 03/27/02
Posts: 422
Loc: England, UK
The profile was for a separate error that I recieved whereby nobody could enter their profile to edit it, or view other users profiles.. wink . I'm going to contact LK and see if he can show us the way.. I'm impatient and don't want to wait any longer than I have to.. laugh
_________________________
- 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
#153609 - 08/13/02 08:45 AM Re: [6.3.x] [beta] MegaMod
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
I have a great need for this hack. I don't surf the board as an admin (to prevent admin cookie theft) and I don't want to have my name listed in every forum as a moderator.
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#153610 - 08/13/02 09:07 AM Re: [6.3.x] [beta] MegaMod
Oblivion Knight Offline
Spotlight Runner-Up

Registered: 03/27/02
Posts: 422
Loc: England, UK
*Download removed*
_________________________
- 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
#153611 - 08/13/02 10:47 AM Re: [6.3.x] [beta] MegaMod
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
I updated my files and now I don't get any errors but even though I'm listed as a megamod my password is still viewable in the CP and my status is blank. I have no mod powers either. I just rehacked and get the same thing.
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#153612 - 08/13/02 11:45 AM Re: [6.3.x] [beta] MegaMod
mark99 Offline
Member

Registered: 03/11/01
Posts: 314
Looks as if the bugs are piling up, seem to be a couple of issues new with 'Status' titles and so forth among others mentioned above. Hope brett can find some fixes.

Top
#153613 - 08/13/02 12:44 PM Re: [6.3.x] [beta] MegaMod
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
I have one more to add. When I have the hack installed the moderators passwords become viewable in the CP.

I'm going to rehack the files one more time but I'm "almost" certain that I've done it right.
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#153614 - 08/13/02 12:49 PM Re: [6.3.x] [beta] MegaMod
Oblivion Knight Offline
Spotlight Runner-Up

Registered: 03/27/02
Posts: 422
Loc: England, UK
MegaMod for 6.3.1 is officially screwed at the moment.. frown
You're right.. MegaMods have the status, but not the powers..
_________________________
- 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
#153615 - 08/13/02 01:24 PM Re: [6.3.x] [beta] MegaMod
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
Well, you did better than I did. I couldn't get them to show the status. Once I uploaded the backup files though the moderators passwords became hidden again.
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#153616 - 08/13/02 02:25 PM Re: [6.3.x] [beta] MegaMod
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
OMG! I was in PHP mode on that comment thing. hehe... ahh.. shocked

Anyways, i caught myself on some errors. I'm very sorry on this, as i don't have anyhost yet to test these on.

Zip updated, everyone will have to rehack. frown

Top
#153617 - 08/13/02 02:41 PM Re: [6.3.x] [beta] MegaMod
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
Nope, no go. It list the people as mega-mods but they have no mod powers. It also unhides the moderator passwords in the CP.

Edit: It's also back to saying that the admin doesn't have permission to go back to the megamoderator settings.
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#153618 - 08/13/02 02:50 PM Re: [6.3.x] [beta] MegaMod
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
Alright, i didn't think the paranthesis made much difference.

Alright try the updated txt file in the new zip.

EDIT: TheX, that's a typo in cp_megamods.cgi, at the very bottom where it says "$vars_config{CGIURL}/cp.cgi?ubb=vars_megamods", it should be "$vars_config{CGIURL}/cp.cgi?ubb=vars_megamod". This is fixed with the zip.

Wow, guess i didn't put in as much time as i should have. Sorry again for the troubles. frown

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

Registered: 03/27/02
Posts: 422
Loc: England, UK
I downgraded to 6.3.0 again and used the original version that you made for 6.3.x.. At least that one's working to a point (MegaMod's sometimes lose power, but are given it back again when megamoderator settings have been updated). I also noticed that your original "fixes" for this problem that you posted earlier don't work either.. 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
#153620 - 08/13/02 05:47 PM Re: [6.3.x] [beta] MegaMod
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
Okay, I just rehacked everything and uploaded the files and......

BLAM (thanks Bookie) everything works. Thanks so much. I'll hammer on the boards tonight and give report on the progress later...

So far, so good...

Edit: I got the WOL list for pntf working so megamods can see IP addresses if anybody wants it.
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#153621 - 08/13/02 07:40 PM Re: [6.3.x] [beta] MegaMod
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
Sorry, I did find an error. I was so happy about the mod working I forgot to open my profile (it didn't work). The instructions say to do this in ubb_profile.cgi

Quote:
code:</font><hr />
Code:
###FIND:

		if($viewer_profile[8] eq 'Administrator') {
			%pntf_info = %{ $PNTF->examine3_user4admin($in{u}) };
			$pntf_show++ if %pntf_info;
		} elsif(($vars_pntf{LastSeen} eq "yes") && ($viewer_profile[8] ne 'Administrator')) {

###REPLACE WITH:

		if($viewer_profile[8] eq 'Administrator' | 'MegaModerator')) {
			%pntf_info = %{ $PNTF->examine3_user4admin($in{u}) };
			$pntf_show++ if %pntf_info;
		} elsif(($vars_pntf{LastSeen} eq "yes") && ($viewer_profile[8] ne 'Administrator' &#0124;&#0124; $viewer_profile[8] ne 'MegaModerator')) {
<hr /></blockquote>That didn't work, do this instead...

<blockquote><font class="small">code:
[qb]
Code:
###FIND:

		if($viewer_profile[8] eq 'Administrator') {
			%pntf_info = %{ $PNTF->examine3_user4admin($in{u}) };
			$pntf_show++ if %pntf_info;
		} elsif(($vars_pntf{LastSeen} eq "yes") && ($viewer_profile[8] ne 'Administrator')) {

###REPLACE WITH:

		if($viewer_profile[8] eq 'Administrator' | 'MegaModerator') {
			%pntf_info = %{ $PNTF->examine3_user4admin($in{u}) };
			$pntf_show++ if %pntf_info;
		} elsif(($vars_pntf{LastSeen} eq "yes") && ($viewer_profile[8] ne 'Administrator' &#0124;&#0124; $viewer_profile[8] ne 'MegaModerator')) {
[/qb]
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#153622 - 08/13/02 08:42 PM Re: [6.3.x] [beta] MegaMod
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
Wait, I just saw that and updated the zip.

You'd better do this:
Code:
###FIND:

		if($viewer_profile[8] eq 'Administrator') {
			%pntf_info = %{ $PNTF->examine3_user4admin($in{u}) };
			$pntf_show++ if %pntf_info;
		} elsif(($vars_pntf{LastSeen} eq "yes") && ($viewer_profile[8] ne 'Administrator')) {

###REPLACE WITH:

		if($viewer_profile[8] eq 'Administrator' &#0124;&#0124; $viewer_profile[8] eq 'MegaModerator')) {
			%pntf_info = %{ $PNTF->examine3_user4admin($in{u}) };
			$pntf_show++ if %pntf_info;
		} elsif(($vars_pntf{LastSeen} eq "yes") && ($viewer_profile[8] ne 'Administrator' &#0124;&#0124; $viewer_profile[8] ne 'MegaModerator')) {

Top
#153623 - 08/13/02 08:50 PM Re: [6.3.x] [beta] MegaMod
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
There is still an extra bracket in there.

this...

Quote:
code:</font><hr />
Code:
if($viewer_profile[8] eq 'Administrator' &#0124;&#0124; $viewer_profile[8] eq 'MegaModerator')) {
<hr /></blockquote>Should be this...

<blockquote><font class="small">code:
[qb]
Code:
if($viewer_profile[8] eq 'Administrator' &#0124;&#0124; $viewer_profile[8] eq 'MegaModerator') {
[/qb]
Edit: it is working great though...excellent hack.
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#153624 - 08/14/02 03:18 AM Re: [6.3.x] [beta] MegaMod
Oblivion Knight Offline
Spotlight Runner-Up

Registered: 03/27/02
Posts: 422
Loc: England, UK
Will the updated cp_megamods.cgi still work with the 6.3.0 version..?
I'm trying to kill the caching problem with setting megamods and then losing their power.. smile
_________________________
- 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
#153625 - 08/14/02 10:47 AM Re: [6.3.x] [beta] MegaMod
mark99 Offline
Member

Registered: 03/11/01
Posts: 314
Has the 'Moderators' loosing their status bug been fixed as well?

Top
#153626 - 08/14/02 10:59 AM Re: [6.3.x] [beta] MegaMod
mark99 Offline
Member

Registered: 03/11/01
Posts: 314
Here's an example and remember that for some unusual reason a few moderators are fine, yet some have the bug - no amount of profile, cache, Megamod or moderator listing updates will fix it.

Note Armenger in this topic:

http://www.ispreview.co.uk/ubb2/ultimatebb.php?ubb=get_topic;f=145;t=000182

He's classified as an '!EXTREME Member!', yet he's actually a moderator and if you go into his profile...

http://www.ispreview.co.uk/cgi-bin/ubb2/ultimatebb.cgi?ubb=get_profile;u=00000146

Now he shows as one, yet not on the 'Public_Topic_Page'.

---

Actually that whole topic is the perfect example because it has mods where the status shows and others where it doesn't.

Top
#153627 - 08/14/02 02:12 PM Re: [6.3.x] [beta] MegaMod
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
ZIP updated again with TheX's fix.

I'm wondering if there's a new profile check that i'm not aware of, i'm re-going over the secgroups.cgi, new_reply.cgi, and lib.cgi files.

Top
#153628 - 08/14/02 02:31 PM Re: [6.3.x] [beta] MegaMod
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
I'm not having a problem with the status changing, but it would be nice if the dropdown box on the extended search options page for the view/edit members in the CP had megamods on it.
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#153629 - 08/16/02 03:26 AM Re: [6.3.x] [beta] MegaMod
mark99 Offline
Member

Registered: 03/11/01
Posts: 314
Bump.

Top
#153630 - 08/17/02 06:29 AM Re: [6.3.x] [beta] MegaMod
Da Wacko Offline
Junior Member

Registered: 07/06/02
Posts: 17
It also works in Ubb 6.3.0, but, a minor edit was neccesary:

In Cp_user_titles.pl

Quote:
code:</font><hr />
Code:
 ###FIND:

&RegField($vars_wordlets_cp{user_titles_mod_title}, "ModeratorTitle", "yes", "40", "1000", "", UBBCGI::escapeHTML($vars_misc{ModeratorTitle}), 3);

###ADD UNDER:

&AlternateColors;
&RegField($vars_wordlets_cp{user_titles_megamod_title}, "MegaModeratorTitle", "yes", "40", "1000", "", UBBCGI::escapeHTML($vars_misc{MegaModeratorTitle}), 3); 
<hr /></blockquote>HAS TO BE

<blockquote><font class="small">code:
[qb]
Code:
 ###FIND:

&RegField($vars_wordlets_cp{user_titles_mod_title}, "ModeratorTitle", "yes", "40", "1000", "", UBBCGI::escapeHTML($vars_misc{ModeratorTitle}), 3);

###ADD UNDER:

&RegField($vars_wordlets_cp{user_titles_megamod_title}, "MegaModeratorTitle", "yes", "40", "1000", "", UBBCGI::escapeHTML($vars_misc{MegaModeratorTitle}), 3); 
[/qb]
but, thanks for this great hack! smile
_________________________
i was X-tend, but i lost my mail and password frown

Top
#153631 - 08/17/02 07:27 AM Re: [6.3.x] [beta] MegaMod
mark99 Offline
Member

Registered: 03/11/01
Posts: 314
Just wait until the bugs start to kick in after a few days of usage =).

I finally gave in and removed all the code and files, it's just no good under 6.3.1 yet. Soo many issues with status and authority, it even turned my admins into mods at one point. Thank god for backups.

Top
#153632 - 08/17/02 07:29 AM Re: [6.3.x] [beta] MegaMod
Da Wacko Offline
Junior Member

Registered: 07/06/02
Posts: 17
it works perfectley on 6.3.0...
_________________________
i was X-tend, but i lost my mail and password frown

Top
#153633 - 08/17/02 08:50 PM Re: [6.3.x] [beta] MegaMod
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
No bugs to report for me either...works perfectly.
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#153634 - 08/18/02 04:26 AM Re: [6.3.x] [beta] MegaMod
mark99 Offline
Member

Registered: 03/11/01
Posts: 314
Perfectly on 6.3.1?

Hmm once you remove it some of the moderator authority bugs still exist - ugg.. hope my backup member profiles work.

Top
#153635 - 08/18/02 04:44 AM Re: [6.3.x] [beta] MegaMod
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
It should, but the CP vars Template files went through alot of changes between 6.3.0 - 6.3.1 so there may be little changes in the find code.

Top
#153636 - 08/18/02 02:59 PM Re: [6.3.x] [beta] MegaMod
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
Quote:
quote:
Originally posted by mark99:
Perfectly on 6.3.1?

Hmm once you remove it some of the moderator authority bugs still exist - ugg.. hope my backup member profiles work.
If you have problems with the member files you can edit the files of the people that you made MegaMods to fix it. I honestly have not had a single problem yet since the last try.

I have had a large amount of problems with this hack since 6.04 and have installed and removed it many times. I'm very familiar with the issues it can cause and have not entered this blindly.
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#153637 - 08/24/02 10:14 PM Re: [6.3.x] [beta] MegaMod
Brick Offline
Junior Member

Registered: 08/24/02
Posts: 1
Hi folks

I'm still not exactly clear what this mod will allow...

I need to set up a custom group below Moderators, who have access to perks like custom avatars and posting polls, but with no moderation or Admin ability. Will this mod do this?

It would be great to able to set these kind of permissions for each forum, like phpBB2 can do.

Thanks in advance. smile

Top
#153638 - 08/26/02 07:47 AM Re: [6.3.x] [beta] MegaMod
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
No, this mod gives global moderator powers.
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#153639 - 09/06/02 04:28 AM Re: [6.3.x] [beta] MegaMod
the_wiz Offline
Junior Member

Registered: 12/18/01
Posts: 24
the link is down anyone have the link for this?

Top
#153640 - 09/15/02 03:50 PM Re: [6.3.x] [beta] MegaMod
Oblivion Knight Offline
Spotlight Runner-Up

Registered: 03/27/02
Posts: 422
Loc: England, UK
_________________________
- 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
#153641 - 09/15/02 06:41 PM Re: [6.3.x] [beta] MegaMod
Oblivion Knight Offline
Spotlight Runner-Up

Registered: 03/27/02
Posts: 422
Loc: England, UK
*sigh*
I have a problem with the latest zip file..

Quote:
quote:</font><hr />error [C:/Andrew's Folder/UBB Hacks/UBB 6.3/megamod6.3.1.zip]: missing 1 bytes in Zip file (attempting to process anyway).<hr /></blockquote> <blockquote><font class="small">quote:
[qb]Cannot open file: it does not appear to be a valid archive.

If you downloaded this file, try downloading the file again.[/qb]
_________________________
- 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
#153642 - 09/15/02 06:49 PM Re: [6.3.x] [beta] MegaMod
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
fixed it smile

Top
#153643 - 09/16/02 03:28 AM Re: [6.3.x] [beta] MegaMod
Oblivion Knight Offline
Spotlight Runner-Up

Registered: 03/27/02
Posts: 422
Loc: England, UK
Found a couple of bugs..
Fixing these also fixed the problem I had last night that we discussed on AIM smile

In ubb_lib.cgi

This:
Quote:
code:</font><hr />
Code:
	if (($profile[8] eq 'Administrator') &#0124;&#0124; ($user_profile[8] eq 'MegaModerator')) {
<hr /></blockquote>.

Should be:
<blockquote><font class="small">code:
[qb]
Code:
	if (($profile[8] eq 'Administrator') &#0124;&#0124; ($profile[8] eq 'MegaModerator')) {
[/qb]
.

This:
Quote:
code:</font><hr />
Code:
	unless (($profile[8] eq 'Administrator') &#0124;&#0124; ($user_profile[8] eq 'MegaModerator')) {
<hr /></blockquote>.

Should be:
<blockquote><font class="small">code:
[qb]
Code:
	unless (($profile[8] eq 'Administrator') &#0124;&#0124; ($profile[8] eq 'MegaModerator')) {
[/qb]
.

In ubb_profile.cgi

This:
Quote:
code:</font><hr />
Code:
		if(($viewer_profile[8] eq 'Administrator') &#0124;&#0124; ($user_profile[8] eq 'MegaModerator') &#0124;&#0124; ($user_profile[8] eq 'Moderator')) {
<hr /></blockquote>.

Should be:
<blockquote><font class="small">code:
[qb]
Code:
		if (($viewer_profile[8] eq 'Administrator') &#0124;&#0124; ($viewer_profile[8] eq 'MegaModerator') &#0124;&#0124; ($viewer_profile[8] eq 'Moderator')) {
[/qb]
.

You're welcome.. 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
#153644 - 09/23/02 03:53 AM Re: [6.3.x] [beta] MegaMod
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5287
Loc: Portland, OR, USA
Link doens't work, can someone email gizmo[at]undergroundnews[dot]com with this hack please? Its beginning to seem standard that everyone's sites are down lol...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#153645 - 10/05/02 07:23 PM Re: [6.3.x] [beta] MegaMod
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
Quote:
quote:
Originally posted by Gizzy:
Link doens't work, can someone email gizmo@undergroundnews.com with this hack please? Its beginning to seem standard that everyone's sites are down lol...
File Updated. The link works now.

Top
#153646 - 10/07/02 06:27 PM Re: [6.3.x] [beta] MegaMod
sfpunk_dave Offline
Junior Member

Registered: 10/03/02
Posts: 24
Loc: SC
It says the zip file is corrupt when I go to extract it. frown
_________________________

Top
#153647 - 10/07/02 09:21 PM Re: [6.3.x] [beta] MegaMod
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
Sorry, (forgot to put it in binary mode)

Should work now. smile

Top
#153648 - 10/09/02 02:18 AM Re: [6.3.x] [beta] MegaMod
sfpunk_dave Offline
Junior Member

Registered: 10/03/02
Posts: 24
Loc: SC
Thanks, it now extracts. smile
_________________________

Top
#153649 - 11/22/02 01:57 PM Re: [6.3.x] [beta] MegaMod
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
The mod has been upgraded and tested it on 6.3.1.2.

Top
#153650 - 11/22/02 02:43 PM Re: [6.3.x] [beta] MegaMod
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
brett, can you please make your siggy 150x50? I mean I use 1280x1024 resolution and your sig image is still too big tipsy

Anyhow, very nice hack smile I don't like the concept of mega moderators (also in other BB software), but I like how you did it as a hack.
_________________________

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

Top
#153651 - 11/22/02 04:02 PM Re: [6.3.x] [beta] MegaMod
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
One of these days, i'll get a sig that fits!

BTW Thanks LK smile

Top
#153652 - 11/26/02 09:39 PM Re: [6.3.x] [beta] MegaMod
Dark Templar Offline
Member

Registered: 09/30/00
Posts: 982
Loc: California | Retired UBB Hacke...
Looks good. Will most likely install it tomorrow smile
_________________________
-DT

Top
#153653 - 11/27/02 10:28 PM Re: [6.3.x] [beta] MegaMod
Dark Templar Offline
Member

Registered: 09/30/00
Posts: 982
Loc: California | Retired UBB Hacke...
Brett:
Two problems I've found:

1- simply removing that megamod from the list does not take away their megamod status from their profile
2- if you do a 'member search', and the results contain a megamod, and you click 'submit' (without clicking their member number, that is), their megamod profile status vanishes, but they are still listed as a megamod in the megamod settings only.

Suggestion to fix both of them:

An older version of the mega mod hack allowed you to select 'mega mod' in the Administrator? Yes/No radio buttons. Moving the enabling mega moderator code into that, and that should kill two birds with one stone. After doing this you may need to add some coding to the area of the member database editing that displays results.

Other than that, great job!
_________________________
-DT

Top
#153654 - 12/08/02 08:36 PM Re: [6.3.x] [beta] MegaMod
Neo11223 Offline
Junior Member

Registered: 03/24/02
Posts: 18
Help!

I installed the hack everything is working nicely, EXCEPT, you knew it was coming smile ... I can add the top row of mods in the settings but when I add member numbers to the bottom row they just dissapear, what did i mess up this time ??

Top
#153655 - 12/09/02 09:26 PM Re: [6.3.x] [beta] MegaMod
Neo11223 Offline
Junior Member

Registered: 03/24/02
Posts: 18
bump

Top
#153656 - 12/10/02 04:11 PM Re: [6.3.x] [beta] MegaMod
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
I'm not getting Neo11223's problem, i've tried over and over to try but failed? Have you gotten the latest zip?

Quote:
quote:
[qb]Originally posted by Dark Templar[qb]:
An older version of the mega mod hack allowed you to select 'mega mod' in the Administrator? Yes/No radio buttons. Moving the enabling mega moderator code into that, and that should kill two birds with one stone. After doing this you may need to add some coding to the area of the member database editing that displays results.
Al bundy's hack for 6.0 just added the megamod text boxs the moderator page, not the member search, unless your refering to a 5.0 version for which i wouldn't know. Anyway, where's the fun in doing it like that tipsy wink

I also am seeing the deleting problem. When i get back form work tonight, i'll take a closer look at it.

Top
#153657 - 12/10/02 05:50 PM Re: [6.3.x] [beta] MegaMod
Neo11223 Offline
Junior Member

Registered: 03/24/02
Posts: 18
Can you link me to a completed version to download.

Top
#153658 - 12/12/02 08:02 PM Re: [6.3.x] [beta] MegaMod
Dark Templar Offline
Member

Registered: 09/30/00
Posts: 982
Loc: California | Retired UBB Hacke...
It was the 5.45x version that I worked with that had the radio button choice. Personally, I like it that way; makes it much easier to use for me.
_________________________
-DT

Top
#153659 - 12/26/02 09:46 PM Re: [6.3.x] [beta] MegaMod
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5287
Loc: Portland, OR, USA
Brett, sorry to say, 7:46pm PST, your URL still doesn't work.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#153660 - 12/27/02 04:46 PM Re: [6.3.x] [beta] MegaMod
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5287
Loc: Portland, OR, USA
I see a large error in the coding. I was running this on 6.3.0 6.3.1 and even on my 6.4 test board, I followed the directions to a "T".

Well, when you're an Administrator (or a global moderator) and you are listed as a moderator of a forum (generally after the moderator page is updated) it'll over-write your forum status as "Moderator" which is quite a pain to have to re-upload your administrator file to get ones access level back.

Does anyone have a patch for this? I know that it is in this hack since everything worked fine on all of my forums before testing this hack.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#153661 - 12/28/02 12:49 AM Re: [6.3.x] [beta] MegaMod
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
My site went down due to overbandwidth a couple of days ago wink and will be up on the first. Sorry for the inconvience.

Top
#153662 - 01/04/03 01:20 AM Re: [6.3.x] [beta] MegaMod
Kronic Offline
Junior Member

Registered: 11/03/02
Posts: 6
I do have one question, is someone going to fix the problem of not being able to demote someone from the megamod position before this get's ported to 6.4. Just curious?

Top
#153663 - 01/28/03 03:32 AM Re: [6.3.x] [beta] MegaMod
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
I have updated this, fixing the demodding bug. As to my knowledge, that was the only bug.

Top
#153664 - 06/11/03 03:34 PM Re: [6.3.x] [beta] MegaMod
tgreene Offline
Member

Registered: 11/28/02
Posts: 187
Loc: Jonesboro, Arkansas
Is it possible to increase the number of Megamods from 8 to 12..?

Top
#153665 - 08/11/03 12:01 AM Re: [6.3.x] [beta] MegaMod
havoq Offline
Member

Registered: 09/11/01
Posts: 667
Loc: MI
need a link...
_________________________
-Jon
I have a measly [img]http://www.ubbdev.com/ud/?u=chugger93&s=1[/img] points, it's weak, I know wink
Where I continue to hack, even though it's a state of mind

Top
#153666 - 08/11/03 01:02 AM Re: [6.3.x] [beta] MegaMod
Brett Offline
Moderator

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

Top
#153667 - 09/05/03 06:25 PM Re: [6.3.x] [beta] MegaMod
BUZN_WILDLY Offline
Junior Member

Registered: 05/24/03
Posts: 19
Loc: Ont.
Wow sweet hack...
Thanks a ton
I'm going to putting this one to use!

Top
#153668 - 10/06/03 06:23 PM Re: [6.3.x] [beta] MegaMod
rockwell Offline
Junior Member

Registered: 05/03/02
Posts: 15
An error has occurred:

/ubb/Templates/cp_vars_megamods.pl: syntax error at /ubb/Templates/cp_vars_megamods.pl line 16, near "// chomp"
syntax error at /ubb/Templates/cp_vars_megamods.pl line 20, near "}"

Top
#153669 - 10/20/04 11:16 PM Re: [6.3.x] [beta] MegaMod
eXtremeTim Offline
Member

Registered: 10/13/01
Posts: 544
I could use this hack if somebody has this one still hanging around.
_________________________
United Devices Points: [img]http://www.ubbdev.com/ud/?u=extremetim&s=1[/img]

Top
#153670 - 10/21/04 02:29 AM Re: [6.3.x] [beta] MegaMod
Brett Offline
Moderator

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

Top
#153671 - 10/25/04 08:07 PM Re: [6.3.x] [beta] MegaMod
eXtremeTim Offline
Member

Registered: 10/13/01
Posts: 544
Thanks
_________________________
United Devices Points: [img]http://www.ubbdev.com/ud/?u=extremetim&s=1[/img]

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


Who's Online
0 registered (), 26 Guests and 20 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] Halloween
by
10/11/06 04:03 PM
[7.x] [Pre-7.3] [Final] pJIRC Addon v0.5
by
07/30/06 10:42 PM
Newest Members
Vick, Bartman, Infinity Master, Cry0, Romeos Tune
13494 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
13495 Members
59 Forums
37114 Topics
290378 Posts

Max Online: 686 @ 06/28/07 07:04 AM
Featured Member
Registered: 05/01/01
Posts: 686

 

 

 
fusionbb message board php hacks