Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Intergration problem with CPG 1.3.2 - IBF 1.3.1  (Read 4016 times)

0 Members and 1 Guest are viewing this topic.

akay

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Intergration problem with CPG 1.3.2 - IBF 1.3.1
« on: March 10, 2005, 08:58:01 am »

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:

Code: [Select]
// 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 :
Code: [Select]
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
Logged

Nibbler

  • Guest
Re: Intergration problem with CPG 1.3.2 - IBF 1.3.1
« Reply #1 on: March 10, 2005, 05:51:21 pm »

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

akay

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Intergration problem with CPG 1.3.2 - IBF 1.3.1
« Reply #2 on: March 11, 2005, 02:13:24 am »

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. :-*
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Intergration problem with CPG 1.3.2 - IBF 1.3.1
« Reply #3 on: March 11, 2005, 07:57:13 am »

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
Logged

akay

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Intergration problem with CPG 1.3.2 - IBF 1.3.1
« Reply #4 on: March 11, 2005, 10:32:26 am »

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 !  :-[


Logged

Nibbler

  • Guest
Re: Intergration problem with CPG 1.3.2 - IBF 1.3.1
« Reply #5 on: March 11, 2005, 01:10:15 pm »

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.
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 15 queries.