Blank forum index page
Posted: 24. January 2011 21:39
I guess I should write it in previous message.
Yes, certainly I tried to uncomment that code line by line. The only line that is not commented now is
If this line stays uncommented and all other lines stay commented then everything works fine. If only I try to uncomment first IF statement or second IF statement or both of them — the index page becomes invisible again.
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
Correct me please if I`m wrong about it. But if I suppose that I`m right then I just have to change the line to this
and everything starts to work as it should work. The only wrong thing is that the link to the portal is gonna be always available even if the portal is switched off in ACP. Right? Because changing that line erases checking of the state of the portal.
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?
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?