Cannot log out

Discussion in 'Admin Talk Support & Feedback' started by Justin S., Jun 10, 2009.

  1. Justin S.

    Justin S. Regular Member

    Joined:
    Feb 2, 2008
    Messages:
    206
    Likes Received:
    30
    Location:
    Central Ohio
    Clicking on the "Log Out" link doesn't work. Doing so causes the screen to turn grayscale and a popup comes up asking if I'd like to log out. Clicking on OK closes the popup, but the screen remains grayscale and I am not logged out. Navigating to other pages doesn't log me out, either.

    I'm using Internet Explorer 7, and it's quite necessary to log out as this isn't my computer.

    Thanks.
     
  2. Chris

    Chris Regular Member

    Joined:
    Dec 27, 2007
    Messages:
    5,422
    Likes Received:
    86
    Yikes! Just out of curiosity, which "Log Out" link are you using (i.e. where is it located)?
     
  3. Mike

    Mike Adept

    Joined:
    May 23, 2009
    Messages:
    137
    Likes Received:
    88
    Location:
    Lafayette, IN, USA
    First Name:
    Mike
    Chris, the link in the Quick Links dropdown is knackered.
     
  4. Chris

    Chris Regular Member

    Joined:
    Dec 27, 2007
    Messages:
    5,422
    Likes Received:
    86
    Ugh, alright - thanks for letting me know. For the time being, try using the link that is located near the very bottom (right-hand side) of the index page. :)
     
  5. Nick

    Nick Regular Member

    Joined:
    Jul 27, 2008
    Messages:
    7,441
    Likes Received:
    218
    Yep, I'm aware of this problem and still haven't figured out how to fix it. As Chris mentioned, you'll need to use the one on the bottom of the forum index.
     
  6. Demo

    Demo Regular Member

    Joined:
    Jun 9, 2009
    Messages:
    172
    Likes Received:
    6
    Location:
    Europe
    First Name:
    Demo
    Code:
    <a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out('Are you sure you want to log out?')">$vbphrase[log_out]</a>
    ?
     
  7. Nick

    Nick Regular Member

    Joined:
    Jul 27, 2008
    Messages:
    7,441
    Likes Received:
    218
    Here's what I have; I will leave it up to you to tell me if it's different than yours, because if it is, then I missed it the first 50 times I checked:

    Code:
    <a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]"  onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a>
    It's baffling, because I copied the code from the forumhome footer (which works) and used it in the navbar - and it doesn't work. So why does it work on the forumhome but not on the navbar? :confused:
     
  8. Demo

    Demo Regular Member

    Joined:
    Jun 9, 2009
    Messages:
    172
    Likes Received:
    6
    Location:
    Europe
    First Name:
    Demo
    Before onclick, you have 2 spaces instead of one. Not sure how much effect this causes.

    But I remember I purposely replaced the phrase in the onclick code, not entirely sure why I did that. It solved some issue I had at that time
     
  9. Nick

    Nick Regular Member

    Joined:
    Jul 27, 2008
    Messages:
    7,441
    Likes Received:
    218
    I tried that; it didn't do the trick. :(
     
  10. Tom

    Tom Regular Member

    Joined:
    May 27, 2009
    Messages:
    153
    Likes Received:
    18
    Location:
    New York
    For me, it doesn't even stay at a grey scale interface.

    It closes (screen appears in color) and I am still logged in.

    I was going to report this, but I figured it was just my machine. I'm happy to know I'm not the only one.

    I guess I'll have to find other ways.
     
  11. Demo

    Demo Regular Member

    Joined:
    Jun 9, 2009
    Messages:
    172
    Likes Received:
    6
    Location:
    Europe
    First Name:
    Demo
    I just noticed I have placed this code in the header template, so that explains why it does work on my forum...
     
  12. Mark.B

    Mark.B Guest

    The only real difference I can see from the source code is that on here it has a rel=nofollow in it.

    Besides that, the only thing I can think of, is that it a Javascript function sitting with a Javascript dropdown, perhaps the two clash.
     
  13. Nick

    Nick Regular Member

    Joined:
    Jul 27, 2008
    Messages:
    7,441
    Likes Received:
    218
    Demo, ours is in the header template as well. We don't use the standard navbar.

    Mark, that may be possible as well. I'll try putting it on the bar itself rather than inside the drop-down and see if that has anything to do with it.
     
  14. Nick

    Nick Regular Member

    Joined:
    Jul 27, 2008
    Messages:
    7,441
    Likes Received:
    218
    Yep, the problem was indeed that it was inside of the Quick Links menu. I wonder if there is a fix for that. Perhaps Wayne will chime in. If not, I'll go inquire at vBcom. :)
     
  15. Mark.B

    Mark.B Guest

    Cool!

    Personally I actually think it looks better where it is now. More immediately obvious for anyone on a public or shared PC who *needs* to log out.
     
  16. Abomination

    Abomination Zealot

    Joined:
    Jun 1, 2009
    Messages:
    1,514
    Likes Received:
    102
    Well that is one way to increase membership. :D

    [ame="http://www.youtube.com/watch?v=h4qEzSz1JSc"]YouTube - [Live] Eagles - Hotel California[/ame]

    :D
     
  17. Lynne

    Lynne Regular Member

    Joined:
    May 26, 2009
    Messages:
    333
    Likes Received:
    32
    Location:
    Home Sweet Home!
    I just tested it in my Quick Links dropdown on my test site and at first I added it by copy/paste and so it had "<td class="vbmenu_control">" around it and it worked fine. Then I saw the color was off, and changed it to "<td class="vbmenu_option">" and it broke like here. So, if you really wanted to find out why it doesn't work, that should provide a hint of some sort.
     

Share This Page