Sitewide activity edit


Is there any way to add the same like button a count in the lightbox preview in sitewide activity page under the media?

Hello @alexsilva,

Unfortunately, there is not any option to add media like count to activity feed. It will be displayed in lighbox preview only. It is possible but it will be pretty complicated way and will require good customization work too!

To direct you at first : You will have to add like option at the time of saving activity to database. You can use ‘bp_activity_entry_meta’ hook for adding option to activity feed. After that you have to write customize JavaScript code to retrieve the data while showing the activity for like count.

Thank you.


You are welcome @alexsilva :slight_smile: