How to bulk-add "thumbs up" via database table
-
I love the wpDiscuz plug-in so much that last week I installed it on seven of my websites. One of my sites has 25,000 comments. 20,000 of those are by other people. It looks rather lonely to have all the comments with zero thumbs up, so I’m trying to thumb up all 20,000 comments made by other people. Instead of doing that manually, I figured I would do it via the database table.
When a “thumbs up” is given on a comment, I see that it is recorded in the “wc_users_voted” table. After doing a few test runs with liking comments manually, I see what sort of values are assigned to each of the fields. I then took all the comment_id’s from those 20,000 comments and added them as rows to the table.
However, now when I bring up those comments on my website, they have zero thumbs up. I try to manually thumbs up a comment, and it says, “You’ve already voted for this comment”
Here’s an example:
https://www.spudart.org/blog/14-artists-inspired-me-2008/comment-page-1/#comment-19075Screenshot of row in phpMyAdmin:
https://www.dropbox.com/s/1zkp3sbl3ou3kiw/Screenshot%202015-12-23%2011.00.39.png?dl=0Is there some other place that the thumbs up are recorded? I’ve tried turning the plug-in on and off and that didn’t make the thumbs up appear.
- The topic ‘How to bulk-add "thumbs up" via database table’ is closed to new replies.