Logout problem with vB3 Logout problem with vB3
 

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

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?