Page 1 of 1

Junior Admin

PostPosted: Thu Sep 21, 2006 8:09 pm
Author: aleams
Hi, I need help

Few hour ago I've just installed integramod and I like it so much. Till now I still playing with so many features that integramod offered.

When I tried to create a username with a privilege as a Junior Admin and login as that user, I can't acces the ACP. When I clicked "Go to Administration Panel", it lead me back to the portal.

Anybody have solution for this problem?

Thanks in advance

Re: Junior Admin

PostPosted: Thu Sep 21, 2006 8:51 pm
Author: Helter
i believe that since the securitymod update, jr admins need to be reported in acp/security/special as admins

PostPosted: Thu Sep 21, 2006 9:29 pm
Author: aleams
I couldn't find anything helpful in the acp/security/special to solve my problem. I only found there how many admins allowed in the forum.

If I granted a full administrator status to another user, then there is no problem of accessing the ACP.

(BTW, what I have is IntegraMOd 140)

Re: Junior Admin

PostPosted: Fri Sep 22, 2006 12:04 am
Author: aleams
Got it!!!!!!

After I looking at the original installation instruction of Junior Admin mod, I found out that there is something missing in the login.php that distributed along IntegraMod 140.
Here the part of code that missing
Code: Select all
 ##-----[ OPEN ]------------------------------------------#  login.php  ##-----[ FIND ]------------------------------------------#      //    // Do a full login page dohickey if    // user not already logged in    //    if( !$userdata['session_logged_in'] || (isset($HTTP_GET_VARS['admin']) && $userdata['session_logged_in'] && $userdata['user_level'] == ADMIN))  ##-----[ REPLACE WITH ]------------------------------------------#      //       // Do a full login page dohickey if       // user not already logged in       //       include_once($phpbb_root_path . 'includes/functions_jr_admin.' . $phpEx);       $jr_admin_userdata = jr_admin_get_user_info($userdata['user_id']);       if( !$userdata['session_logged_in'] || (isset($HTTP_GET_VARS['admin']) && $userdata['session_logged_in'] && $userdata['user_level'] == ADMIN ||  $jr_admin_userdata))  


I am just wonder, how come no body spot this before, considering integramod140 has been a stable version for a long time?????

PostPosted: Fri Sep 22, 2006 7:02 am
Author: GrossKopf
I did a search and this is what I have in my login.php:

Code: Select all
    //     // Do a full login page dohickey if     // user not already logged in     //     include_once($phpbb_root_path . 'includes/functions_jr_admin.' . $phpEx);        $jr_admin_userdata = jr_admin_get_user_info($userdata['user_id']);            // if( !$userdata['session_logged_in'] || (isset($HTTP_GET_VARS['admin']) && $userdata['session_logged_in'] && (!empty($jr_admin_userdata['user_jr_admin']) || $userdata['user_level'] == ADMIN)))         include_once($phpbb_root_path . 'includes/functions_jr_admin.' . $phpEx);           $jr_admin_userdata = jr_admin_get_user_info($userdata['user_id']);             if( !$userdata['session_logged_in'] || (isset($HTTP_GET_VARS['admin']) && $userdata['session_logged_in'] && (!empty($jr_admin_userdata['user_jr_admin']) || $userdata['user_level'] == ADMIN)))     {         $page_title = $lang['Login'];         include($phpbb_root_path . 'includes/page_header.'.$phpEx);


It's different from what you have. Anyone have any idea? I got to this message by a link posted in this message]http://integramod.com/forum/viewtopic.php?p=15753#15753[/url] which explains my specific problem with Jr Admin.

PostPosted: Fri Sep 22, 2006 12:11 pm
Author: ZacFields
I'm running 1.4.0 with all updates and my Junior Admin functionality is just fine. Not sure what the problem you guys are running into is.

Zac

PostPosted: Wed Oct 11, 2006 10:24 am
Author: zenrei
i have 1.4.0 and it works fine as well.