Limited Support
Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.
Hello!
I'm using wpforo along with Houzez theme and it has login and register through a popup and i wanted to use the same for forum too as login and register. how can i redirect user to popup?
Hi @propryte,
Since wpForo 1.7.0 we have added a hook for this purpose. See the changelog below: https://wpforo.com/community/wpforo-announcements/wpforo-1-7-0-is-released/paged/2/
You should use 'wpforo_login_or_register_popup_message' filter hook. Just put this code in your current active theme functions.php file:
function custom_wpforo_login_register_message( $html ){
return 'Please <a href="#" data-toggle="modal" data-target="#sign-in-modal">Sign in</a> or <a href="#" data-toggle="modal" data-target="#sign-up-modal">Register</a>';
}
add_filter('wpforo_login_or_register_popup_message', 'custom_wpforo_login_register_message', 10);
See the related topic below: https://wpforo.com/community/how-to-and-troubleshooting-2/which-files-contain-log-in-register-modal-code/