Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
October 31, 2018 at 12:02 am in reply to: Send separate message for each member for group message #18683Shamim HasanKeymaster
Add following code in your theme’s (child theme’s if any) functions.php
add_filter( 'fep_directory_arguments', function( $args ){ if ( ! empty( $_GET['fep-search'] ) && in_array( $_GET['fep-search'], [ 'Individual', 'Corporate' ] ) ) { $args['meta_query'][] = [ 'key' => 'group_type', 'value' => $_GET['fep-search'], ]; unset( $args['search'] ); } return $args; });
(untested).
if you search users with Individual or Corporate (case sensitive) then they will be searched with that meta.
October 30, 2018 at 11:46 pm in reply to: Feature request – the ability to set scheduled announcements. #18681Shamim HasanKeymasterThank you for your nice suggestion.
I am already working on that. When design new database for this plugin i already thought of that and make a way so that i can now easily done that.
I am just deciding which code i will use to select date and time. May be next major version you will get this feature.October 30, 2018 at 2:19 pm in reply to: a not-admin role able to view directory and send new announcement #18667Shamim HasanKeymasterPlease let me know following
1. All users of client roles can view directory & add announcements?
2. Please send me capabilities of client role. (which plugin add this role? To know what i mean with capabilities please see https://codex.wordpress.org/Roles_and_Capabilities)Please add following code in your theme’s (child themes if any) functions.php
add_filter( 'fep_admin_cap', function( $admin_cap ){ return 'administrator'; });
If still it does not work then i need to debug your website with php code. You can deactivate all plugins except this and change theme to one of default theme (unmodified). Then test. Then activate one by one.
OR you can give me FTP access (only wp-content directory access is ok) so that i can debug your website. If you give me FTP access please use https://www.shamimsplugins.com/sensitive-information/Shamim HasanKeymasterIt seems you have edited it wrong. You did not deleted red area in left hand side of that github commit.
Please replace all code of class-fep-messages.php with https://github.com/shamim2883/front-end-pm/blob/master/includes/class-fep-messages.phpLet me know.
Shamim HasanKeymasterDid you check Front End PM PRO > Settings > Security > Can permitted users add Announcement from front end?
October 29, 2018 at 10:50 pm in reply to: Send separate message for each member for group message #18642Shamim HasanKeymasterGroup message works in a different way then multiple recipient.
If you want separate message for each members then multiple recipients option is what you want. You can select multiple recipients from Directory and send message to them (Select “Send Message” from Bulk Action dropdown) so that you do not need to type user name one by one. Or you can collect your users ids, Then go to “New Message” and in url paste like&fep_mr_to=1,2,3
(where 1,2,3 is user ids separated by comma) then press “Enter”. This will fill up your “To” field with those users so that you do not need to type one by one.October 29, 2018 at 12:30 pm in reply to: a not-admin role able to view directory and send new announcement #18626Shamim HasanKeymaster1. All users of client roles can view directory & add announcements?
2. Please send me capabilities of client role.Shamim HasanKeymasterPlease make this changes https://github.com/shamim2883/front-end-pm/commit/ffbb4fea311fdb23073adf686f5fcb5893b36fbc
October 29, 2018 at 7:53 am in reply to: a not-admin role able to view directory and send new announcement #18616Shamim HasanKeymasterDo you have any custom code for this plugin?
Did you add that user as whitelisted in Front End PM PRO > Settings > Security?October 28, 2018 at 7:42 am in reply to: You can now safely delete Front End PM PRO legacy messages and announcements. #18574Shamim HasanKeymasterUsers can still see their messages and announcements after this operation.
Please backup your database and proceed. It will free up your database and improve performance.Shamim HasanKeymasterGo to Front End PM PRO > Settings > Emails and unchecked “Send email to all users when a new announcement is published?”. This will prevent email sending when announcement is created. But there is no direct checkbox for message emails.
This plugin use wordpress core wp_mail function to send email, so that you can easily block email. There are some plugins also in wordpress directory to block emails when you are not in production.
Shamim HasanKeymasteradd
heading=""
in your shortcodeShamim HasanKeymasteradd
subject="{current-post-title}"
in your shortcodeShamim HasanKeymasterI see your license is ok.
Please follow https://www.shamimsplugins.com/docs/front-end-pm-pro/troubleshoot/license-keys-not-activating/Shamim HasanKeymaster -
AuthorPosts