In our old WordPress Theme we have a lot of article vote data for 14 years back in the database. I would like to import the old voting data into the data records that wpDiscuz uses for Article Rating and start using your Article Rating feature.
To be able to import the old data I need to know how you are storing each vote for each article in the database, so that I can create a custom INSERT INTO Sql statement with phpMyAdmin.
That way I can revive ratings on the old articles and start using your function. Any help is highly appreciated. Thanks.
Hi @itpro
wpDiscuz stores rating information in the wp_wc_users_rated table and in the wp_postmeta under the wpdiscuz_post_rating and wpdiscuz_post_rating_count metakeys.
The like/dislike information is stored in the wp_wc_users_voted and wp_commentmeta table under the wpdiscuz_votes and wpdiscuz_votes_seperate metakeys.
Perfect! That is exactly what I need. Support here is truly brilliant. 🙂