Rebuild likes [Deleted]

AndyB

Well-known member
AndyB submitted a new resource:

Rebuild likes - Likes updated to remove members that no longer exist.

Premium upgrade:

This XF2 add-on along with the entire collection can be purchased for $25.00 USD. Your Premium upgrade will allow you to download as many XF2 add-ons as you like for one year. Please see the entire collection located in the Resources area at this URL:

https://www.xf2addons.com/

Note: all my XF1 add-ons are still 100% free and are supported by donations.

Description:

Likes updated to remove members that no longer exist.

Please be sure to backup...

Read more about this resource...
 
Hi,

I had an issue running this. This method on line 100 does not exist:

PHP:
$ids = $db->fetchCol("

I changed it to:

PHP:
$ids = $db->fetchAllColumn("

Then it ran OK.
 
Amazing turnaround as ever!

One other thing I noticed, I see on the xf_thread table there is a first_posts_likes column. Not sure how this is calculated. I guess I can run some SQL to recalculate this. I tried XenForo's own Rebuild likes counted status, but this didn't touch this.
 
@AndyB - are you planning on upgrading this one for XF2.1? We're trying to rebuild some of our likes after importing them from the vBSEO likes system and this looks like it will rebuild the post info for us?
 
Top Bottom