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: Incorrect Logout URL [ MyBB Bridge ]  (Read 7022 times)

0 Members and 1 Guest are viewing this topic.

lambda

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Incorrect Logout URL [ MyBB Bridge ]
« on: October 11, 2012, 07:49:17 pm »

Hey, I just wanted to first say that this is an awesome project that I can tell tons of hours of work went into. All the features are outstanding, and the built in bridging is great!

I've bridged my MyBB forums with my Gallery. It works when people are logged in, but it does not work when someone tries to logout.

Inside my theme.php I see the line:

Code: [Select]
'{LOGOUT_TGT}' => "logout.php?form_token=$form_token&timestamp=$timestamp&referer=$REFERER"
The MyBB logout code is as follows:

Code: [Select]
/member.php?action=logout&logoutkey=$cookieID
I tried changing the theme.php link to that, but it didn't seem to work. It seems that the $form_token variable is not the correct cookie ID variable needed.

If someone could help me out, I'd greatly appreciate it.

Thanks again for creating an awesome project that you guys made open source!
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: Incorrect Logout URL [ MyBB Bridge ]
« Reply #1 on: October 11, 2012, 09:35:58 pm »

Please post a link.
http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616

Why did you change the link? Did it not work before?
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

lambda

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: Incorrect Logout URL [ MyBB Bridge ]
« Reply #2 on: October 11, 2012, 10:00:02 pm »

Once I made the bridge the logout feature stopped working, takes you to a 404 page. I changed the link and then changed it back because neither was working. This link came default in my theme file for "Curve" when I first installed Coppermine:

Code: [Select]
'{LOGOUT_TGT}' => "logout.php?form_token=$form_token&timestamp=$timestamp&referer=$REFERER"
Link to the gallery: http://www.modmydesktop.com/gallery/
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: Incorrect Logout URL [ MyBB Bridge ]
« Reply #3 on: October 11, 2012, 11:31:52 pm »

It looks like Coppermine only has bridging files available for MyBB 1.4, so if you have a newer version it will probably fail in ways such as yours is.

If you have myBB 1.4 then please provide us with this information.
http://documentation.coppermine-gallery.net/en/bridging.htm#integrating_support_start
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Incorrect Logout URL [ MyBB Bridge ]
« Reply #4 on: October 12, 2012, 12:59:48 pm »

The logout in many cases depends on the app you are bridged too and not coppermine. I am not familiar with MyBB so cannot say for sure. So it may not be something we can control.
Logged
It is a mistake to think you can solve any major problems just with potatoes.
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 19 queries.