Intergration problem with CPG 1.3.2 - IBF 1.3.1 Intergration problem with CPG 1.3.2 - IBF 1.3.1
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Intergration problem with CPG 1.3.2 - IBF 1.3.1

Started by akay, March 10, 2005, 08:58:01 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

akay

Hello,
I have an IBF 1.3.1 forum and already intergrated with CPG 1.3.2 in the same database .
Some parameters in the bridge file:


// database configuration
define('IB_DB_NAME', 'a5online_a5db'); // The name of the database used by the board
define('IB_BD_HOST', 'localhost'); // The name of the database server
define('IB_DB_USERNAME', 'a5online_a5db'); // The username to use to connect to the database
define('IB_DB_PASSWORD', 'mypass'); // 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/');
// ------------------------------------------------------------------------- //
// You can keep the default values below if your installation is standard
// ------------------------------------------------------------------------- //
// The prefix for the Invision Board cookies
define('IB_COOKIE_PREFIX', ''); // The prefix used for board cookies

// Prefix and names for the database tables
define('IB_TABLE_PREFIX', 'ibf_'); // 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



and the init.inc file :

define('COPPERMINE_VERSION', '1.3.2');
// User database integration
// Uncomment the applicable line if you want to use it
// define('UDB_INTEGRATION', 'phpbb');
define('UDB_INTEGRATION', 'invisionboard');
// define('UDB_INTEGRATION', 'vbulletin23');
// define('UDB_INTEGRATION', 'vbulletin30');
// define('UDB_INTEGRATION', 'yabbse');
// define('UDB_INTEGRATION', 'smf');
// define('UDB_INTEGRATION', 'woltlab21');
// define('UDB_INTEGRATION', 'punbb');


but when i logged in forum, then click on the : Gallery button
but in gallery, it displayed that user didnot loggin.

my forum path: a5online.freeprohost.com/forums
gallery path: a5online.freeprohost.com/gallery
Please show me how to fix the problem
thank you so much ...

user in my forum : cpg132
password:            cpg132

Nibbler

Your forum isn't setting any cookies. It needs to set cookies for coppermine to be able to read them.

akay

Hello,
I dont know much about web programming  :\'( .
Could you please show me step by step how to set the coppermine's cookies ???
Thank you. :-*

Joachim Müller

You have to read Nibbler's posting more closely: coppermine sets cookies just fine, but your forum doesn't. In some bbs apps, you can specify if you want to use a cookie-based authentification if if you want to use sessions. Apparently, you chose the "sessions" there. We can't tell you how to change this, as we don't know your bbs app. Go to your forum's control panel and change it there I pressume. If you can't find this out on your own, you better ask this question on the support board of your bbs software (IBF in your case).

Joachim

akay

hi,
In the ACP of IBF, item System Setting, there are some settings related with cookies , and I set them like this:

Cookie Domain                                                  : a5online.freeprohost.com
(Hint: use .your-domain.com for global cookies)

Cookie Name Prefix                                           : forum
(Allows multiple boards on one host.)

Cookie Path                                                     : ../gallery
(Relative path from domain to root IBF dir)    



But it not work !  :-[



Nibbler

There you go then - that is not a valid path to set a cookie on, so it fails. I'm sure that wasn't the default setting. In addition to this there is no way coppermine can read a cookie if you restrict it to the forum dir on your site. Set it to '/' as described in the integration docs.