Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

Incorrect Forum Index

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » phpBB Issues » phpBB2 / Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Author Message
speedracer

Beginner
Beginner


Joined: Sep 25, 2005
Posts: 14

PostPosted: Sun Sep 25, 2005 4:10 am    Post subject: Incorrect Forum Index Reply with quote

The "Forum Index" points to the root directory where it should point to the phpbb path. Site admin points to /phpbb2/ ACP. The albums have an X since their relative path points to /phpbb2/v/ALBUM

Setup:
/root/phpbb2
/root/gallery2

Gallery 2 Integration Settings
/home/www/test/gallery2/

URL to the gallery2.php file:
/phpbb2/gallery2.php

URL path from you webroot to gallery2.php: /phpbb2/

Relative file path to your Gallery 2 directory: ../gallery2/

URL to your login.php file: /phpbb2/login.php

Cookie path: /gallery2/

Active User ID: 0

Did I set up the path incorrectly or did i not install Gallery 2 correctly?

**
Side note - Server might have been busy but it took 4 registration attemps to get a verification email
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Incorrect Forum Index  

Back to top
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6274
Location: Washington Township, NJ, USA

PostPosted: Mon Sep 26, 2005 11:29 am    Post subject: Re: Incorrect Forum Index Reply with quote

/phpbb2/v/ALBUM is using the embedded rewrites, as gallery2 does not support that kind of direct URL.

I cannot attest to the integration working when you have gallery2 installed outside of the phpbb2 directory...this is on my todo list though.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
speedracer

Beginner
Beginner


Joined: Sep 25, 2005
Posts: 14

PostPosted: Tue Sep 27, 2005 1:49 am    Post subject: Re: Incorrect Forum Index Reply with quote

Thanks. Makes sense now Smile
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6274
Location: Washington Township, NJ, USA

PostPosted: Tue Sep 27, 2005 9:42 am    Post subject: Re: Incorrect Forum Index Reply with quote

ok, i've got a dev site setup with phpBB2 in one directory, and gallery2 in another directory (not inside the phpBB2 directory). here is my config:

_________________
Back to top
Offline View user's profile Send private message Visit poster's website
joe7

User
User


Joined: Apr 21, 2004
Posts: 39

PostPosted: Mon Oct 03, 2005 4:56 am    Post subject: Re: Incorrect Forum Index Reply with quote

for me it works only when setting relative path to y g2 dir: as ../weburl.of.g2s.stanadalone
Back to top
Offline View user's profile Send private message Visit poster's website
pestilence

Novice
Novice


Joined: Oct 03, 2005
Posts: 25

PostPosted: Mon Oct 03, 2005 5:03 am    Post subject: Re: Incorrect Forum Index Reply with quote

I have gallery2 outside of my phpbb directory.

my folder structure:

site.com
site.com/forum <-phpbb2
site.com/gallery2 <-gallery2

here is my config:



hope that helps. it took me 30 minutes to go thru trial and error to see which way works best.
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6274
Location: Washington Township, NJ, USA

PostPosted: Mon Oct 03, 2005 6:29 am    Post subject: Re: Incorrect Forum Index Reply with quote

your URL path from webroot to gallery2.php should probably be /forum/ , and your relative file path should probably be ../gallery2
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
speedracer

Beginner
Beginner


Joined: Sep 25, 2005
Posts: 14

PostPosted: Mon Oct 03, 2005 4:05 pm    Post subject: Re: Incorrect Forum Index Reply with quote

Thanks. I got busy and haven;thad the chance to post:

pestilence has it correct Smile Thanks. My Problem wasn't so much the path as with mod_rewrite interfering so when I did put the correct path - nothing showed up correct.

****
Suppliment guide
based on:phpBB2.zip 26-Sep-2005 04:00 35K

Your results will vary. Note your relative path must reflect under the configurations of admin_gallery2.php

For those running Apache

** When I point out enable or disable for mod_rewrite this is in reference to gallery2 using mod_rewrite not apache configuration **

(1) mod_rewrite enable ** not suggested ** Odd things happen.

Install place gallery2 inside the forum index
eg: phpbb2/gallery2

Note: It kinda works. Not fully supported and it gets ugly when you click on nested albums/

(2) mod_rewrite disabled (use this for now)

gallery2 folder can be outside the phpbb2 index root but watch out for relative path reference. NOTE: mod_rewrite is not enabled under the gallery 2 admin panel.

You will need to use "../[path]"

My Suggestion if you do not want to deal with paths is to install as the authror has done.
Eg:
/phpBB2/ --> phpbb
/phpBB2/gallery2 --> gallery2 module
Back to top
Offline View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » phpBB Issues » phpBB2 / Gallery 2 Integration View previous topicPrinter friendly versionView next topic

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Web HostingDedicated ServersDomain NamesDomain Name RegistrationDedicated Web HostingSearch Engine OptimisationSEOWeb Design New YorkSEO Web DesignWeb hosting AustraliaSEO

6th year online! 2003-2008
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia