Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
February 20, 2022 at 2:02 pm in reply to: SET front-end-pm shortcode in elementor library page #44247Shamim HasanKeymasterShamim HasanKeymaster
If you remove other codes and uncheck that box and add this code, i do not see any way to show those read receipt to all users. It should show only to admins.
If you debug make sure you are not logged in as admin.
If still showing can you give me access to your website so that i can test there? If yes, please backup your site. then create 2 accounts, one as admin and another as user and send to me through https://www.shamimsplugins.com/sensitive-information/
Shamim HasanKeymasterPlease remove all other code and then add following code. If working you can add other codes. let me know.
add_action( 'init', function(){ if( fep_is_user_admin() ){ add_action( 'fep_display_after_announcement', array( Fep_Read_Receipt::init(), 'display_read_receipt' ), 99 ); add_action( 'fep_display_after_message', array( Fep_Read_Receipt::init(), 'display_read_receipt' ), 99 ); } });
Shamim HasanKeymasterPlease go to Front End PM PRO > Settings > Emails then change “Email Sending Interval” to something else and save changes. Then again change to current value and save changes. Wait some times and see of start sending.
Let me know.
Shamim HasanKeymasterShamim HasanKeymasterPlease go to options table where option name
FEP_admin_options
. You can copy/pase option value with same option nameShamim HasanKeymasteradd following code in your theme’s (child theme’s if you are using) functions.php
add_filter( 'fep_filter_user_name', function( $name, $id ){ if ( $name ) { $name .= " ($id)"; } return $name; }, 10, 2);
Shamim HasanKeymasterCan you please follow https://www.shamimsplugins.com/docs/front-end-pm-pro/getting-started-2/translate/#loco_translation ? It should make those string available to translate.
Shamim HasanKeymasterShamim HasanKeymasterPlease recheck if you unchecked “Read Receipt” in Front End PM PRO > Settings > Recipient on both websites
Shamim HasanKeymasterKeep unchecked that box.
Then add following line after add_action( ‘fep_display_after_announcement’, array( Fep_Read_Receipt::init(), ‘display_read_receipt’ ), 99 );add_action( 'fep_display_after_message', array( Fep_Read_Receipt::init(), 'display_read_receipt' ), 99 );
Shamim HasanKeymasterPlease tell your hosting support to forward emails to that php script
Shamim HasanKeymasterPlease go to Front End PM PRO > Settings > Recipient and uncheck “Can send to group”
Shamim HasanKeymasterDid you unchecked “Read Receipt” in Front End PM PRO > Settings > Recipient? If not, uncheck that
Shamim HasanKeymasterPlease remove first add_action( ‘fep_display_after_announcement’, array( Fep_Read_Receipt::init(), ‘display_read_receipt’ ), 99 ); line
-
AuthorPosts