Query Regarding Filtering Group Messages by User Join Date in BuddyBoss
-
Dear Developer,
I’m currently using BuddyBoss along with the PMPro BuddyPress integration plugin for managing group memberships and messaging. I have a specific requirement related to restricting visibility of group messages based on the time a user joins a group.
Here’s the scenario:
- Group Private Messages: When a user joins a group, they should only be able to view messages sent after their join date. Messages sent prior to their joining the group should not be visible.
- Current Situation: I have explored filtering messages based on the user’s group join date by trying to hook into BuddyPress message threads using the
bp_messages_get_message_threads
andbp_messages_message_query
filters, but I haven’t been successful in restricting visibility of old group messages for new members. - Question: Does the PMPro BuddyPress/BuddyBoss integration provide any hooks, filters, or built-in functionality that could help with this use case? Specifically, I’m looking for a way to either:
- Filter individual group messages based on the user’s join date in the group.
- Restrict access to group messages that were sent before a user joined the group.
Additionally, if there is a way to extend the plugin’s current membership level restrictions to achieve this kind of message filtering or access control, I would appreciate any guidance on implementing it.
Thank you for your help!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.