Patrik

Forum Replies Created

Viewing 15 posts - 1,036 through 1,050 (of 1,063 total)
  • Author
    Posts
  • in reply to: Reset Password Issues #1697

    Patrik
    Moderator
    Post count: 1971

    Hi Joy,

    The file is located at wp-content/plugins/userswp/includes/class-forms.php at line no. 933.

    Regarding the last page, You can change login redirect to home page or last visited page from the userswp->login->Login Redirect Page option on the admin side.

    Regards,
    Patrik

    in reply to: Reset Password Issues #1695

    Patrik
    Moderator
    Post count: 1971

    Hi Joy,

    Currently, this email message is coming from the code and not in notifications settings. We will move this from code to notification settings so that admin can change the email message in the future release of the plugin.

    It is not recommended to make changes in core files of the plugin but if this is required to be changed then you can change it from the code.

    Let me know if you need more information.

    Regards,
    Patrik

    in reply to: Incorrect login produces PHP warning #1658

    Patrik
    Moderator
    Post count: 1971

    Hi Jon,

    This error seems to be coming from the other plugin used for google captcha. Can you please tell us which plugin you are using for google captcha? We have our own plugin for google recaptcha which works fine with usersWP. You can find it here: https://userswp.io/downloads/recaptcha/

    Regards,
    Patrik

    in reply to: Limit Length of Bio? #1650

    Patrik
    Moderator
    Post count: 1971

    Hi Lux,

    There is no such functionality to limit the characters but it can be done using jQuery on the account page.

    Regards,
    Patrik

    in reply to: get_avatar example #1646

    Patrik
    Moderator
    Post count: 1971

    Hi Lux,

    There is no function in usersWP which will display the avatar with an edit link to update avatar. This will require customization as you are using the template to display the avatar. You can take help of the developer for this as we do not do customizations.

    Let me know if you have more queries.

    Regards,
    Patrik

    in reply to: Translation missing – Privacy #1645

    Patrik
    Moderator
    Post count: 1971

    Hi Joe,

    We have made a fix for this and will be available in next release of the plugin. You can see the fix here: https://github.com/UsersWP/userswp/pull/165

    Regards,
    Patrik

    in reply to: get_avatar example #1602

    Patrik
    Moderator
    Post count: 1971

    Hi Luxint,

    Can you please explain your issue in details about what exactly you want? Also, provide us the admin details in private reply so that we can have a look on your site and resolve your query.

    Regards,
    Patrik


    Patrik
    Moderator
    Post count: 1971

    Welcome, Abhijeet!

    Should I close this ticket now or you have any other queries?

    Regards,
    Patrik


    Patrik
    Moderator
    Post count: 1971

    Hi Abhijeet,

    It should work for the registration form also. I think there may be something missing in the template file. Can you give me FTP and also admin details in private reply to access and check the files of UWP?

    Regards,
    Patrik


    Patrik
    Moderator
    Post count: 1971

    Hi Abhijeet,

    There is no any hook or filter to display T&C message in social login widget on sidebar. You can use following code to display the message in the login form:

    
    
    add_action( 'uwp_social_fields', 'uwp_social_fields_after', 35, 1 );
    function uwp_social_fields_after($form) {
        if('login' == $form) {
            echo '<p style="font-size: 12px;">' . __('Using Social Login to enter the website means acceptance of our <a href="#">T&C</a>', 'userswp') . '</p>';
        }
    }

    You can remove the condition if you want to display the same message on the register form as well.

    Regards,
    Patrik

    in reply to: How to Set Default Login Redirect to Current User Location? #1571

    Patrik
    Moderator
    Post count: 1971

    Hi Abhijeet,

    We have just released a minor version recently so we can say we will release the next version soon. You can get back to Stiofan anytime to get the update about the next version release.

    Let me know if you have any other queries or I can close this ticket.

    Thanks,
    Patrik

    in reply to: How to enable CAPTCHA feature on login and regisration forms? #1570

    Patrik
    Moderator
    Post count: 1971

    Hi Abhijeet,

    I hope now your issues/queries are resolved. I am closing this issue for now. If you have any other queries then you can open a new ticket.

    Regards,
    Patrik

    in reply to: How to enable CAPTCHA feature on login and regisration forms? #1567

    Patrik
    Moderator
    Post count: 1971

    Hi Abhijeet,

    Currently, we have captcha add-on for our UWP forms only. Regarding social login, I would say most of the social sites have their own captcha/spam prevention system. So it is not required to implement the captcha for social logins.

    Let me know if you have any suggestions.

    Regards,
    Patrik

    in reply to: Why do login forms look different on different pages? #1565

    Patrik
    Moderator
    Post count: 1971

    Hi Abhijeet,

    We have already removed conditions to apply CSS and JS for UWP pages only so that all forms not on UWP pages will display properly. We have “uwp_page” class in body for all UWP pages to prevent conflicts for CSS and JS which is missing in non UWP pages. So if you want to use the same shortcode on other pages then you can add the class in the body by putting following code in your functions.php file of the current theme.

    
    
    add_filter( 'body_class', 'uwp_add_body_class_for_shortode', 10, 1 );
    function uwp_add_body_class_for_shortode( $classes ) {
    
        global $post;
    
        if ( isset($post->post_content) && has_shortcode( $post->post_content, 'uwp_login' )) {
            $classes[] = 'uwp_page';
        }
    
        return $classes;
    }

    You can modify this function for other shortcodes also if you want to use them on non UWP pages.

    Regards,
    Patrik

    in reply to: How to Set Default Login Redirect to Current User Location? #1563

    Patrik
    Moderator
    Post count: 1971

    Hi Abhijeet,

    Sorry! My mistake, You need to add it in functions.php file of the current theme. We will apply the fixes in the future release when you can remove the code.

    Regards,
    Patrik

Viewing 15 posts - 1,036 through 1,050 (of 1,063 total)