Modify login script Modify login script
 

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

Modify login script

Started by Computer Guru, May 25, 2005, 01:25:26 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Computer Guru

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..