Announcement

Collapse
No announcement yet.

How to make redirect after logout

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?

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

    Comment


    • #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


      • #4
        Originally posted by Exstedt View Post
        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 View Post
        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...
        X