Want phpBB Gallery in /gallery/

Forum rules
Support ended: 31.12.2011

Want phpBB Gallery in /gallery/

Postby Finny » Sat Nov 28, 2009 12:21 pm

Gallery Version: 1.0.3
phpBB Version: 3.0.6
Gallery-Link: http://f4f.finnim.nl


Error description and message

Hi all,

I've installed a new 3.0.6 forum in the map /website/forum/.
I also want to use the phpBB Gallery on this forum, however, the Gallery will be installed in /website/forum/gallery/.
But I want the Gallery in the map /website/gallery/. Is this possible, and how do i do this?

Thanks, Finny
Finny
Posts 10 - 20
Posts 10 - 20
 
Posts: 15
Topics: 8
Joined: Mon Mar 02, 2009 6:07 pm

Re: Want phpBB Gallery in /gallery/

Postby nickvergessen » Sat Nov 28, 2009 1:34 pm

Yes, just move the folder to that directory:
open forum/includes/constants.php
find:
Code: Select all
define('GALLERY_ROOT_PATH', 'gallery/');

replace with:
Code: Select all
define('GALLERY_ROOT_PATH', '../gallery/');


gallery/includes/root_path.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/';
cheers nickvergessen :geek:

Member of phpBB Development-Team
No Support via PM
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 5748
Topics: 217
Images: 139
Joined: Mon Oct 15, 2007 4:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen


Return to Support & Administration

Who is online

Users browsing this forum: No registered users and 0 guests