php forum
php mysql forum
php mysql smarty
 
Page 4 of 7 < 1 2 3 4 5 6 7 >
Topic Options
#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: Twinsburg, Ohio
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: Twinsburg, Ohio
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: Twinsburg, Ohio
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
Page 4 of 7 < 1 2 3 4 5 6 7 >


Who's Online
0 registered (), 29 Guests and 13 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
How to hide sub forums from summary page
by Ruben Rocha
Today at 02:58 PM
Spell Check [beta]
by Bill B
Yesterday at 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
Yesterday at 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
Yesterday at 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
Yesterday at 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
David DelMonte, nick1, Begbie, cenk, MATTO
13363 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks