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  

being logged off from gallery

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

Beginner
Beginner


Joined: Jan 10, 2008
Posts: 5

PostPosted: Sun Jan 13, 2008 2:22 pm    Post subject: being logged off from gallery Reply with quote

I integrated phpBB3 3.0.0 and Gallery 2.2.4. I made the mods on prosilver style only and use only it. I also applied the changes from this topic: http://www.nukedgallery.net/postt3821.html [nukedgallery.net] User accounts from the forum exported to the gallery.

The problem is the following:
1) a user is logged in the forum;
2) user clicks on the Gallery 2 link and goes to the gallery;
3) in this moment the user is still logged in and can see everything which is allowed to his group;
4) in this moment the user clicks on a link somewhere in the gallery and now he is logged off and he can see the gallery as a guest only. If I return to the forum in this moment, I'm still logged off.

If I make the gallery to work standalone ( $gallery->setConfig('mode.embed.only', false); ) I can log in the gallery with the administrator account and then everything is fine (I'm not being logged off on the next click or whenever).

I searched in the forum here and couldn't find this problem or similar so maybe it is a mistake made by me that causes the problem. I'll be very thankful if someone could point me where the problem could be and where to search for it.
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: being logged off from gallery  

Back to top
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1144

PostPosted: Mon Jan 14, 2008 11:16 am    Post subject: Re: being logged off from gallery Reply with quote

I think that is the cookie issue again. Make sure your cookie settings are the same in G2 and phpBB3.
Back to top
Offline View user's profile Send private message
txll

Beginner
Beginner


Joined: Jan 10, 2008
Posts: 5

PostPosted: Mon Jan 14, 2008 11:41 am    Post subject: Re: being logged off from gallery Reply with quote

You are right Smile Thank you very much Smile
Back to top
Offline View user's profile Send private message
anmolgill

Beginner
Beginner


Joined: Jun 27, 2008
Posts: 5

PostPosted: Thu Jul 03, 2008 3:17 am    Post subject: Re: being logged off from gallery Reply with quote

hi dear
how to check the cookie setting in gallery2 and phbb forum are same or not
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Thu Jul 03, 2008 6:14 am    Post subject: Re: being logged off from gallery Reply with quote

in the gallery 2 admin page, i believe it's under the "general" section, there is the cookie settings section. in phpbb3, it's in the ACP, under cookie settings. make sure the path/domain match for both. this is assuming that your gallery and forum are in the same domain, ie www.yoursite.com/gallery and www.yoursite.com/forum. if you use forum.yoursite.com and gallery.yoursite.com, you should use .yoursite.com as the domain (make sure the . is in their at the front).
Back to top
Offline View user's profile Send private message Visit poster's website
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1144

PostPosted: Thu Jul 03, 2008 9:32 am    Post subject: Re: being logged off from gallery Reply with quote

The integration code (v1.0.1) should have set this for you if you ran the automatic configuration. Did it not work?
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 Integration » phpBB3 / 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: Dedicated ServersDomain NamesWeb HostingDomain Name RegistrationDedicated Web HostingWeb Design New YorkCompare VoIPseo packagesSEO CompanyNew York Yellow PagesFind LocationsVOIP Phone ServiceNeckermannBluetooth HeadsetOnline internetSEOchina factoryDressesRestaurant Locatorandroid tablet

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