Page 2 of 2

Re: Who is online: shows PORTAL page as Index page. How to display right?

Posted: Tue Apr 07, 2015 8:41 pm
by Car2013
Yeah... actually, that was exactly what I payed attention... as I noticed was 'created' this text part for the mod mchat, for example.
But than I changed some parts, and didnt work at the first time.

However, I kept trying... and noticed I needed to creat some line on lang file... 'common.php'

Code: Select all

$lang = array_merge($lang, array(
So...FINALLY... it worked.

Thanks, man..for the 'light'. :)

Re: Who is online: shows PORTAL page as Index page. How to display right?

Posted: Tue Apr 07, 2015 9:05 pm
by Car2013
But..ah...just checked one more thing.
When the portal is not like this "www.myforum.com/portal.php", but "www.myforum.com/portal2/index.php"... it doesnt work when I put there like this:

Code: Select all

case 'portal2':
			$location = $user->lang['PORTAL_2'];
			$location_url = append_sid("{$phpbb_root_path}portal2/index.$phpEx");
		break;	
Any suggestion?

Re: Who is online: shows PORTAL page as Index page. How to display right?

Posted: Tue Apr 07, 2015 9:24 pm
by Brf
If your portal is in a different folder-structure than your phpBB, it would not be as easy.
You might have to check $on_page[0] to see what is in there...

Re: Who is online: shows PORTAL page as Index page. How to display right?

Posted: Tue Apr 07, 2015 11:31 pm
by Car2013
where is this?