Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
[Solved] Is it possible ???
Post new topic   Reply to topic View previous topic :: View next topic
Goto page: Previous  1, 2
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
Re: [Solved] Is it possible ???
PostPosted: 05/17/2007 3:40 AM Reply with quote
Citation
abdulbasit
Citation
Posts 1017
Word Cnt. 64,643
BDay Apr 18
Sign Aries
Sex Sex:Male
Joined: Apr 01, 2007
Local time: 3:13 AM
Location: UNITED ARAB EMIRATES
unitedACa.gif
So after adjusting the code, can he be allowed to enter the area where he can make normal member to moderator and not admin Wink ?
Back to Top
View user's profile Find all posts by abdulbasit Send private message [ Hidden ] Visit poster's website Yahoo Messenger MSN Messenger
Re: Is it possible ???
PostPosted: 05/17/2007 1:06 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 7:13 PM
Location: St Pete, FL
peace.gif
No, he would see what he can see now but none of your other moderators would have access any longer...

It might be possible to copy additional files from the admin folder to the modcp folder to add functionality to the MCP.  We would have to figure out which files were involved and look through the code to see if any of the code needs to be adjusted so that the ACP pages will work in the MCP too...

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: Is it possible ???
PostPosted: 05/17/2007 1:32 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 7:13 PM
Location: St Pete, FL
peace.gif
I tried to do this on your Test forum, but since you don't have the ModCP MOD installed there, there was no way to test it.  The Test forum should be nearly identical to your Live forum, so your Test forum is probably nearly invalid now as a testing environment...

I copied the admin_ug_auth.php file to your modcp folder and the auth_ug_body.tpl file to your subSilver/modcp folder.  Then I had to make the following adjustments to the admin_ug_auth.php file code to get it to display correctly:

OPEN
modcp/admin_ug_auth.php

FIND
Code:
include('./page_header_admin.'.$phpEx);

REPLACE WITH
Code:
include('./page_header_mod.'.$phpEx);

FIND
Code:
include('./page_footer_admin.'.$phpEx);

REPLACE WITH
Code:
include('./page_footer_mod.'.$phpEx);

Currently all moderators have access to this new functionality since all can enter the MCP...

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] Is it possible ???
PostPosted: 05/17/2007 1:52 PM Reply with quote
Citation
abdulbasit
Citation
Posts 1017
Word Cnt. 64,643
BDay Apr 18
Sign Aries
Sex Sex:Male
Joined: Apr 01, 2007
Local time: 3:13 AM
Location: UNITED ARAB EMIRATES
unitedACa.gif
I think I will take away this MCP from all the MODs and Support Team member and give only to Main MOD and than will try to copy Admin folder files to MCP and will see what happens in MCP. If anything will go wrong, I still think MCP should be given to Main MOD only Smile

So can i know the codes to replace so that my normal mod and support team member cannot access it Wink
Back to Top
View user's profile Find all posts by abdulbasit Send private message [ Hidden ] Visit poster's website Yahoo Messenger MSN Messenger
Re: Is it possible ???
PostPosted: 05/17/2007 2:12 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 7:13 PM
Location: St Pete, FL
peace.gif
OPEN
includes/page_tail.php

FIND
Code:
(( $userdata['user_level'] == MOD ) || ( $userdata['user_level'] == MAIN_MOD ) || ( $userdata['user_level'] == SUPPORT ) )

REPLACE WITH
Code:
( $userdata['user_level'] == MAIN_MOD )

Save and upload to your includes folder.  Be sure to store a good backup of the current file before you overwrite it, just in case...

headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] Is it possible ???
PostPosted: 05/17/2007 3:00 PM Reply with quote
Citation
abdulbasit
Citation
Posts 1017
Word Cnt. 64,643
BDay Apr 18
Sign Aries
Sex Sex:Male
Joined: Apr 01, 2007
Local time: 3:13 AM
Location: UNITED ARAB EMIRATES
unitedACa.gif
Wow. This really works. When you tell me to change any codes so I feel so confident that I don't need to make backup of files  hysterical2 but as you said I need to, than I make it Wink

Thanks Smile Smile
Back to Top
View user's profile Find all posts by abdulbasit Send private message [ Hidden ] Visit poster's website Yahoo Messenger MSN Messenger
Re: Is it possible ???
PostPosted: 05/17/2007 3:23 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 7:13 PM
Location: St Pete, FL
peace.gif
No matter the confidence level, you should always create good backups of any file that you manually modify.  If you accidentally modify an older version of the MOD, then you have lost the correct version the second that you overwrite it with the modified file.  Since it only takes a second to create a good backup of a file that you are modifying, it would be silly not to do so since it could prevent serious problems in the future...

headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] Is it possible ???
PostPosted: 05/17/2007 4:18 PM Reply with quote
Citation
abdulbasit
Citation
Posts 1017
Word Cnt. 64,643
BDay Apr 18
Sign Aries
Sex Sex:Male
Joined: Apr 01, 2007
Local time: 3:13 AM
Location: UNITED ARAB EMIRATES
unitedACa.gif
Yup. Right.  prayer
Back to Top
View user's profile Find all posts by abdulbasit Send private message [ Hidden ] Visit poster's website Yahoo Messenger MSN Messenger
 Post new topic  Reply to topic
Information
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
All times are GMT - 5 Hours
Goto page: Previous  1, 2
Page 2 of 2


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.0927s (PHP: 55% - SQL: 45%) - SQL queries: 51 - GZIP disabled - Debug on