CPG 1.3 - IPB 2.X Bridging Problem CPG 1.3 - IPB 2.X Bridging Problem
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

CPG 1.3 - IPB 2.X Bridging Problem

Started by matyasv, September 14, 2005, 12:48:26 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

matyasv

I finally got the log in to bridge after losing a few strands of hair...   It seems I didnt get the login.php file right.
anyway, my problem relates to the redirect.. That is all...
Thank you. Come again!

Coppermine
http://www.streetracersonline.com/copper

IPB
http://www.streetracersonline.com/forum

username: matyasv
pass: passcpg

Joachim Müller


matyasv

okay I figured out the redirect problem with the IPB 2.0 bridge

your script sends the log in with referer=blahblahblah

IPB 2.0 uses return=http://url to wherever you came from

NOTE: YOU MUST HAVE HTTP:// and a full url in order for the return script to work otherwise it calls fail function which redirects to the forum index

A server path, or any other path will not sufice.. Only a full URL starting with http://

use the following to obtain path

$HTTP_SERVER_VARS["HTTP_HOST"] . $HTTP_SERVER_VARS["REQUEST_URI"];