Simple portal outside

Download and support for PhpBB3 Simple Portal
User avatar
Tigerman75
BBCoder III
BBCoder III
Posts: 109
Joined: 31 Oct 2011, 14:14
BBCodes: 10
Favourite MOD: Top Staticts
Location: Italy
Contact:

Simple portal outside

Post by Tigerman75 »

Hello Stoker,I would add simple portal outside the forum root 'cause I board3portal root in its' possible? in what way?
Thanks
To speak with you use the google translator
http://www.graphicforum.altervista.org/ and http://www.bbcodeitalia.com/forum/
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Simple portal outside

Post by Stoker »

Where in the domain is your forum located and where do you want the portal?
Board rules! No PM support
User avatar
Tigerman75
BBCoder III
BBCoder III
Posts: 109
Joined: 31 Oct 2011, 14:14
BBCodes: 10
Favourite MOD: Top Staticts
Location: Italy
Contact:

Simple portal outside

Post 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
To speak with you use the google translator
http://www.graphicforum.altervista.org/ and http://www.bbcodeitalia.com/forum/
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Simple portal outside

Post 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.
Board rules! No PM support
User avatar
Tigerman75
BBCoder III
BBCoder III
Posts: 109
Joined: 31 Oct 2011, 14:14
BBCodes: 10
Favourite MOD: Top Staticts
Location: Italy
Contact:

Simple portal outside

Post by Tigerman75 »

I feel now thanks stoker
p.s.
files in root folder, I copied out of the forums?
To speak with you use the google translator
http://www.graphicforum.altervista.org/ and http://www.bbcodeitalia.com/forum/
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Simple portal outside

Post by Stoker »

Only portal.php must be in domain root. All other in their place in the forum folder.
Board rules! No PM support
shadowsansa
BBCoder II
BBCoder II
Posts: 7
Joined: 12 Jun 2011, 22:07

Simple portal outside

Post 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 :) ;)
User avatar
Tigerman75
BBCoder III
BBCoder III
Posts: 109
Joined: 31 Oct 2011, 14:14
BBCodes: 10
Favourite MOD: Top Staticts
Location: Italy
Contact:

Simple portal outside

Post 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
To speak with you use the google translator
http://www.graphicforum.altervista.org/ and http://www.bbcodeitalia.com/forum/
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Simple portal outside

Post by Stoker »

I dont know which kind of speciel setup you are running.
Above works. I have similar running on several sites.
Board rules! No PM support
User avatar
Tigerman75
BBCoder III
BBCoder III
Posts: 109
Joined: 31 Oct 2011, 14:14
BBCodes: 10
Favourite MOD: Top Staticts
Location: Italy
Contact:

Simple portal outside

Post by Tigerman75 »

I am Have Mods Seo ultimate url running
To speak with you use the google translator
http://www.graphicforum.altervista.org/ and http://www.bbcodeitalia.com/forum/
Locked