Icy Phoenix

     
 


This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
Reply with quote Download Post 
Post Problem With Multiple Ranks Mod 2.0.3 
 
if the solution to this has been posted somewhere please point me in the right direction... I am getting a parse error in admin_users.php  an unexpected T_ELSE its not allowing me to see my ACP menu.  I placed the mod by hand any help would be appreciated
 



 
MikeSSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Problem With Multiple Ranks Mod 2.0.3 
 
post 15 lines up and down the line where you get error on admin_users.php
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problem With Multiple Ranks Mod 2.0.3 
 
Topic moved to the appropriate forum...
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problem With Multiple Ranks Mod 2.0.3 
 
Parse error: parse error, unexpected T_ELSE

Code: [Download] [Hide] [Select]
        if( file_exists(@phpbb_realpath('./../' . $board_config['avatar_path'])) && ($board_config['allow_avatar_upload'] == TRUE) )
        {
            if ( $form_enctype != '' )
            {
                $template->assign_block_vars('avatar_local_upload', array() );
            }
            $template->assign_block_vars('avatar_remote_upload', array() );
        }

        if( file_exists(@phpbb_realpath('./../' . $board_config['avatar_gallery_path'])) && ($board_config['allow_avatar_local'] == TRUE) )
        {
            $template->assign_block_vars('avatar_local_gallery', array() );
        }
        
        if( $board_config['allow_avatar_remote'] == TRUE )
        {
            $template->assign_block_vars('avatar_remote_link', array() );
        }
    }

    $template->pparse('body');
}
else <!--This is the else in the Parse Error-->
{
    //
    // Default user selection box
    //
    $template->set_filenames(array(
        'body' => 'admin/user_select_body.tpl')
    );

    $template->assign_vars(array(
        'L_USER_TITLE' => $lang['User_admin'],
        'L_USER_EXPLAIN' => $lang['User_admin_explain'],
        'L_USER_SELECT' => $lang['Select_a_User'],
        'L_LOOK_UP' => $lang['Look_up_user'],
        'L_FIND_USERNAME' => $lang['Find_username'],

        'U_SEARCH_USER' => append_sid("./../search.$phpEx?mode=searchuser"),

        'S_USER_ACTION' => append_sid("admin_users.$phpEx"),
        'S_USER_SELECT' => $select_list)
    );
    $template->pparse('body');

}

 



 
MikeSSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problem With Multiple Ranks Mod 2.0.3 
 
It seems you are missing a bracket somewhere...

Can you post that file in a zip please?
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problem With Multiple Ranks Mod 2.0.3 
 
here it is...

admin_users.zip
Description:  
Download
Filename: admin_users.zip
Filesize: 10.54 KB
Downloaded: 314 Time(s)

 



 
MikeSSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problem With Multiple Ranks Mod 2.0.3 
 
Your error should be on line 1070... you have replaced a curly bracket while modifying the file.

Try to look for this:
Code: [Download] [Hide] [Select]
// Mighty Gorgon - Multiple Ranks - END        }


and replace with this:
Code: [Download] [Hide] [Select]
// Mighty Gorgon - Multiple Ranks - END
        }


Let me know.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies.  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events