Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
Shamim HasanKeymaster
To implement in a custom form please see https://www.shamimsplugins.com/docs/advanced-nocaptcha-recaptcha/getting-started-advanced-nocaptcha-recaptcha/implement-in-custom-form/
Shamim HasanKeymasterPlease got to Front End PM PRO > Settings > Emails > Email Piping/POP3
and set “Enable” as “None”. This will remove message key from email subject.July 7, 2019 at 11:31 pm in reply to: How to get the total number of messages received by the current user. #26619Shamim HasanKeymasteruse
fep_get_user_message_count( 'total' )Shamim HasanKeymaster1. Are other emails (eg. registration email) is being sent?
2. Both message and announcement emails are not being sent?
3. Please check Front End PM PRO > Settings > Licenses > Bleeding edge Update Then update to latest beta version. Then test and let me know.Shamim HasanKeymasterShamim HasanKeymasterAdd following code in your theme’s (child theme’s if you are using) functions.php
add_filter( 'fep_current_user_can', function( $can, $cap, $id ){ if ( 'add_announcement' != $cap || ! is_user_logged_in() || fep_is_user_blocked() ) { return $can; } if ( array_intersect( [ 'administrator', 'editor', 'author' ], wp_get_current_user()->roles ) ) { return true; } return false; }, 10, 3);July 3, 2019 at 9:46 pm in reply to: Button fep-message-toggle-all css gone when sidebar from view message is hidden #26482Shamim HasanKeymasterAdd following code in Front End PM PRO > Settings > Appearance > Custom CSS
#fep-content-single-sidebar { display: none; }Shamim HasanKeymasterThat value is readonly not the full field.
A new hook is added in https://github.com/shamim2883/front-end-pm/commit/dc41347194c1767d83526ee16d3b1fc8c09dba8a#diff-78cd5aa3783a74555c9938a2a81d01c6R328 but not yet merged with latest version. Next version you will get it merged and we can use that hook to make full field readonly.Shamim HasanKeymasterPlease use this code
add_filter( 'fep_filter_user_name', function( $name, $id ){ if ( $name && function_exists( 'um_fetch_user' ) && fep_get_the_id() ) { um_fetch_user( $id ); $name = '<a href="' . um_user_profile_url() . '">' . $name . '</a>'; } return $name; }, 10, 2);Shamim HasanKeymasterAdd following code in your theme’s (child theme’s if you are using) functions.php
add_filter( 'fep_pro_filter_pre_populate', function( $pre_populate ){ if ( $pre_populate && is_array( $pre_populate ) ) { foreach ( $pre_populate as &$value ) { $value['readonly'] = true; } } return $pre_populate; });Shamim HasanKeymasterYou can check if it is view message page first.
So your code lineif( function_exists( 'um_fetch_user' ) ){will beif( function_exists( 'um_fetch_user' ) && isset( $_GET['fepaction'] ) && 'viewmessage' === $_GET['fepaction'] ){Let me know.
July 2, 2019 at 9:13 am in reply to: Adding sender's user_login or um url profile tag to Email. #26414Shamim HasanKeymasterPlease add following code in your theme’s (chilld theme’s if you are using) functions.php
add_filter( 'fep_eb_email_legends', function( $legends, $mgs ){ $legends['sender_username'] = array( 'description' => __('Sender Username', 'front-end-pm'), 'where' => array( 'newmessage', 'reply' ), 'replace_with' => ! empty( $mgs->mgs_author ) ? fep_get_userdata( $mgs->mgs_author, 'user_login', 'id' ) : '', ); return $legends; }, 10, 2);Shamim HasanKeymasterPlease let me know the value of front End PM PRO > Settings > Recipient > Max recipients
Also will you use the value as 1 or more? (Code will be different if you use 1)Shamim HasanKeymasterIf you use “v2 invisible” captcha then you can set to show on left. See settings page of this plugin.
If you use v3 then google currently not allow any settings to position on left. But you can hide and add your own instead. Please see https://developers.google.com/recaptcha/docs/faq#id-like-to-hide-the-recaptcha-badge-what-is-allowed
Shamim HasanKeymasterFor future ref:
GoDaddy wordpress managed hosting block wordpress cron.
disable wordpress cron and enable real cron was the solution. -
AuthorPosts