Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
Shamim HasanKeymaster
I understand your concern.
If you can use hooks you can usefep_announcement_table_bulk_actions
,fep_announcement_bulk_individual_action
andfep_bulk_action_message
to achieve what you wanted.I can add this feature in next version of this plugin.
Shamim HasanKeymasterThank you for your nice suggestion.
I have added it to my to-do list. May be in future i will add this feature.As it seems this feature will need lots of code changes, it may take some time to add in the plugin.
Shamim HasanKeymasterYou can place this shortcode independent to
[front-end-pm]
shortcode. So you can place this is another page or in another tab. By programmatically setting “to” value i meant you can use this shortcode in php code and before that you can determine who is this users advisor. Like follows//Determine here who is current user's advisor and set his user nicename here. Suppose advisor user of current user is advisor1 $toUserNicename = 'advisor1'; do_shortcode( '[fep_shortcode_new_message_form to="' . $toUserId . '"]' );
Shamim HasanKeymasterThere are couple of ways to achieve that.
In my opinion easiest way is to use https://www.shamimsplugins.com/docs/front-end-pm/shortcode/fep_shortcode_new_message_form/ shortcode. You can set programmatically set “to” value so that this goes to directly to that advisor. You can block all “New Message” sending from role to role block but keep reply open for all. So that only way to send message is by this shortcode.October 20, 2021 at 2:08 pm in reply to: [Suggestion] Always display the other person instead of the user itself. #43826Shamim HasanKeymasterShamim HasanKeymasterWhen user open that announcement it automatically marked as read.
Shamim HasanKeymasterYou can keep that way. This plugin now use rest api instead of admin ajax.
Shamim HasanKeymasterDid you tried “Archive” folder?
Shamim HasanKeymasterSo do you want to send imminently or later? What is your setup as cron interval in this plugin’s settings page?
Shamim HasanKeymasterYou can go to Dashboard > Front End PM PRO > Settings > General to hide directory from users
October 12, 2021 at 12:51 am in reply to: Notification emails using fep_send_message function #43780Shamim HasanKeymasterIf you need to send notification email from fep, you can ask that plugin developer about that hook and let me know. I will try to give you some code changes.
Shamim HasanKeymasterin which hook this codes fire? this plugin’s email hook is added using
wp_loaded
hook. So your other plugin should use this hook or any later hookShamim HasanKeymasterNo, Notification email also should be sent.
Shamim HasanKeymasterYou want to send email later? Not when you send message?
How many users you have in recipients of that message?Shamim HasanKeymasterYou can use https://www.shamimsplugins.com/support/topic/question-wp-json-front-end-pm-v1-notification/#post-27140 directly. No changes in code required for 5 minutes
-
AuthorPosts