I Recommend This
[resolved] Reset counts and likes (5 posts)

  1. huguesalbes
    Posted 2 years ago #

    Hi there,

    Is there any way to reset vote and likes on the plugin?
    I've done all my tests and need to set it up to zero.

    Thanks in advance for your answer.



  2. Harish Chouhan
    Plugin Author

    Posted 2 years ago #

    @huguesalbes as of now there is no automated way.

    If you are proficient with database administration, then you would have to delete a custom table created by this plugin and then individual post likes are saved as custom meta field.

    I am afraid I can't help you with the exact SQL query to search, find and delete all the meta keys are once as am not good in that myself.

  3. huguesalbes
    Posted 2 years ago #

    Hi Harish.

    Thank you very much for your answer.
    I went in the DB and find "wp_irecommendthis_votes". I deleted all entries and deleted plugin itself from wp. Then I re installed it: all votes came back as it was before doing anything.

    Where should I search? My contest will begin tomorow and I can't start with votes...

  4. Harish Chouhan
    Plugin Author

    Posted 2 years ago #

    Hello @huguesalbes,

    Like I said, the database table is just one (which saved IP and not counts). To delete counts you need to search through table (_postmeta) and find all rows where meta key is "_recommended" an delete these keys.

    This the keys is where the post vote count is saved.

  5. conradpk
    Posted 1 year ago #

    Try this SQL Query that will return the rows to delete
    SELECT * FROM wp_postmeta WHERE meta_key = '_recommended'

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • I Recommend This
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.