[2.0.10] Moderator CP

The cleanup is complete. This forum is now read only.

Rating:

Excellent!
95
65%
Very Good
27
18%
Good
13
9%
Fair
3
2%
Poor
9
6%
 
Total votes: 147

User avatar
milkman
Registered User
Posts: 165
Joined: Mon Nov 29, 2004 1:55 am
Location: Loughborough, UK
Contact:

Re: [2.0.10] Moderator CP

Post by milkman »

A_O_C wrote:not sure, i couldnt tell you cause i have it set up the way i want already. it could, however, be "user installation" errors. ;)
I agree... the mod asks you to replace
&& $userdata['user_level'] == ADMIN
with
&& ($userdata['user_level'] == ADMIN || has_perms())
That is
if( !$userdata['session_logged_in'] || (isset($HTTP_GET_VARS['admin']) && $userdata['session_logged_in'] && $userdata['user_level'] == ADMIN))
becomes
if( !$userdata['session_logged_in'] || (isset($HTTP_GET_VARS['admin']) && $userdata['session_logged_in'] && ($userdata['user_level'] == ADMIN || has_perms())))
Milkman [MilkHub]
obiewan
Registered User
Posts: 39
Joined: Fri Aug 04, 2006 6:55 pm
Location: The netherlands
Contact:

Re: [2.0.10] Moderator CP

Post by obiewan »

:lol: Well.... there is progress...


Right now i'm facing these errors:

Code: Select all

    Warning: Cannot modify header information - headers already sent by (output started at /var/accounts/CN20050060/www/forum/login.php:1) in /var/accounts/CN20050060/www/forum/includes/sessions.php on line 254


    Warning: Cannot modify header information - headers already sent by (output started at /var/accounts/CN20050060/www/forum/login.php:1) in /var/accounts/CN20050060/www/forum/includes/sessions.php on line 255


    Warning: Cannot modify header information - headers already sent by (output started at /var/accounts/CN20050060/www/forum/login.php:1) in /var/accounts/CN20050060/www/forum/includes/functions.php on line 1047
User avatar
milkman
Registered User
Posts: 165
Joined: Mon Nov 29, 2004 1:55 am
Location: Loughborough, UK
Contact:

Re: [2.0.10] Moderator CP

Post by milkman »

Looks like you've got a blank line or some white-space at the top of your login.php file, before the <?php.
Milkman [MilkHub]
obiewan
Registered User
Posts: 39
Joined: Fri Aug 04, 2006 6:55 pm
Location: The netherlands
Contact:

Re: [2.0.10] Moderator CP

Post by obiewan »

:oops: Damn... thanks again... i just took over the file.... I didn't look any further

*edit*
Now i'm doing some testing, and as a moderator...i do not see a link to the ModCP... but when i log in as admin... the admin link is gone... and the ModCP link appears :lol:
User avatar
milkman
Registered User
Posts: 165
Joined: Mon Nov 29, 2004 1:55 am
Location: Loughborough, UK
Contact:

Re: [2.0.10] Moderator CP

Post by milkman »

You need to have Moderator CP modules enabled in the ACP before the link will show to moderators. If your admins are seeing the modcp link then it suggests that your changes to page_tail went wrong :wink:
Milkman [MilkHub]
obiewan
Registered User
Posts: 39
Joined: Fri Aug 04, 2006 6:55 pm
Location: The netherlands
Contact:

Re: [2.0.10] Moderator CP

Post by obiewan »

8-) Correct, now I have done a poor job :mrgreen:

Thanks for your patience.. it works like a charm now
th3l33t1
Registered User
Posts: 87
Joined: Wed Jan 31, 2007 12:10 pm

Re: [2.0.10] Moderator CP

Post by th3l33t1 »

Hey, im trying to get this mod working on the F1 Subice theme, as i know its not designed for this theme. Everytime you load the moderator control panel its just all black, any idea how i can solve this problem?

,Thanks th3l33t1 :)

EDIT: Got it working now, sorry :oops:
User avatar
Xclavo
Registered User
Posts: 185
Joined: Thu Sep 20, 2007 1:54 am

Re: [2.0.10] Moderator CP

Post by Xclavo »

milkman, do you plan to continue supporting this MOD, i'm asking since it's in this particular forum.
User avatar
milkman
Registered User
Posts: 165
Joined: Mon Nov 29, 2004 1:55 am
Location: Loughborough, UK
Contact:

Re: [2.0.10] Moderator CP

Post by milkman »

I will try my best to support this mod but I'm unlikely to be doing any new developments with it (certainly for the foreseeable future).
Milkman [MilkHub]
dharmil
Registered User
Posts: 47
Joined: Sun Apr 10, 2005 6:06 am
Contact:

Re: [2.0.10] Moderator CP

Post by dharmil »

milkman ur link doesnt work :( any u give alternate link
User avatar
milkman
Registered User
Posts: 165
Joined: Mon Nov 29, 2004 1:55 am
Location: Loughborough, UK
Contact:

Re: [2.0.10] Moderator CP

Post by milkman »

dharmil wrote:milkman ur link doesnt work :( any u give alternate link
The link is back up; terribly sorry about that. :oops:
Milkman [MilkHub]
dharmil
Registered User
Posts: 47
Joined: Sun Apr 10, 2005 6:06 am
Contact:

Re: [2.0.10] Moderator CP

Post by dharmil »

Thanks for link i have reinstalled the mod now but still i get
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
User avatar
milkman
Registered User
Posts: 165
Joined: Mon Nov 29, 2004 1:55 am
Location: Loughborough, UK
Contact:

Re: [2.0.10] Moderator CP

Post by milkman »

Can you perhaps provide more information; does this happen all over your forum or just in the ModCP. Did you manage to configure the ModCP okay in the ACP? Is there anything in the Server Logs?
Milkman [MilkHub]
dharmil
Registered User
Posts: 47
Joined: Sun Apr 10, 2005 6:06 am
Contact:

Re: [2.0.10] Moderator CP

Post by dharmil »

this just happens for modcp i can edit stuff through acp all modules and stuff. I dont know how to see the serverlogs
User avatar
milkman
Registered User
Posts: 165
Joined: Mon Nov 29, 2004 1:55 am
Location: Loughborough, UK
Contact:

Re: [2.0.10] Moderator CP

Post by milkman »

I assume then that it is shared hosting; perhaps you could ask your host for some pointers to the logs. There is very little I can do to debug this without more information. Sorry.
Milkman [MilkHub]
Post Reply

Return to “[2.0.x] MOD Database Cleanup”