Junior Admin

General discussion of anything. Discuss a topic in and out of IntegraMOD

Moderator: Integra Moderator

Junior Admin

PostAuthor: aleams » Thu Sep 21, 2006 8:09 pm

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
Last edited by aleams on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
aleams
Newbie
Newbie
 
Posts: 9
Likes: 0 post
Liked in: 0 post
Joined: Sat Sep 02, 2006 9:05 am
Cash on hand: 0.00

Re: Junior Admin

PostAuthor: Helter » Thu Sep 21, 2006 8:51 pm

i believe that since the securitymod update, jr admins need to be reported in acp/security/special as admins
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

PostAuthor: aleams » Thu Sep 21, 2006 9:29 pm

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)
Last edited by aleams on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
aleams
Newbie
Newbie
 
Posts: 9
Likes: 0 post
Liked in: 0 post
Joined: Sat Sep 02, 2006 9:05 am
Cash on hand: 0.00

Re: Junior Admin

PostAuthor: aleams » Fri Sep 22, 2006 12:04 am

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?????
Last edited by aleams on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
aleams
Newbie
Newbie
 
Posts: 9
Likes: 0 post
Liked in: 0 post
Joined: Sat Sep 02, 2006 9:05 am
Cash on hand: 0.00

PostAuthor: GrossKopf » Fri Sep 22, 2006 7:02 am

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.
Last edited by GrossKopf on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

GrossKopf
Newbie
Newbie
 
Posts: 14
Likes: 0 post
Liked in: 0 post
Joined: Fri May 26, 2006 9:16 am
Cash on hand: 0.00

PostAuthor: ZacFields » Fri Sep 22, 2006 12:11 pm

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
Last edited by ZacFields on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

ZacFields
Sr Integra Member
Sr Integra Member
 
Posts: 426
Likes: 0 post
Liked in: 0 post
Joined: Wed May 24, 2006 11:14 pm
Cash on hand: 0.00

PostAuthor: zenrei » Wed Oct 11, 2006 10:24 am

i have 1.4.0 and it works fine as well.
Last edited by zenrei on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
IntegraMOD 141 RULES!!
[img=left]http://www.falloutzone.net/foz/images/smiles/attentionwhore.gif[/img]

[url=http]Click here to go to my site built with IntegraMOD 141[/url] <img>
User avatar
zenrei
Sr Integra Member
Sr Integra Member
 
Posts: 286
Likes: 0 post
Liked in: 0 post
Joined: Mon Oct 09, 2006 8:36 am
Cash on hand: 0.00


Return to General Discussion

Who is online

Registered users: App360MonitorBot, Bing [Bot]