Hello.
I have an existing Login/Registration pop up on my site that handles all login, registration and password reset. This pop up can be called by using a class 'xoo-el-login-tgr'.
I need to know how to use this popup instead of the wpForo modals whenever wpForo needs a user action calls for the wpForo login or registration modals.
Please help me.
Thanks.
Hi,
Please try the solution provided here: https://wpforo.com/community/how-to-and-troubleshooting-2/where-can-i-find-and-edit-the-file-with-login-register-links-on-the-js-popup/#post-28162
I tried that but doesn't work. What you had shared is different from what I need.
What I want is my custom login popup (class 'xoo-el-login-tgr') should open instead of wpForo redirecting to the forum login or registration.
I am leaving this solution here for those who might find this useful.
I have managed to find and implement a better way around. Instead of using a pop up login to replace the wpForo login interface, I used redirections to a custom login and registration page by using wildcard regex as follow:
Sign in: https://mysite.com/sign-in/*
Sign up: https://mysite.com/sign-up/*
Now, to redirect users back to the same page before login or registration, I have used a 'Go back' button on the custom login page using the Back Button Widget.
I have also used the Block Visibility plugin to conditionally show the login/registration interface to logged out users and show the back button to logged in users on the custom login page.