Yes, certainly I tried to uncomment that code line by line. The only line that is not commented now is
Code: Select all
$user->add_lang(array('mods/lang_portal', 'mods/additional_blocks'));
I realized that this code is responsible for getting the state ot the portal (switched on or switched off). And this is just for another line in the same file
Code: Select all
'U_PORTAL' => (isset($portal_config['portal_enable']) && $portal_config['portal_enable'] == true) ? append_sid("{$phpbb_root_path}portal.$phpEx") : '',
Code: Select all
'U_PORTAL' => generate_board_url() . "/portal.$phpEx",
Hope I made myself clear.
I solved my problem for now. It`s not completely correct but it allowed me to start the portal without loosing the index. And well, I`m still wayting for some help in complete solving my problem without changing some lines of the code. Anyway that portal works somehow for other people who install it step by step from your instruction. Right?