coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: Omen1 on January 07, 2005, 09:09:31 PM

Title: Logging in misdirection?
Post by: Omen1 on January 07, 2005, 09:09:31 PM
I have setup the integration with vbulletin but when I click the login button for copermine it sends me directly to the forum?? I've triple checked all my edits but I'm still lost.

Any help would be great.
Title: Re: Logging in misdirection?
Post by: Nibbler on January 07, 2005, 09:16:10 PM
What do you expect to happen ?
Title: Re: Logging in misdirection?
Post by: Omen1 on January 07, 2005, 09:22:23 PM
lol, I would expect to see the gallery and not the forums. If it sends me to the forums how am I to get back to the gallery?
Title: Re: Logging in misdirection?
Post by: Nibbler on January 07, 2005, 09:25:47 PM
Make a link in your forums to take you back. The developers of vbulletin decided to not allow redirection back to coppermine after login, so you have to live with their decision.
Title: Re: Logging in misdirection?
Post by: Omen1 on January 07, 2005, 09:27:45 PM
A link to /gallery/index.php ? That just sends me in circles. Or am I needing to use a different link?
Title: Re: Logging in misdirection?
Post by: Nibbler on January 07, 2005, 09:29:17 PM
Correct, I don't see why that would send you in circles. Maybe posting a link to your site and a test user account would help.
Title: Re: Logging in misdirection?
Post by: Omen1 on January 07, 2005, 09:33:36 PM
Nope, it just keeps showing me that I need to login then when I click on it it sends me to the forum. I can't enter the gallery no matter what.
Title: Re: Logging in misdirection?
Post by: Nibbler on January 07, 2005, 09:35:58 PM
Then your bridge is not setup correctly in the first place. Post the sections of the bridge file you have altered, a link and test user account.
Title: Re: Logging in misdirection?
Post by: Omen1 on January 07, 2005, 10:14:24 PM
Now that I think about it my initial description was inacurrate. When clicking on the "Login" word it sends me to the forum home page instead of the page where you enter the user name and password. I didn't think about that untill you asked for a test user account which I can't settup anyways because I can't login.
Title: Re: Logging in misdirection?
Post by: Nibbler on January 07, 2005, 10:23:12 PM
The test user account needs to be a user account from your forum, I assume you can still login there. The idea is that you login using the board's login function and then return to coppermine where it recognises you. You no longer login using coppermine's login page. Any reason why you refuse to post a link to your site ?
Title: Re: Logging in misdirection?
Post by: Omen1 on January 07, 2005, 10:28:09 PM
forum: http://www.planetomen.com/forums/

Gallery: http://www.planetomen.com/cm

user: test pass: user
Title: Re: Logging in misdirection?
Post by: Nibbler on January 07, 2005, 10:44:18 PM
You changes to the bridge file ? Include the bit where you have set your cookie prefix to 'bb'.
Title: Re: Logging in misdirection?
Post by: Omen1 on January 07, 2005, 11:13:19 PM
// The web path to your vBulletin Board directory
// In this example http://yoursite_name.com/vbulletin3/
define('VB_WEB_PATH', '/forums/');
// ------------------------------------------------------------------------- //
// Nothing to edit below this line
// ------------------------------------------------------------------------- //
// Prefix and names for the database tables
define('VB_TABLE_PREFIX', ''); // Leave empty, not supported by vBulletin 2.3
define('VB_USER_TABLE', 'user'); // The members table
define('VB_SESSION_TABLE', 'session'); // The sessions table
define('VB_GROUP_TABLE', 'usergroup'); // The groups table
define('VB_COOKIE_PREFIX', 'bb');  // Cookie Prefix, not supported by vBulletin 2