Logout problem with vB3 Logout problem with vB3
 

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]

Main Menu

Logout problem with vB3

Started by armkbdotcom, July 03, 2004, 11:24:31 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

armkbdotcom

Hello,
I've installed the latest version of your script and bridged it with vBulletin 3. The first problem I've noticed so far is when I logout from coppermine it will redirect to my forum's logout page with parameters: $target = 'login.php?&do=logout';

Which is not correct as I understand and user id should be specified like this:

login.php?&do=logout&u=3

Is this known issue or I missed something?

armkbdotcom

For now I've found a quick solution. Not sure if this is correct but modifiing udb_logout_page function in vbulletin30.inc.php helps at first glance.


// Logout
function udb_logout_page()
{
    global $HTTP_COOKIE_VARS;

    $target = 'login.php?do=logout&u=' . $HTTP_COOKIE_VARS[VB_COOKIE_PREFIX . 'userid'];
    udb_redirect($target);
}

phryl

thank you for this. i'm having similar problems on login as well. my main id is an admin id on vb3, so when i click on "users" in cp, i get redirected to the login page to vb3 admin. do you have the same problem?