coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: sportshare on August 31, 2005, 08:16:36 AM

Title: Redirection problem on integreation with invisionboard
Post by: sportshare on August 31, 2005, 08:16:36 AM
Hi somebody help me please!
I got a MOD for invision power board on invisionize.com (to integrade CPG with IPB).
But I'm having problems...

1 - The redirection thing isn't working, i already tryed

header('Location: http://www.sportshare.org/forums/'. $target);
header('Location: http://' . $_SERVER['HTTP_HOST'] . IB_WEB_PATH . $target);
AND
   header('Location: http://www.sportshare.org'. IB_WEB_PATH . $target);

None of them worked...
My ipb version is 2.0.4

define('IB_WEB_PATH', '/forums/');

How can I fix this thing?
When i click over the link Log in, on CPG, it redirects me to the IPB login index, then i login and i'm redirected to the board not to the CPG...

Another problem is:
on forums/sources/login.php
There was a modification like this:
$print->redirect_screen( $ibforums->lang['thanks_for_logout'], $_SERVER['HTTP_REFERER'], 1, );
but when im logged in and i click 'log out' i get a error.

Pease help me as soon as possible!
Thanks
Title: Re: Redirection problem on integreation with invisionboard
Post by: Joachim Müller on August 31, 2005, 09:25:54 AM
The mod on the invisionize forums sucks, as it changes coppermine code unnecesarily and incorrectly. It's known to cause bugs. It's built on an outdated version. Therefor, it goes unsupported. Ask questions about the "coppermine goes invisionize" hack over at invisionize, or better still: undo it and bridge the two apps as suggested in the coppermine docs.