WPIntell

Source evidence

Like/Unlike Deletes Feed

BuddyPress Like · support · 2016-02-05T16:59:00+00:00

complaintsentiment
highseverity
1.0relevance
10replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

3 / 31 rows with source links

9.7% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

28 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
graeme_bryson unresolved
Hi Darren, I’ve been integrating your like button into a new BuddyPress build, and it seems that whenever a user likes then unlikes a post using the button, before refreshing the page, the entire activity feed is deleted. Upon inspection, it’s actually deleted every status update in the backend. Is this something you’re familiar with? If so, do you have a fix? Thanks, Graeme https://wordpress.org/plugins/buddypress-like/ Hi Darren, Yes, I have the same problem, too, it actually removes all the activities from database. I tested it on several websites on different themes. I tried to check the plugin files, but no success. Will try later again and will post if I find anything useful. Regards, Leo I’m still having issues with this, so if there’s a solution it would be massively appreciated. Hi Graeme, I couldn’t solve the issue completely, but I could prevent the deleting of the activities. I removed this function: bp_activity_delete( array( 'id' => $update_id , 'user_id' => $user_id ) ); from this file: /buddypress-like/includes/like-functions.php now the activities are not being removed, maybe there’s something else happening, for example the liked activity remains or whatever, but it was a quick thing to do to keep the activities. Hope this helps. Regards, Leo Thanks Leo – what functionality have you found is still missing if you haven’t solved the issue completely? Thanks for the fix – hopefully Darren can offer something more permanent. Hi Graeme, I have tested a lot, no activity is being removed, in this sense it is allright, what is missing, I guess, is that when someone likes an activity, it creates another activity update in their profile – user A liked user B’s activity – if you have enabled this feature in BuddyPress Like Settings. Removing these lines from the plugin will still leave the activity in the user profiles no matter if they have unliked it or not. I do not have this feature enabled, there’s no problem on my website now. Regards, Leo Thanks Leo – I’m in the same situation as you in regards to disabling ‘like’ notifications in the streams, so that’ll work. Thanks again for your help – it’s massively appreciated. Good luck with your project! Graeme Seems that the version of the plugin on GitHub has no the problem: https://github.com/Darrenmeehan/BuddyPress-Like It would be good to have the updated version here to have ability to auto-update it using WP Dashboard. @darrenmeehan , can you please reupload the fixed version to the WordPress plugin repository to safely use the plugin and increase its rating here. The plugin is great! It would be good to have it properly functioning. Thanks! @antonyk – Be extremely careful if you’re using this plugin. Pretty certain I also tried the GitHub copy and it still wiped my feed. Once the posts have been deleted, they’re totally lost. I ended up using the BuddyBoss Wall plugin – far more substantial, and plenty of good support. @graeme_bryson , thanks for the information! It’s nice. Unfortunately it’s paid… Still “BuddyPress Like” seems convenient and light to me. 🙂 The github development version of the plugin does not have this fatal error (which makes this plugin broken) Get the Github-version and allso check out my fix for notifications: https://github.com/Darrenmeehan/BuddyPress-Like/issues/46

Comments

10 shown
Leo 2016-02-08T16:37:00+00:00

Hi Darren, Yes, I have the same problem, too, it actually removes all the activities from database. I tested it on several websites on different themes. I tried to check the plugin files, but no success. Will try later again and will post if I find anything useful. Regards, Leo

graeme_bryson 2016-02-11T09:56:00+00:00

I’m still having issues with this, so if there’s a solution it would be massively appreciated.

Leo 2016-02-11T10:04:00+00:00

Hi Graeme, I couldn’t solve the issue completely, but I could prevent the deleting of the activities. I removed this function: bp_activity_delete( array( 'id' => $update_id , 'user_id' => $user_id ) ); from this file: /buddypress-like/includes/like-functions.php now the activities are not being removed, maybe there’s something else happening, for example the liked activity remains or whatever, but it was a quick thing to do to keep the activities. Hope this helps. Regards, Leo

graeme_bryson 2016-02-11T10:25:00+00:00

Thanks Leo – what functionality have you found is still missing if you haven’t solved the issue completely? Thanks for the fix – hopefully Darren can offer something more permanent.

Leo 2016-02-11T10:59:00+00:00

Hi Graeme, I have tested a lot, no activity is being removed, in this sense it is allright, what is missing, I guess, is that when someone likes an activity, it creates another activity update in their profile – user A liked user B’s activity – if you have enabled this feature in BuddyPress Like Settings. Removing these lines from the plugin will still leave the activity in the user profiles no matter if they have unliked it or not. I do not have this feature enabled, there’s no problem on my website now. Regards, Leo

graeme_bryson 2016-02-11T12:18:00+00:00

Thanks Leo – I’m in the same situation as you in regards to disabling ‘like’ notifications in the streams, so that’ll work. Thanks again for your help – it’s massively appreciated. Good luck with your project! Graeme

atonyk 2016-03-27T12:16:00+00:00

Seems that the version of the plugin on GitHub has no the problem: https://github.com/Darrenmeehan/BuddyPress-Like It would be good to have the updated version here to have ability to auto-update it using WP Dashboard. @darrenmeehan , can you please reupload the fixed version to the WordPress plugin repository to safely use the plugin and increase its rating here. The plugin is great! It would be good to have it properly functioning. Thanks!

graeme_bryson 2016-03-27T14:09:00+00:00

@antonyk – Be extremely careful if you’re using this plugin. Pretty certain I also tried the GitHub copy and it still wiped my feed. Once the posts have been deleted, they’re totally lost. I ended up using the BuddyBoss Wall plugin – far more substantial, and plenty of good support.

atonyk 2016-03-27T17:26:00+00:00

@graeme_bryson , thanks for the information! It’s nice. Unfortunately it’s paid… Still “BuddyPress Like” seems convenient and light to me. 🙂

fried_eggz 2016-06-12T12:26:00+00:00

The github development version of the plugin does not have this fatal error (which makes this plugin broken) Get the Github-version and allso check out my fix for notifications: https://github.com/Darrenmeehan/BuddyPress-Like/issues/46