Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
Shamim HasanKeymaster
Your 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.Shamim HasanKeymasterPlease see https://www.shamimsplugins.com/docs/front-end-pm/customization/remove-minlength-message-title/
instead ofmessage_title
usemessage_content
and instead ofminlength
usemaxlength
Shamim HasanKeymasterI see it is working fine. See screenshot.
What browser you are using? Clear your browser cache then try again.If you or your user do not sent message to multiple user at once you can disable multiple recipient. Go to Front End PM PRO > Settings > Recipients > Max recipients and set to 1
Attachments:You must be logged in to view attached files.Shamim HasanKeymasterPlease create 2 test account (1 admin and another normal user) and send to me using https://www.shamimsplugins.com/sensitive-information/
Shamim HasanKeymasterWhat is your language code?
I have tested now again with one of RTL language and both are working fine.
Can you please change your theme to one of default theme (eg. Twenty Sixteen) and then test?Let me know.
Shamim HasanKeymasterPlease use https://www.shamimsplugins.com/sensitive-information/ and send me an admin and ftp credentials. Also please note that i will create an test account with my email address so that i can test if i am getting email.
Shamim HasanKeymasterSever without cPanel may have very different settings. You can ask your host how to forward an email to a php script in your server.
OR
you can use POP3 feature. Go to Front End PM PRO > Settings > Emails > Email Piping/POP3. You can use any email address with POP3 access (even gmail, yahoo) for it.
Shamim HasanKeymasterIt is tested and working.
Please go toDashboard > Users > Your Profile > Name
to see different type of names for you. You have to useUsername
(case sensitive) from there to search. Go to edit user page to get other users UsernameShamim HasanKeymasterSorry, i changed only “TEXT” tab buttons.
Please check now.
As this is a message system which will not show publicly, i think user will not use those buttons too often. You can show plain textarea if you want. Go to Front End PM PRO > Appearance > General > Editor Type -
AuthorPosts