coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: Computer Guru on May 25, 2005, 01:25:26 PM

Title: Modify login script
Post by: Computer Guru on May 25, 2005, 01:25:26 PM
Hi,

I have everything working, and am trying to get this last thing with IPB redirect working. I have the redirect script on IPB and just need to configure Coppermine to give me the rught refer script when logging in

login link from CM: http://theconundrum.com/Coppermine/login.php?referer=/Coppermine/index.php

I need it to be an absoloute reference like http://theconundrum.com/Coppermine/login.php?referer=http://theconundrum.com/Coppermine/index.php

cuz forum is on subdomain that gets files from theconundrum.com/forums

LOGIN DETAILS:

Coppermine/test

forum.theconundrum.com
theconundrum.com/Coppermine

what do you guys think, is it possible?

EDIT

OK, i got to refer it right when logging OUT by modifying $REFERER = urlencode('http://theconundrum.com/coppermine/' . (isset($HTTP_SERVER_VARS['QUERY_STRING']) && $HTTP_SERVER_VARS['QUERY_STRING'] ? '?' . $HTTP_SERVER_VARS['QUERY_STRING'] : ''));

in init.inc.php

on login link in CM it says the right refer, but when i go to login in IPB it gets lost along the way for some reason..