Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
Shamim HasanKeymaster
May you please send me your contact form url?
Shamim HasanKeymasterFor wpforms captcha setup please follow https://wpforms.com/docs/setup-captcha-wpforms/
Shamim HasanKeymasterAs i understand you want to restrict message sending between users based on some custom value of each user.
You can use following codeadd_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);
Shamim HasanKeymasterYour 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.Shamim HasanKeymasterYou 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.
Shamim HasanKeymasterCan you please give me a screenshot of your license page and error message?
Shamim HasanKeymasterAdd 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?
Shamim HasanKeymasterIt redirect me to your main login page, so i cannot check. Please disable redirect for now to check.
Shamim HasanKeymasterI 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.
Shamim HasanKeymasterYou can upload in drive/dropbox and give me link.
Or paste here and wrap code between backticks.Shamim HasanKeymasterMay 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.Shamim HasanKeymasterAdd
<?php do_action( 'anr_captcha_form_field' ); ?>
before submit button.
Let me know.Shamim HasanKeymasterI think
UPT()->get_user_id()
is receiver user id in your code. So you can use likefep_current_user_can( 'send_new_message_to', UPT()->get_user_id() )
Shamim HasanKeymasterYou can wrap your code between back ticks.
Which user message is disabled? Sender or receiver? From where they disable the message?
Shamim HasanKeymasterThen you need to add code in php. Check
fep_current_user_can( 'send_new_message' )
before that link output. -
AuthorPosts