Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
February 12, 2024 at 12:46 pm in reply to: Limit messages for free members & link messaging system to buddypress #45872Shamim HasanKeymaster
1. Are you using any plugin for free and pro members? How are you determining which one is free or pro members?
2. I did not integrate buddypress yet, so cannot assist with that. but integrated with bbpress previously. You can get an idea from https://www.shamimsplugins.com/docs/front-end-pm/customization/user-name-pre-populate-new-message/February 12, 2024 at 12:35 pm in reply to: Unable to add 2 or more recipients with the same first name #45871Shamim HasanKeymasterI am trying to fix it. It may take some time.
In the meantime you can use different display name for the user. Use following code to show full name instead of just first nameadd_filter( 'fep_filter_show_which_name', function( $which ){ return 'first_last_name'; });
January 26, 2024 at 2:12 pm in reply to: action fep_email_interval_event not triggered every time #45863Shamim HasanKeymasterIf you change it to 1 minute again, does that event still works? Is 1 minute event added by any other plugin? 15 minutes interval is added and default for this plugin.
Shamim HasanKeymasterThis plugin provided “Every 15 minutes” (fep_15_min) interval. Others are added by your other plugins/themes. So you can switch back to this.
event name isfep_email_interval_event
.
Also please take note message get priority over announcement when sending queue emails. If you send message for more than 5 users (default set) it usages queue to send emails.You can see
class-fep-email-beautify.php
file (email_interval_event_callback
method) for code.Shamim HasanKeymasterYou can see
class-fep-directory.php
file (line: 149) for the code. Sorry no documentation is writted for this hook.
You can wrap code if a if block to prevent this. Like followingfunction mail_icon( $user ) { if ( get_current_user_id() != $user->ID ) { ?><a href="<?php echo fep_query_url( 'newmessage', array( 'fep_to' => $user->user_nicename ) ); ?>"><img src="[URL]" /></a><?php } }
Shamim HasanKeymasterPlease use like following
function mail_icon( $user ) { ?><a href="<?php echo fep_query_url( 'newmessage', array( 'fep_to' => $user->user_nicename ) ); ?>"><img src="[URL]" /></a><?php }
Shamim HasanKeymasterCan you please reduce “Emails sent per interval” to 10 (for testing) in Front End PM PRO > Settings > Emails. Sometimes in some host email delivery is slow and get timeout there.
January 21, 2024 at 7:00 pm in reply to: Invalid license. Please visit your account page and verify it. #45850Shamim HasanKeymasterCan you please check now? If still not working please let me know which version of the plugin you are using.
Shamim HasanKeymasterWhich version of the plugin you are using? Can you troubleshoot is there any conflict with other plugins by following https://wordpress.com/support/plugins/solve-problems-with-plugins/#health-check-amp-troubleshooting-plugin
Shamim HasanKeymasterCan you please install a cron plugin (eg. WP Crontrol) and check if cron is firing correctly?
Shamim HasanKeymasterDo you know php? if yes you can use
fep_directory_table_column_content_send_message
action hook to echo anything you want instead.Shamim HasanKeymasterCan you please install a cron plugin (eg. WP Crontrol) and check if cron is firing correctly?
Shamim HasanKeymasterDo you want to strip only in email (which sent to email address after message sent) or in message as well (which shown in website)?
Shamim HasanKeymasterHow many users do you have?
This plugin makes a notification request to query new messages every 2 minutes by default. You can change this by using following codeadd_filter( 'fep_filter_ajax_notification_interval', function( $interval ){ $interval = 5 * MINUTE_IN_SECONDS * 1000; return $interval; });
After adding this code, it will make request every 5 minutes (you can change this to any number). Purge all cache and wait some time. Then check.
Shamim HasanKeymasterThis url is to that particular announcement, not for opening page.
You can change email format in Dashboard > Front End PM PRO > Emails -
AuthorPosts