Rick Wilson
Forum Replies Created
-
AuthorPosts
-
January 11, 2025 at 6:03 pm in reply to: Feature request – the ability to set scheduled announcements. #45940Rick WilsonParticipant
Hello Shamim
Did you ever implement this? It would be an awesome feature 🙏
Rick
Rick WilsonParticipantWorks perfectly ❤️
Rick WilsonParticipantHi Shamim
Will that code still work with all the brilliant recent updates?
Rick
Rick WilsonParticipantThanks so much Samim!! You are so helpful 🙂
Rick WilsonParticipantThis reply has been marked as private.Rick WilsonParticipantRick WilsonParticipantThanks Shamim – you are so helpful!! 🙂
1. How many groups you have?
I have 2 – one live and one draft – see attached
2. Please send me full page screenshot of Front End PM PRO > Settings > Recipient and Front End PM PRO > Settings > Security
Attached
3. Which role user you are logged in?
Customer
Thanks so much for helping 🙂
Attachments:You must be logged in to view attached files.Rick WilsonParticipantThanks Shamin,
I still get the same error: –
Error: You must select group.
Best wishes,
Rick
Rick WilsonParticipantThis is the code im using
add_filter( 'fep_get_user_groups', function( $user_groups, $user_id ){
$groups = fep_get_option('gm_groups', array());
if( $groups && is_array( $groups) ){
foreach ( $groups as $group ) {
$user_groups[ $group['slug'] ] = $group['name'];
}
}
return $user_groups;
}, 10, 2);add_filter( 'fep_filter_groups_to_send_message', function( $groups ){
return Fep_Group_Message::init()->get_all_groups();
});Rick WilsonParticipantHowever,
I now get this error as per attached screenshot
Attachments:You must be logged in to view attached files.Rick WilsonParticipantI worked it out from here 🙂
https://www.shamimsplugins.com/support/topic/latest-update-breaks-groups/
-
AuthorPosts