Shamim Hasan

Forum Replies Created

Viewing 15 posts - 511 through 525 (of 2,467 total)
  • Author
    Posts
  • in reply to: Captcha only visible when I’m logged in #41366
    Shamim Hasan
    Keymaster

    May you please send me your contact form url?

    in reply to: Wpforms #41364
    Shamim Hasan
    Keymaster

    For wpforms captcha setup please follow https://wpforms.com/docs/setup-captcha-wpforms/

    in reply to: Add custom filtering on users based on ACF Field #41348
    Shamim Hasan
    Keymaster

    As i understand you want to restrict message sending between users based on some custom value of each user.
    You can use following code

    add_filter( 'fep_current_user_can', function( $can, $cap, $id ){
        if ( 'send_new_message_to' != $cap || ! is_user_logged_in() || fep_is_user_blocked() ) {
    	return $can;
        }
        //Here check your custom value.
        //sender user id = get_current_user_id()
        //receiver user id = $id
        //return true if this sender can send to this receiver
        //return false if this sender can not send to this receiver
    }, 10, 3);
    
    in reply to: Invalid or expired license #41339
    Shamim Hasan
    Keymaster

    Your refund is processed.

    We provide license to provide update and support.

    But reCaptcha is a service of google. Every website needs to have keys from google to get that service. Our settings page screenshot is attached. You can see we provide instructions in multiple places how to get those keys.

    You can suggest me how we can be more explicit with that instruction so that i can provide better instructions for all users.

    Attachments:
    You must be logged in to view attached files.
    in reply to: Invalid or expired license #41335
    Shamim Hasan
    Keymaster

    You need to get site key and secret key from google. Please see https://www.shamimsplugins.com/docs/advanced-nocaptcha-recaptcha/getting-started-advanced-nocaptcha-recaptcha/how-to-get-google-recaptcha-keys/

    Let me know.

    If you need refund don’t worry about it. I will full refund you.

    in reply to: Invalid or expired license #41329
    Shamim Hasan
    Keymaster

    Can you please give me a screenshot of your license page and error message?

    in reply to: Group Messaging #41306
    Shamim Hasan
    Keymaster

    Add following code in your theme’s (child theme’s if you are using) functions.php

    add_filter( 'fep_get_option', function( $value, $option ) {
    	if ( in_array( $option, ['can-send-to-group', 'allow_attachment'] ) ) {
    		if( fep_is_user_admin() ) {
    			return true;
    		} else {
    			return false;
    		}
    	}
    	return $value;
    }, 10, 2 );
    

    This will allow to send group message and attachments only by admins.

    May you explain “the user could only add himself to a specific group” a little more? Suppose you have 5 groups but you want your users can add themselves only specific 2 groups?

    in reply to: Captcha not showing on page #41301
    Shamim Hasan
    Keymaster

    It redirect me to your main login page, so i cannot check. Please disable redirect for now to check.

    in reply to: Captcha not showing on page #41297
    Shamim Hasan
    Keymaster

    I visited your website and it seems this is not the actual code of your login form.
    Please re-check you have added code in appropriate location.

    Let me know.

    in reply to: Captcha not showing on page #41293
    Shamim Hasan
    Keymaster

    You can upload in drive/dropbox and give me link.
    Or paste here and wrap code between backticks.

    in reply to: Front END PM issue with WP-ADMIN Speed #41292
    Shamim Hasan
    Keymaster

    May you please let me know following
    1. Version of this plugin, wordpress and php
    2. Activate query monitor plugin and see which query taking more time
    3. Deactivate all other plugins and activate one of default theme (tweenty*) then test. If it is taking normal time then activate one by one and test.

    in reply to: Captcha not showing on page #41277
    Shamim Hasan
    Keymaster

    Add <?php do_action( 'anr_captcha_form_field' ); ?> before submit button.
    Let me know.

    in reply to: Disable #41263
    Shamim Hasan
    Keymaster

    I think UPT()->get_user_id() is receiver user id in your code. So you can use like fep_current_user_can( 'send_new_message_to', UPT()->get_user_id() )

    in reply to: Disable #41258
    Shamim Hasan
    Keymaster

    You can wrap your code between back ticks.

    Which user message is disabled? Sender or receiver? From where they disable the message?

    in reply to: Disable #41252
    Shamim Hasan
    Keymaster

    Then you need to add code in php. Check fep_current_user_can( 'send_new_message' ) before that link output.

Viewing 15 posts - 511 through 525 (of 2,467 total)