Page 1 of 2
Simple portal outside
Posted: 06 Dec 2011, 10:26
by Tigerman75
Hello Stoker,I would add simple portal outside the forum root 'cause I board3portal root in its' possible? in what way?
Thanks
Simple portal outside
Posted: 06 Dec 2011, 11:09
by Stoker
Where in the domain is your forum located and where do you want the portal?
Simple portal outside
Posted: 06 Dec 2011, 12:45
by Tigerman75
ok I updated the user profile, I would like the simple portal to
http://bbcodeitalia.com
The forum and I 'installed in
http://bbcodeitalia.com/forum/
Thanks Stoker
Simple portal outside
Posted: 06 Dec 2011, 13:33
by Stoker
Open portal.php
Find:
Code: Select all
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
Replace with:
Code: Select all
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './forum/';
Open includes/functions.php
Find:
Code: Select all
'U_PORTAL' => append_sid("{$phpbb_root_path}portal.$phpEx"),
Replace with:
Code: Select all
'U_PORTAL' => append_sid("../portal.$phpEx"),
Thats it.
Simple portal outside
Posted: 06 Dec 2011, 13:40
by Tigerman75
I feel now thanks stoker
p.s.
files in root folder, I copied out of the forums?
Simple portal outside
Posted: 06 Dec 2011, 13:43
by Stoker
Only portal.php must be in domain root. All other in their place in the forum folder.
Simple portal outside
Posted: 07 Dec 2011, 01:55
by shadowsansa
stoker i'am have this error
Code: Select all
Warning: include(./common.php) [function.include]: failed to open stream: No such file or directory in C:\xampp\htdocs\portal.php on line 17
Warning: include() [function.include]: Failed opening './common.php' for inclusion (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\portal.php on line 17
Notice: Undefined variable: user in C:\xampp\htdocs\portal.php on line 20
Fatal error: Call to a member function session_begin() on a non-object in C:\xampp\htdocs\portal.php on line 20
I followed your instructions, remembering that in the directory
http://localhost/forum/ iam board3portal have previously installed
Edit:
Resolving i'am error up file portal.php,sorry Stoker!You the very Big
Simple portal outside
Posted: 08 Dec 2011, 10:33
by Tigerman75
Hello Big Stoker.Sorry for traslation
I decided to uninstall 3bportal, install your SimplePortal, putting in
http://localhost portal.php files and other files and folders in
http://localhost/forum. writing in the broswer portal.php I access the portal as a guest but why '?
Stoker wrote:Open portal.php
Find:
Code: Select all
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
Replace with:
Code: Select all
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './forum/';
Open includes/functions.php
Find:
Code: Select all
'U_PORTAL' => append_sid("{$phpbb_root_path}portal.$phpEx"),
Replace with:
Code: Select all
'U_PORTAL' => append_sid("../portal.$phpEx"),
Thats it.
Thanks
Simple portal outside
Posted: 08 Dec 2011, 10:39
by Stoker
I dont know which kind of speciel setup you are running.
Above works. I have similar running on several sites.
Simple portal outside
Posted: 08 Dec 2011, 10:53
by Tigerman75
I am Have Mods Seo ultimate url running