Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
Shamim HasanKeymaster
Please remove your license key then save changes and again input your license key and again save changes.
Let me know.Shamim HasanKeymasterAdd following code in your theme’s (child theme’s if any) functions.php
1.add_filter( 'fep_main_shortcode_output', function( $out ) { if( ! is_user_logged_in() ){ $out = '<div class="fep-error">' . sprintf( __( 'You must <a href="%s">login</a> to view/send a message.', 'front-end-pm' ), wp_login_url( get_permalink() ) ) . '</div>'; } return $out; });
2.
add_filter( 'fep_form_fields', function( $fields ){ if( isset( $fields['message_title'] ) ){ $fields['message_title']['label'] = __( 'Subject/Order number', 'front-end-pm' ); } return $fields; });
Shamim HasanKeymasterI see you have purchased a Single Site license which can be used in one site at a time (local, staging, dev excluded).
You can go to https://www.shamimsplugins.com/checkout/purchase-history/ to manage your sites.For announcement emails, please continue in previous topic.
Shamim HasanKeymasterdid you tried deactivating all plugins except this and change theme to default theme?
As before reinstall this plugin and change settings except “Sending Interval.” (only this settings change can affect cron).
Let me know.
Shamim HasanKeymasterI have also activated WP Crontrol and in WP-Cron Events this plugin event callback is showing (see screenshot). So maybe some other plugin/code is removing this.
Please change “Sending Interval” to 2 minutes and save changes. Then see if that register cron event again. You can do this couple of times (every time change by 1 or 2 minutes)Let me know.
Attachments:You must be logged in to view attached files.August 6, 2018 at 10:32 am in reply to: "Please wait at least 5 minutes between messages." Is there a way to disable it? #16250Shamim HasanKeymasterPlease go to Dashboard > Front End PM PRO > Settings > General > Time delay
Shamim HasanKeymasterI have tested again now and working correctly.
Please check following
1. Your website can run cron. There are many plugins out there to check.
2. Go to Dashboard > Front End PM PRO > Emails and check all the fields are filled. Eg. Announcement subject, Announcement content.
3. refresh your website couple of times after time ends. Eg. you set 1 minute. Then after 1 minute refresh your website
4. Reduce “Emails send per interval” to 10
5. If you use any customized email template, make sure no errors are there. Also check your server log if any error there.
6. You can also check https://codex.wordpress.org/Editing_wp-config.php#Alternative_CronLet me know.
Shamim HasanKeymasterinstead of 10 use higher priority.
Shamim HasanKeymasterIf you follow that tutorial step by step, any missing string will be there.
In your case, click update button (right button of top 4 buttons) should do the trick.
Shamim HasanKeymasterShamim HasanKeymasterI have updated above code. Please use this code.
August 4, 2018 at 12:50 am in reply to: Using admin only – how can admin send emails to anyone? #16198Shamim HasanKeymasterYou can use conditional
eg.add_filter( 'fep_menu_buttons', function( $menu ) { if ( isset( $_GET['fepaction'] ) && $_GET['fepaction'] == 'message_box' ){ $menu['cus_button'] = array( 'title' => __( 'Edit', 'front-end-pm' ), 'action' => 'edit', 'class' => 'fep-button your_unique_class', 'priority' => 15, ); } return $menu; });
Shamim HasanKeymasteradd following code in your theme’s (child theme’s if any) functions.php
add_filter( 'fep_query_url_without_esc_filter', function( $url, $args ){ $url = add_query_arg( $args, 'http://example.com/my-page/messages' ); //your page url return $url; }, 10, 2 );
Shamim HasanKeymasterIs it a page? Does this have any page id?
Shamim HasanKeymasterPlease do not commented that out.
PRO version announcement emails use queue system. read more in https://www.shamimsplugins.com/docs/front-end-pm-pro/getting-started-2/announcement-email-queue/
See your setup and wait at least that much time. You can reduce time in setup to trigger quickly. As wordpress cron require visitor to work, make sure you have visitor.Let me know.
-
AuthorPosts