Change the destination where where user is sent upon logout
I the target page is a forum page you can change the menu to the target page and add /?wpforo=logout after URL. For example:
If the target page is not a forum page you should change it in core. but it's not a update safe way:
Find this line in /wpforo/wpforo.php file:
wp_redirect( wpforo_home_url( preg_replace('#\?.*$#is', '', wpforo_get_request_uri()) ) );
Change to this:
wp_redirect( wpforo_home_url( preg_replace('#\?.*$#is', '', 'http://example.com/target-page/') ) );
Thank you bba01, we'll take this under consideration.
I really would like this feuture as well. been playing out with different scripts for a day now and it just mess upp login/logout process. Know you got a lot of requests of features but this one would be quite easy to fix? (me just guessing actually) since you have the solution above.
Please remove all custom scripts. We just released wpForo 1.4.4 version. it comes with built-in options to set custom redirection URLs, you can find these options in Dashboard > Forums > Settings > Members admin page:
Hmmm, this doesn't appear to have a redirect on logout option...
I'm sorry but I don't follow you. Could you please clarify a bit.
Thank you Krisana,
We'll take it into consideration for future releases.