Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
May 3, 2019 at 6:39 pm in reply to: A list of user profile photos with big empty space on the side #24121Shamim HasanKeymaster
Can you please give me screenshot of that page?
May 2, 2019 at 8:20 pm in reply to: Can't reply to a message after it is deleted by other user. #24101Shamim HasanKeymasterPlease add following code in your theme’s (child theme’s if you are using) functions.php
add_filter( 'fep_message_table_bulk_actions', function( $actions ){ unset( $actions['delete'] ); return $actions; });This will remove delete option.
If you want your user can send reply even that is deleted also that is possible but need to be custom coded.
Shamim HasanKeymasterYes.
Please go to Dashboard > Pages > All Pages
Mouseover your this page title and click “Quick Edit” Then change Slug to whatever you like eg. messages. Then click Update.Shamim HasanKeymasterHow it is currently showing?
April 30, 2019 at 9:43 pm in reply to: Can't reply to a message after it is deleted by other user. #24008Shamim HasanKeymasterMay be you can use
fep_message_table_bulk_actionshook to remove delete option. That way there will be no option to delete message.If you want that your user get replies if they delete also that will be needed to custom code.
Shamim HasanKeymasterThere is no direct way to add this. You can follow https://www.shamimsplugins.com/docs/advanced-nocaptcha-recaptcha/getting-started-advanced-nocaptcha-recaptcha/implement-in-custom-form/
Or you can use any supported contact form (eg. Contact Form 7) to create your form. To implement in Contact Form 7 follow https://www.shamimsplugins.com/docs/advanced-nocaptcha-recaptcha/getting-started-advanced-nocaptcha-recaptcha/implement-in-contact-form-7/
Shamim HasanKeymasterCustomization will not invalidate license key. Just be sure you do not change license check function.
Please follow https://www.shamimsplugins.com/docs/front-end-pm-pro/troubleshoot/license-keys-not-activating/
Shamim HasanKeymasterWhich version or reCaptcha you are using?
If you are using v2 “I’m not a robot” captcha please go to Settings > Advanced noCaptcha & invisible Captcha > SizeShamim HasanKeymasterYour theme was adding extra div in that area. This is very unusual.
I have changed 2 lines of code in class-fep-pro-to.php line 392,393Please check now. You can use page builder again to build message page if you want.
I will test more. If everything working then i will modify this code in plugin next version to address this type of theme.
Shamim HasanKeymasterWhich version of this plugin you are using?
What is the key of your user’s mobile number? Where and how did you used code which i provided? Please give me full changes what you have done so that i can correct you is possible.This plugin is highly customizable. So i suggest not to edit this plugin code. Use hooks instead.
April 23, 2019 at 7:19 pm in reply to: Enter Button Not Working When Trying to Send a Message #23719Shamim HasanKeymasterAdd following code in your theme’s (child theme’s if you are using) functions.php
add_action( 'fep_after_form_fields', function( $where, $errors, $fields ){ if( in_array( $where, [ 'newmessage', 'reply' ] ) ) { ?> <script type="text/javascript"> document.addEventListener("keyup", function(event) { // Number 13 is the "Enter" key on the keyboard if (event.keyCode === 13) { // Cancel the default action, if needed event.preventDefault(); document.querySelector('.fep-form').submit(); } }); </script> <?php } }, 10, 3);Shamim HasanKeymasterIf you use Ultimate member plugin and want to integrate with this plugin please use https://wordpress.org/plugins/front-end-pm-ultimate-member-integration/
Shamim HasanKeymasterYou can use like following
$participants = fep_get_participants( $mgs_id ); foreach ( $participants as $participant ) { if ( $participant == fep_get_message_field( 'mgs_author', $mgs_id ) ) { continue; } $mobile = get_user_meta( $participant, 'mobile', true ); $msg = 'What you want to send'; wp_sms_send( $mobile, $msg ); }Shamim HasanKeymasterThank you for your suggestion. Noted it for future consideration. But currently no plan to change it’s design.
If you need to change design you will have to custom code for this. You can override this plugin template. Instruction in https://www.shamimsplugins.com/docs/front-end-pm/customization/change-templates/April 22, 2019 at 9:56 pm in reply to: Enter Button Not Working When Trying to Send a Message #23678Shamim HasanKeymasterIf you use “Textarea” editor in Front End PM PRO > Settings > General > Editor Type then i can write some code for you to achieve this. Otherwise it is not possible.
Let me know if you need code. -
AuthorPosts