CP Gallery 1.2.1 and IPB 1.2 Integration (still not solved) CP Gallery 1.2.1 and IPB 1.2 Integration (still not solved)
 

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

CP Gallery 1.2.1 and IPB 1.2 Integration (still not solved)

Started by chaggydawg, February 23, 2004, 12:35:19 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

chaggydawg

Ok, I have just spent about 7 hours straight searching and sifting through the threads on this forum for some answers. All I have found are People who have managed to do it or people who haven't, but nobody seems to be offering any sort of insight as to how its done. So please don't redirect me to some other forum/thread, I've seen them all, and they were no help.  However if I did miss one please post it and why its relevant.

My Problem is this: I want to integrate my CPG and IPB, I got it all setup (following directions from various places) and it works to the point of when i click the login link on CPG's main page it does indeed send me to IBP's login page, then I login and am back in the IPB forum, that is fine I don't mind having to put a link to get back to the gallery. The problem is no matter how I get back to gallery (redirect link, direct link, or typing manually) I am not logged-in in the gallery like I am supposed to be.

I don't know PHP, so I can't (even though I tried) look through the code and find what the problem is myself. Someone please help me :(    (in this thread, please please don't redirect me to another thread)

You can easily make an account in my forums if you need to see what I mean...

My IPB forums are     http://chaggy2.no-ip.info:5080/forums
My CPG gallery is      http://chaggy2.no-ip.info:5080/asylumgallery

Config info:

MySQL info:
I have both using the same table in MySQL    "forum"
CPG uses the prefix:           "cgp11d_"   (I upgraded to 1.2.1 today however)
IPF uses the prefix:             "ibf_"


CPG info:
I uncommented the proper line in   "Include/init.inc.php"

This is my editable portion  "bridge/invisionboard.inc.php"

// ------------------------------------------------------------------------- //
// ------------------------------------------------------------------------- //
// Modify the values below according to your Board installation
// ------------------------------------------------------------------------- //
// database configuration
define('IB_DB_NAME', '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', 'cutout'); // The username to use to connect to the database
define('IB_DB_PASSWORD', 'cutout'); // 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', 'asylum'); // 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

// 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);
// ------------------------------------------------------------------------- //
// Nothing to edit below this line
// ------------------------------------------------------------------------- //



IPB config info:

cookie domain:    "chaggy2.no-ip.info"
cookie name prefix:    "asylum"
cookie path:             "/forums/"



I think thats all thats relevant please ask if more is needed.

Thank you all ahead of time for any help, I appreciate it alot :)

-chaggydawg

Casper

Quote from: "chaggydawg"CPG uses the prefix: "cgp11d_" (I upgraded to 1.2.1 today however)

CPG 1.2.1 uses this prefix, and cookie setting.  What is your cpg cookie settings?


Quote from: "chaggydawg"You can easily make an account in my forums if you need to see what I mean...

Supporters of this board will not go through the process of registering, supplying email details etc., on every site that asks for help.  You should provide a test account and password here(NOT Admin), which you can delete when finished.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

chaggydawg

oh right sorry about that:

for forum
user:   tester
pass:   tester



CPG cookie settings:
name of cookie used by script:     "asylumPG"
cookie path:                               "/"


I don't see any other cookie settings

Also I can turn on debug mode for gallery if that will help....

thanx again :)

barneyb

I'm having the same problem......I think it's something to do with a re-direct (?) - there is a "Mod" for this re phpBB, but I can't find one for Invision Power Board....

chaggydawg

Quote from: "barneyb"I'm having the same problem......I think it's something to do with a re-direct (?) - there is a "Mod" for this re phpBB, but I can't find one for Invision Power Board....


I don't think a redirect will help with this issue, once your signed into the forum, Going directly to the gallery you should be signed in there as well. In fact I would think that if you set it to keep you logged in that you could close the browser window and come bck a week later and still be autologged into the gallery and the forum...

I believe the redirection is an issue that comes after you successfully integrate.

chaggydawg

I have Gotten rid of any registering/logging abilities of My Gallery (well edited out the links anyways), But I would still like to be able to integrate in the future, if anyone is seeing something I forgot to configure, or something that is wrong with configuration, please post a message here :)