Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
Shamim HasanKeymaster
1. Please go to Front End PM PRO > Settings > Security > Role to Role Block > Add New and set “From Role” as student role, “To Role” and teacher role and “Block For” as “New Message”. Then save changes. After this settings students will not be able to send message to teacher.
2. 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( 'can-send-to-group' == $option ){ if( in_array( 'teacher', wp_get_current_user()->roles ) ){ $value = true; } else { $value = false; } } return $value; }, 10, 2 );Change
teacherwith your teacher user role. After this only teachers will be able to send group message.Shamim HasanKeymasterHow to know which user is teacher or student? are they in different role?
August 29, 2019 at 2:16 pm in reply to: How can I have the messages from woocommerce sent to Front End PM Pro? #28631Shamim HasanKeymasterThere is a integration extension in https://wordpress.org/plugins/front-end-pm-woocommerce-integration/ where buyer can send message to seller.
But to send other emails to Front End PM PRO, it needs to be custom coded.
August 27, 2019 at 1:42 am in reply to: How can I change the font sizes of the different texts? #28555Shamim HasanKeymasterYou can see https://developer.mozilla.org/en-US/docs/Tools/Page_Inspector#How_to to know how to use developer tool to change any size/color etc of any text.
Or follow following gif (using Firefox browser) to change size or any css value of any text and copy that value. You can paste that in Front End PM PRO > Settings > Appearance > Custom CSS if that css is this plugin specific. Or add in your child theme’s style.css file or in Dashboard > Appearance > Customize > Additional css if that css is not this plugin specific. With this easy steps you can change any css value of your website.
August 27, 2019 at 1:22 am in reply to: How can I increase the maximum text length limit in the subject line? #28551Shamim HasanKeymasterUse same code just change
minlengthtomaxlengthShamim HasanKeymasterYou asked to show un footer of “MessageBox”, that’s why i write that code for you.
To show under all pages of message system you can usefep_footer_noteaction hook.Shamim HasanKeymasterYou can use
fep_messageboxfilter to add anything bellow message box.
add following code in your theme’s (child theme’s if you are using) functions.phpadd_filter( 'fep_messagebox', function( $box ) { $box = $box . do_shortcode('[xyz-ips snippet="privacytel"]'); return $box; });Shamim HasanKeymasterYou can use this plugin lifetime but update and support for one year. (see again https://www.shamimsplugins.com/terms-and-conditions/ which you agreed during purchase )
It will not be auto renewed, After expire if you want you can renew, otherwise you can use this plugin lifetime without renew your license.
If you still want a refund just contact me using https://www.shamimsplugins.com/contact-us/
August 21, 2019 at 7:34 pm in reply to: Make the email and phone black out in the message content. It's possible? #28358Shamim HasanKeymasterYou can add following code in your theme’s (child theme’s if you are using) functions.php
add_filter( 'fep_filter_message_before_send', function( $message ) { // The @ symbol must be surrounded by character on both sides $message['message_content'] = preg_replace( '/[^@\s]*@[^@\s]*\.[^@\s]*/', '[EMAIL]', $message['message_content'] ); # for emails // Take any string that contains only numbers, spaces and dashes, // Can optionally have a + before it. $message['message_content'] = preg_replace( '/\+?[0-9\-]{5,}/', '[PHONE]', $message['message_content'] ); # for phone numbers return $message; });It will work most of the time.
August 20, 2019 at 11:54 pm in reply to: Make the email and phone black out in the message content. It's possible? #28324Shamim HasanKeymasterIt will be possible but will not be accurate. There are many ways to write email and phone number. I can provide just simple way to replace.
Shamim HasanKeymasterShamim HasanKeymasterNo. you will get a notification in real time (depending on your setup it may delay 1 min or more) and you will have to click/refresh page to read that message.
Shamim HasanKeymasterWhich contact form plugin you are using? Are you using Contact Form 7? If yes, please see https://www.shamimsplugins.com/docs/advanced-nocaptcha-recaptcha/getting-started-advanced-nocaptcha-recaptcha/implement-in-contact-form-7/
If still not working please let me know your contact form url.
Shamim HasanKeymasteryou should have received an email containing PRO version download link and license key.
You can also see your license key in https://www.shamimsplugins.com/checkout/purchase-history/ (Click “View Details & Downloads)
For activation process please see https://www.shamimsplugins.com/docs/advanced-nocaptcha-recaptcha/getting-started-advanced-nocaptcha-recaptcha/activate-pro-version-2/
Let me know
Shamim HasanKeymasterAs you have set this as resolved, i believe you have found your solution.
-
AuthorPosts
