Stiofan O'Connor

Forum Replies Created

Viewing 15 posts - 241 through 255 (of 324 total)
  • Author
    Posts
  • in reply to: Some error with login and reset password with members #872

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    thanks for letting us know, glad you got there in the end! 🙂

    Stiofan

    in reply to: Some error with login and reset password with members #855

    Stiofan O’Connor
    Site Admin
    Post count: 22956
    This reply has been marked as private.
    in reply to: Restrict User Sign Ups #854

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    You are welcome 🙂

    P.S. interesting site, i bet there are some amazing stories that will be shared 🙂

    in reply to: Restrict User Sign Ups #852

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    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

    in reply to: Some error with login and reset password with members #831

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Did u disable the other one first? Can we disable it and setup our own one?

    Stiofan

    in reply to: Move logged-in/logged-out menu items #827

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    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

    in reply to: Some error with login and reset password with members #826

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Have u tried disabling the “Google Captcha” plugin, this seems to be the problem, please confirm.

    Stiofan

    in reply to: Some error with login and reset password with members #817

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    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

    in reply to: Spam Registration #816

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    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

    in reply to: Change default child theme directory for form templates #810

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Great! 🙂
    I’m glad you got it working and thank you very much for your review again 🙂

    Stiofan

    in reply to: Change default child theme directory for form templates #808

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Yes 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

    in reply to: Some error with login and reset password with members #807

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hello,

    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

    in reply to: Notification email #805

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    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

    in reply to: Change default child theme directory for form templates #804

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi 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

    in reply to: Change default child theme directory for form templates #794

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Actually you were pretty close, just change
    uwp_templates_
    to (no s)
    uwp_template_

    Stiofan 🙂

Viewing 15 posts - 241 through 255 (of 324 total)