forum.coppermine-gallery.net
Support => cpg1.5.x Support => cpg1.5 bridging => Topic started by: girlboheme on April 20, 2011, 01:20:29 pm
-
I just installed phpBB 3.0.8 ( http://littleblueumbrella.com/forum/ )
I also just installed Coppermine Photo Gallery v1.5.12 ( http://littleblueumbrella.com/gallery/ )
URL of Bridge App: http://littleblueumbrella.com/forum
Relative Path to your bridge app's config file: ../forum/
Cookie prefix: phpbb3_qkcy3
Cookie prefix: phpbb3_qkcy3
URL of the bridge app: http://littleblueumbrella.com/forum
Relative path to your bridge app's config file: ../forum/
Use bridge app custom groups?: 1
I have been working on this issue for several days: http://forum.coppermine-gallery.net/index.php/topic,72132.0.html
It has been determined that it is an issue with the Host and not Coppermine, but I can't ask the host to change this, so I need to get help with removing the redirect url from the Bridge.
Would anyone know what code needs to be changed to make this happen? Thank you!
-
Edit bridge/phpbb3.inc.php and change
function login_page()
{
global $CONFIG;
$redirect = urlencode($CONFIG['site_url']);
$this->redirect("/ucp.php?mode=login&redirect=$redirect");
}
function logout_page()
{
global $CONFIG;
$redirect = urlencode($CONFIG['site_url']);
$this->redirect("/ucp.php?mode=logout&redirect=$redirect&sid=" . $this->session_id);
}
to
function login_page()
{
$this->redirect("/ucp.php?mode=login");
}
function logout_page()
{
$this->redirect("/ucp.php?mode=logout&sid=" . $this->session_id);
}
-
PERFECT! Thank you!!
-
Nice nice nice, thank you very much that also solves my redirect problem.