Your Portal Version: 1.0.5
Your phpBB Type: Standard phpBB3
MODs installed: Yes
Your knowledge: Beginner
Boardlink: http://arabic-ebook.com
PHP Version: 3.0.7PL1
What have you done before the problem was there?
What have you already tryed to solve the problem?
Description and Message
Hello everybody
Thanks so much for this great portal.
I moved my portal page to different path from my forums to make it the main page for my site
I followed this guide Moving portal.php outside of your forums directory
but now I have a problem ..
I can't see who is in portal page in the viewonline.php
help please to solve this?
thanks in advance
show portal in viewonline.php if it has different path
Forum rules
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
-
- Dev
- Posts: 2504
- Joined: 17. July 2008 21:08
- phpBB.de User: marc1706
- phpBB.com User: Marc
- Location: Clausthal-Zellerfeld / München
- Contact:
Re: show portal in viewonline.php if it has different path
Open viewonline.php and find this:
And change it to this:
Code: Select all
case 'portal':
$user->add_lang('mods/lang_portal');
$location = $user->lang['VIEWING_PORTAL'];
$location_url = append_sid("{$phpbb_root_path}portal.$phpEx");
break;
Code: Select all
case 'portal':
$user->add_lang('mods/lang_portal');
$location = $user->lang['VIEWING_PORTAL'];
$location_url = append_sid("../portal.$phpEx");
break;
-
Topic author - Active Member
- Posts: 4
- Joined: 7. May 2010 19:11
- phpBB.com User: eman80
- Location: Saudi Arabia
Re: show portal in viewonline.php if it has different path
Hi Marc
I just tried this code but when someone be in portal page, when I browse viewonline.php I see him in index page instead of viewing portal page.
I just tried this code but when someone be in portal page, when I browse viewonline.php I see him in index page instead of viewing portal page.