The effects of alcohol on
sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Importing Likes
✦ Summarize Topic
✦
✦
✦
AI is analyzing the discussion...
How-to and Troubleshooting
Topic starter
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
Oct 19, 2021 6:33 pm
(@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
Support
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
Oct 20, 2021 1:21 pm
(@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 3:14 pm
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
@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.
Support
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
Oct 21, 2021 10:11 am
(@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 10:59 pm
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
@asti Thanks - I just reached out to them.