Issue: wrong redirection after login on modal login.
to fix: redirect correctly to page where the login has been done.
Fixed on next WP_w3all with this:
About the modal login, and correct redirect into wp forum page, this is the code to change:
open your Wp template page-forum(or board etc).php search for the line:
Code: Select all
<input type="hidden" name="redirect" value="<?php echo $w3urlscheme . "://" . $_SERVER['SERVER_NAME'].$_SERVER['PHP_SELF']; ?>">
just replace with this:
Code: Select all
<input type="hidden" name="redirect" value="<?php echo home_url().'/'.get_option( 'w3all_forum_template_wppage' ); ?>">
OR with this:
Code: Select all
<input type="hidden" name="redirect" value="<?php echo home_url().'/index.php/'.get_option( 'w3all_forum_template_wppage' ); ?>">
Now on modal login, the correct redirect to WP page forum should be executed.