Invision Login after ingrateing with coppermine Invision Login after ingrateing with coppermine
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Invision Login after ingrateing with coppermine

Started by Hunter, July 08, 2004, 05:12:42 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Hunter

I integrated coppermine with my invision board forum. Whenever you log-in, it goes to the invision log-in page. Then, when you log-in from there, it goes to the forum index page. It never logs you into coppermine.   

Any help would be appreciated.

Joachim Müller

only very few bbs are capable of redirecting the user after loging in - imo ib is not capable of redirecting the user back to the gallery. You'll have to provide a link in your forum's navigation that can send the user back to coppermine. For details, a link and test user account might be helpfull, as well as the lines you modified in your bridge file (make sure to replace the password with asterisks).

GauGau

Hunter

But the only problem is not redirection but also it will not reconize the login.

forum prefix is different from coppermine.  Everything else works.  For some reason it just is not seeing the cookie to reconize the login.

Joachim Müller

link and test user account (non-admin)? Post the modified bits of your bridge file (replace the password with asterisks).

GauGau

Hunter

#4
test account is login = tester and pass = test

Gallery is at http://www.huntseek.com/gallery

here is the information in my invisionboard.php


// database configuration

define('IB_DB_NAME', 'huntseek_forum'); // The name of the database used by the board

define('IB_BD_HOST', 'localhost'); // The name of the database server

define('IB_DB_USERNAME', '********'); // The username to use to connect to the database

define('IB_DB_PASSWORD', '******'); // The password to use to connect to the database



// The web path to your Invision Board directory

// In this example http://yoursite_name.com/ivboard/

define('IB_WEB_PATH', 'forums.huntseek.com/');

// ------------------------------------------------------------------------- //

// You can keep the default values below if your installation is standard

// ------------------------------------------------------------------------- //

// The prefix for the Invision Board cookies

define('IB_COOKIE_PREFIX', 'forum'); // The prefix used for board cookies



// Prefix and names for the database tables

define('IB_TABLE_PREFIX', 'HS_'); // The prefix used for the DB tables

define('IB_USER_TABLE', 'members'); // The members table

define('IB_SESSION_TABLE', 'sessions'); // The sessions table

define('IB_GROUP_TABLE', 'groups'); // The groups table



// Group definitions (default values used by the board)

define('IB_VALIDATING_GROUP', 1);

define('IB_GUEST_GROUP', 2);

define('IB_MEMBERS_GROUP', 3);

define('IB_ADMIN_GROUP', 4);

define('IB_BANNED_GROUP', 5);
define('IB_LONG_TIME_MEMBER_GROUP',10);
define('IB_MODERATORS_GROUP',7);

Joachim Müller

Your forum is on a different domain (sub-domains are different domains), that's why integration won't work. Unless they're both on the same doamin, or you're some kind of super-coding-wizard, you won't be able to integrate your forum and coppermine.
Recommended reading: http://coppermine.sourceforge.net/manual.php#integrating

GauGau