-
Author
-
October 8, 2014 at 22:00 #31120ElismorParticipant
Each time I edit a post in a group forum and save it, it appears in the Activity stream. Is there a way to avoid to have the same post reapeted so many times? Thank you
October 9, 2014 at 01:41 #31133sharmstrModeratorbbpress controls that, not Kleo. You’d have better luck asking over there https://buddypress.org/support/
I was curious about this, so I searched through the bbpress code and found two actions that fire when an edit is made to a topic or a reply. I tried using remove_action in my functions.php file, but that didn’t work. It still created a new activity.
The only way I could get it to work is to comment out the action calls within bbpress core code. That’s not ideal. So again, I suggest you post this question over on the bbpress forum.
If you want, you can tell them I tried
COPY CODEglobal $BBP_BuddyPress_Activity; remove_action( 'edit_post', array( $BBP_BuddyPress_Activity , 'topic_update' ) ); remove_action( 'edit_post', array( $BBP_BuddyPress_Activity , 'reply_update' ) );
It could be that I’m just doing it wrong. Good luck.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 16, 2014 at 08:54 #31901ElismorParticipantThank you sharmstr, I posted my problem in BP forum support.
BP Support
I’ll update here if they will find a solution.
Thank you again 🙂October 16, 2014 at 13:34 #31910sharmstrModeratorI see that its a bug. Good to know. Thank you. Please mark resolved.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
-
AuthorPosts
The forum ‘KLEO’ is closed to new topics and replies.