Stiofan O'Connor
Forum Replies Created
-
AuthorPosts
-
thanks for letting us know, glad you got there in the end! 🙂
Stiofan
October 20, 2017 at 11:00 am in reply to: Some error with login and reset password with members #855This reply has been marked as private.You are welcome 🙂
P.S. interesting site, i bet there are some amazing stories that will be shared 🙂
Hi Ian,
I have now updated your membership to include all the latest releases.
I have also updated your code snippet to the below one which will do what you want.
add_filter( 'is_email', 'uwp_restrict_email_custom', 10, 2 ); function uwp_restrict_email_custom( $valid, $email ) { if ( strpos( $email, '@mycompany.com' ) === false ) { $valid = false; } return $valid; }
If i can help further just let me know.
Thanks,
Stiofan
Did u disable the other one first? Can we disable it and setup our own one?
Stiofan
Hi anders,
We will be changing things soon so GD items can be added to the menu as normal.
For now you would need to use hooks to remove and then re-add the items.Stiofan
October 19, 2017 at 12:34 pm in reply to: Some error with login and reset password with members #826Have u tried disabling the “Google Captcha” plugin, this seems to be the problem, please confirm.
Stiofan
Can you disable the “Google Captcha” plugin and use our own free one, that seems to be the problem.
Our free one: https://userswp.io/downloads/recaptcha/
Stiofan
Hi Terry,
Can you give me wp-admin in a private reply (only staff can see) and i’ll check your settings, it should all be good unless:
1. you only recently added recaptcha (it can take a few days to start working properly)
2. They are real spammers (not robots).Stiofan
October 18, 2017 at 12:47 pm in reply to: Change default child theme directory for form templates #810Great! 🙂
I’m glad you got it working and thank you very much for your review again 🙂Stiofan
October 18, 2017 at 11:14 am in reply to: Change default child theme directory for form templates #808Yes you do not need a do_action in the snippet. Below is the exact code i tested with on my test site:
add_filter('uwp_template_register','_my_uwp_template_change'); add_filter('uwp_template_login','_my_uwp_template_change'); add_filter('uwp_template_account','_my_uwp_template_change'); add_filter('uwp_template_change','_my_uwp_template_change'); add_filter('uwp_template_forgot','_my_uwp_template_change'); add_filter('uwp_template_profile','_my_uwp_template_change'); function _my_uwp_template_change($template){ if (strpos($template, 'register') !== false) { $template = get_stylesheet_directory() . '/newpath/userswp/register.php'; }elseif(strpos($template, 'login') !== false){ $template = get_stylesheet_directory() . '/newpath/userswp/login.php'; }elseif(strpos($template, 'account') !== false){ $template = get_stylesheet_directory() . '/newpath/account.php'; }elseif(strpos($template, 'change') !== false){ $template = get_stylesheet_directory() . '/newpath/userswp/change.php'; }elseif(strpos($template, 'forgot') !== false){ $template = get_stylesheet_directory() . '/newpath/userswp/forgot.php'; }elseif(strpos($template, 'profile') !== false){ $template = get_stylesheet_directory() . '/newpath/userswp/profile.php'; } return $template; }
Stiofan
October 18, 2017 at 10:56 am in reply to: Some error with login and reset password with members #807Hello,
As admin i can login fine..
When checking your files via FTP they are not in the correct folder, they are in a separate folder and not in the wp-content folder, i suspect this is the root of all problems, what is doing this?Stiofan
Hi Joy,
I saved the email settings and it now seems to work ok, i have opened a task to make sure this is not a a bug with new installs.
Thanks for letting us know about the issue.
Stiofan
October 18, 2017 at 8:37 am in reply to: Change default child theme directory for form templates #804Hi Abhijeet,
That is strange, its working for me, and do_action should always be defined unless you are calling the file direct.
If you can provide wp-admin details in a private reply i will take a look, also let me know where your code is located.
Thanks,
Stiofan
October 17, 2017 at 6:35 pm in reply to: Change default child theme directory for form templates #794Actually you were pretty close, just change
uwp_templates_
to (no s)
uwp_template_Stiofan 🙂
-
AuthorPosts