coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: gaagaa on April 09, 2007, 02:38:07 PM

Title: problem with login into gallery
Post by: gaagaa on April 09, 2007, 02:38:07 PM
Hi. I have problem with logging into gallery - when i try login to gallery its reconect me to forum and i can login there, but when i go to the gallery i am not logged in, but again back to the phpbb and i am logged in.

Coppermine install: http://s3m.pl/galeria
Forum install: http://s3m.pl/forum
Coppermine version: cpg1.4.10
Forum version: phpBB modified v1.12.5 by Przemo
Cookie Domian (forum): s3m.pl   
Cookie name (forum):  phpbb2mysql
Cookie path (forum):   /


My bridge settings:
Forum URL:  http://s3m.pl/forum 
Relative path to your BBS's config file:  ../forum/
Use post-based groups?:  0 
Enable integration/bridging with phpBB version 2.0.18 or better
Cookie name:  phpbb2mysql

Test user account for Coppermine and forum:    login: test1, passwordf: test
Title: Re: problem with login into gallery
Post by: gaagaa on April 11, 2007, 12:18:11 AM
could anyone help me and tell what i did wrong??? please?:))
Title: Re: problem with login into gallery
Post by: Nibbler on April 11, 2007, 12:44:53 AM
Your forum's cookie prefix is bb75ea87d1. If your modified version of phpbb changes the cookie name from time to time then you will have problems bridging reliably.
Title: Re: problem with login into gallery
Post by: gaagaa on April 11, 2007, 12:59:15 AM
thank You very very much :)) You are genius :)))) everything's working great!:) thanks :)
Title: Re: problem with login into gallery
Post by: gaagaa on April 11, 2007, 01:08:56 AM
i have only one more question.. in my gallery base i had some users, so right now after bridging gallery with forum i have to change their id.. could you tell me in which tabels (besides users of course) exactly should i do this?
Title: Re: problem with login into gallery
Post by: Joachim Müller on April 11, 2007, 08:24:00 AM
Quote from: gaagaa on April 11, 2007, 01:08:56 AMi have only one more question
We have a strict "one question per thread" policy that you agreed to respect when signing up. Please do so in the future. Marking this thread as solved.

Quote from: gaagaa on April 11, 2007, 01:08:56 AM
could you tell me in which tabels (besides users of course)
Coppermine's users table isn't being taken into account at all when being bridged, so it's the only table that doesn't need editing. There is however a huge number of other tables where the user_id is being stored, so if you have a significant number of standalone users that is worth mentioning, the task you're up to perform is nearly impossible. However, those are the tables that contain reference to the user_id: CPG_banned, CPG_categories, CPG_comments, CPG_favpics, CPG_pictures, CPG_sessions, CPG_votes (tricky one, as user ID is being stored in a MD5-hash). What you're up to is hard to impossible. It's the drawback of bridging coppermine once you already have users in coppermine: reference to their actions get lost when coppermine gets bridged.
Title: Re: problem with login into gallery
Post by: gaagaa on April 11, 2007, 12:51:22 PM
Quote from: GauGau on April 11, 2007, 08:24:00 AM
We have a strict "one question per thread" policy that you agreed to respect when signing up. Please do so in the future. Marking this thread as solved.
ok, You right, sory :)
Quote from: GauGau on April 11, 2007, 08:24:00 AM
Coppermine's users table isn't being taken into account at all when being bridged, so it's the only table that doesn't need editing. There is however a huge number of other tables where the user_id is being stored, so if you have a significant number of standalone users that is worth mentioning, the task you're up to perform is nearly impossible. However, those are the tables that contain reference to the user_id: CPG_banned, CPG_categories, CPG_comments, CPG_favpics, CPG_pictures, CPG_sessions, CPG_votes (tricky one, as user ID is being stored in a MD5-hash). What you're up to is hard to impossible. It's the drawback of bridging coppermine once you already have users in coppermine: reference to their actions get lost when coppermine gets bridged.

thank You :)