The effects of alcohol on
sustanon 250 leucine for – real weight loss & bodybuilding benefits?
How-to and Troubleshooting
(@aaronmckeon)
Trusted Member
Joined: 4 years ago
I am migrating data from another website and would like to import comment likes. Can anybody tell me how likes are stored in the database? It appears there are two meta fields that get attached to each comment - wpdiscuz_votes_seperate and wpdiscuz_votes. I'm assuming wpdiscuz_votes is just a cumulative count of all likes. However, I'm unclear on how best to build the wpdiscuz_votes_seperate value for each comment.
In the website I am migrating data from, I have a table with a row that contains a user_id and post_id for each like. We don't use dislikes. How should I map this over to wpDiscuz? Thanks for any help!
- Aaron
(@asti)
Illustrious Member
Joined: 8 years ago
Hi @aaronmckeon,
You should migrate both wpdiscuz_votes_seperate and wpdiscuz_votes. Also, please migrate the whole wp_wc_users_voted table as well.
(@aaronmckeon)
Joined: 4 years ago
Trusted Member
Posts: 47
Oct 20, 2021 11:14 am
@asti Thanks, although my question isn't so much what to migrate. I'm not using wpDiscuz in the old website. We were using ULike. The data is there, but it needs to be mapped to wpDiscuz. So, I guess I'm asking how you build those three fields you mentioned. For example, wpdiscuz_votes looks like a simple numerical total votes, but wpdiscuz_votes_seperate looks like some sort of array that I will need to recreate for each post. Any guidance would be appreciated.
(@asti)
Illustrious Member
Joined: 8 years ago
Thank you for clarification aaronmckeon,
I'm really sorry, but there isn't an easy solution we can post here.
Currently, we have plugin customization and custom addon development services at the gVectors Team. They can assess the work and create it for you. Just contact us via sales[at]gvectors.com email address and send a list of requirements you'd like to have.
(@aaronmckeon)
Joined: 4 years ago
Trusted Member
Posts: 47
Oct 21, 2021 6:59 pm
@asti Thanks - I just reached out to them.