How to make redirect after logout

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bonjurkes
    Senior Member
    • Apr 2005
    • 257
    • 3.6.x

    How to make redirect after logout

    Hello,

    I am wondering how can i make a redirect after user clicks logout button?

    I tried something like

    login.php?do=logout&logouthash=$logoutHash&redirect={$return}

    logouthash is variable for vbulletin's logout hash, and return will make user go back to page that he clicked logout page

    but when i click it, it says there is a problem while logging out please click here to log out.

    So it doesn't work, can someone tell me how to do it?
  • Zachery
    Former vBulletin Support
    • Jul 2002
    • 59097

    #2
    Don't think you can without modifications to the code.

    Comment

    • Exstedt
      New Member
      • Nov 2007
      • 17
      • 3.6.x

      #3
      What would the code/link be to just make a user log out of the forums?

      login.php?do=logout&logouthash ?

      When I click the button, I get the same message as the user above, with the 'please click here to log out'.

      Comment

      • Nick
        Senior Member
        • Feb 2008
        • 3507
        • 3.8.x

        #4
        Originally posted by Exstedt
        What would the code/link be to just make a user log out of the forums?

        login.php?do=logout&logouthash ?

        When I click the button, I get the same message as the user above, with the 'please click here to log out'.
        Originally posted by Zachery
        Don't think you can without modifications to the code.
        Inquire at www.vbulletin.org since this requires custom coding.
        Regards,
        Nick

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        😀
        😂
        🥰
        😘
        🤢
        😎
        😞
        😡
        👍
        👎