coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: tgillespie on May 18, 2006, 10:04:43 PM

Title: vBulletin 3.5 Logout
Post by: tgillespie on May 18, 2006, 10:04:43 PM
The logout function in vbulletin30.inc.php returns an error message "An error occurred while logging out, please click here".

The function in vbulletin30.inc.php is as follows

function logout_page()
{
$this->redirect("/login.php?do=logout&u=". USERID);
}
The correct URL for a vBulletin logout is as follows/login.php?do=logout&logouthash=$bbuserinfo[logouthash]Can anyone help me with finding a way to somehow grab the $bbuserinfo[logouthash] using a query so I can use it in the bridge's logout function. u=". USERID does not work anymore.
Title: Re: vBulletin 3.5 Logout
Post by: Nibbler on May 18, 2006, 10:19:55 PM
It may not be possible to obtain the logout hash externally. You'd need to look through the code and determine how it is implemented.
Title: Re: vBulletin 3.5 Logout
Post by: tgillespie on May 19, 2006, 12:18:52 AM
Well thanks for the help  :-\

Just figured that since its your bridge, you might want to make it work correctly. Guess I'll head over to vBulletin to see if I can find some help.
Title: Re: vBulletin 3.5 Logout
Post by: Nibbler on May 19, 2006, 02:01:33 AM
The bridge is a user contribution (see http://forum.coppermine-gallery.net/index.php?topic=24487.0), and there is nothing I can do to help you codewise since it is commercial software.