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: Redirection problem on integreation with invisionboard  (Read 2787 times)

0 Members and 1 Guest are viewing this topic.

sportshare

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Redirection problem on integreation with invisionboard
« 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

Code: [Select]
header('Location: http://www.sportshare.org/forums/'. $target);
Code: [Select]
header('Location: http://' . $_SERVER['HTTP_HOST'] . IB_WEB_PATH . $target);AND
Code: [Select]
   header('Location: http://www.sportshare.org'. IB_WEB_PATH . $target);
None of them worked...
My ipb version is 2.0.4

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Redirection problem on integreation with invisionboard
« Reply #1 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 15 queries.