 | [Solved] Moderator CP MOD |  |
Posted: 04/24/2007 3:49 AM |
|
|
|
|
|
| Citation |
| Posts |
1017 |
| Word Cnt. |
64,643 |
| BDay |
Apr 18 |
| Sign |
Aries |
| Sex |
 |
|
|
|
Joined: Apr 01, 2007
Local time: 7:20 AM
Location: UNITED ARAB EMIRATES
|

|
|
|
|
 |
Hi
I just installed the Moderator CP MOD which is quite good for my moderators. They can now operation many things. The funniest thing and bad in this MOD is that only moderators can see this Moderator CP panel link at the bottom of forum page whereas support team, Main Moderator cannot see it! In MOD it says that the admin won't see the link. I tried my other ID to make it moderator than i can see the mod cp link at the bottom of forum but If i make myself Main MOD and gives the permission of any particular section to be the Moderator than I cannot see the link.
So is it possible that my Main Moderator can at least see and operate the MOD CP because he should have more authority than my normal moderators  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Moderator CP MOD |  |
Posted: 04/24/2007 3:51 AM |
|
|
|
|
|
| Citation |
| Posts |
1017 |
| Word Cnt. |
64,643 |
| BDay |
Apr 18 |
| Sign |
Aries |
| Sex |
 |
|
|
|
Joined: Apr 01, 2007
Local time: 7:20 AM
Location: UNITED ARAB EMIRATES
|

|
|
|
|
 |
If you want I can attach the MOD also but the MOD is already installed and working perfectly with normal moderators but not with Main MOD or Support team + Moderator  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Moderator CP MOD |  |
Posted: 04/24/2007 2:25 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 11:20 PM
Location: St Pete, FL
|

|
|
|
|
 |
If you want the Support and Main MOD to be able to see the ModCP link as well as make it available to Admins too, you can modify the code that was added to the includes/page_tail.php file to do this. This is what you can do:
OPEN
includes/page_tail.php
FIND
| Code:
|
|
$admin_link = ( $userdata['user_level'] == ADMIN ) ? '<a href="admin/index.' . $phpEx . '?sid=' . $userdata['session_id'] . '">' . $lang['Admin_panel'] . '</a><br /><br />' : ( ( $userdata['user_level'] == MOD ) ? '<a href="modcp/index.' . $phpEx . '?sid=' . $userdata['session_id'] . '">' . $lang['Mod_CP'] . '</a><br /><br />' : '' );
|
REPLACE WITH
| Code:
|
|
$admin_link = ( $userdata['user_level'] == ADMIN ) ? '<a href="admin/index.' . $phpEx . '?sid=' . $userdata['session_id'] . '">' . $lang['Admin_panel'] . '</a> : <a href="modcp/index.' . $phpEx . '?sid=' . $userdata['session_id'] . '">' . $lang['Mod_CP'] . '</a><<br /><br />' : ( (( $userdata['user_level'] == MOD ) || ( $userdata['user_level'] == MAIN_MOD ) || ( $userdata['user_level'] == SUPPORT ) ) ? '<a href="modcp/index.' . $phpEx . '?sid=' . $userdata['session_id'] . '">' . $lang['Mod_CP'] . '</a><br /><br />' : '' );
|
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Moderator CP MOD |  |
Posted: 04/24/2007 4:21 PM |
|
|
|
|
|
| Citation |
| Posts |
1017 |
| Word Cnt. |
64,643 |
| BDay |
Apr 18 |
| Sign |
Aries |
| Sex |
 |
|
|
|
Joined: Apr 01, 2007
Local time: 7:20 AM
Location: UNITED ARAB EMIRATES
|

|
|
|
|
 |
Wowww. This works. My Main MOD will be v.happy to see it. This is really great NR  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Moderator CP MOD |  |
Posted: 04/24/2007 5:01 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 11:20 PM
Location: St Pete, FL
|

|
|
|
|
 |
Great news. I'm glad it worked...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Moderator CP MOD |  |
Posted: 04/24/2007 9:35 PM |
|
|
|
|
|
| Citation |
| Posts |
1017 |
| Word Cnt. |
64,643 |
| BDay |
Apr 18 |
| Sign |
Aries |
| Sex |
 |
|
|
|
Joined: Apr 01, 2007
Local time: 7:20 AM
Location: UNITED ARAB EMIRATES
|

|
|
|
|
 |
It worked in a sense that my Main MOD says that now he can see Moderator Control Panel at the bottom of the page and when he clicks that link, the next page says "You are not authorised to administer this board"
Any way to make him authorize like normal moderators  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Moderator CP MOD |  |
Posted: 04/25/2007 12:44 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 11:20 PM
Location: St Pete, FL
|

|
|
|
|
 |
Yes, you can correct that by making the following adjustment in the code:
OPEN
modcp/pagestart.php
FIND
| Code:
|
|
else if ( $userdata['user_level'] != MOD && $userdata['user_level'] != ADMIN )
|
REPLACE WITH
| Code:
|
|
else if ( $userdata['user_level'] != MOD && $userdata['user_level'] != ADMIN && $userdata['user_level'] != MAIN_MOD && $userdata['user_level'] != SUPPORT )
|
I'm assuming that you want to allow the Support and Main MOD access here...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Moderator CP MOD |  |
Posted: 04/25/2007 5:45 AM |
|
|
|
|
|
| Citation |
| Posts |
1017 |
| Word Cnt. |
64,643 |
| BDay |
Apr 18 |
| Sign |
Aries |
| Sex |
 |
|
|
|
Joined: Apr 01, 2007
Local time: 7:20 AM
Location: UNITED ARAB EMIRATES
|

|
|
|
|
 |
Yeah, I want to allow to MAIN MOD as well as Support team member. Hope it will work so once my Main MOD will reply, I will tell you what happens next  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Moderator CP MOD |  |
Posted: 04/25/2007 1:39 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 11:20 PM
Location: St Pete, FL
|

|
|
|
|
 |
So have you heard from your Main mod yet???
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Moderator CP MOD |  |
Posted: 04/25/2007 2:17 PM |
|
|
|
|
|
| Citation |
| Posts |
1017 |
| Word Cnt. |
64,643 |
| BDay |
Apr 18 |
| Sign |
Aries |
| Sex |
 |
|
|
|
Joined: Apr 01, 2007
Local time: 7:20 AM
Location: UNITED ARAB EMIRATES
|

|
|
|
|
 |
Yahooooooooo My MAIN MOD said its working perfectly. Thanks a lot brother  |
|
|
 |
 |
| Back to Top |
|
|
 | Information |  |
|