Advanced search  

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]

Pages: [1]   Go Down

Author Topic: vBulletin 3.5 Logout  (Read 3506 times)

0 Members and 1 Guest are viewing this topic.

tgillespie

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
vBulletin 3.5 Logout
« 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

Code: [Select]
function logout_page()
{
$this->redirect("/login.php?do=logout&u=". USERID);
}
The correct URL for a vBulletin logout is as follows
Code: [Select]
/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.
Logged

Nibbler

  • Guest
Re: vBulletin 3.5 Logout
« Reply #1 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.
Logged

tgillespie

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: vBulletin 3.5 Logout
« Reply #2 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.
Logged

Nibbler

  • Guest
Re: vBulletin 3.5 Logout
« Reply #3 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 16 queries.