• Hello,

    We moved a poll to the trash by accident and want to recover it but can’t find any trash folder.

    Could you please tell us how to access it?

    Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author YOP

    (@yourownprogrammer)

    Hello

    Unfortunately there is no trash folder.
    But the info can be brought back via phpmyadmin.

    If you are familiar with it, we can send over instructions.
    If not, please contact us on our website so we may assist you directly.

    Thread Starter exb1

    (@exb1)

    Thank you for your answer.

    I might be able to find my way around phpmyadmin.

    Could you please give me the instructions? This would really help.

    Plugin Author YOP

    (@yourownprogrammer)

    Hello

    Can you let us know if you have the id of the poll that got deleted?
    If not, please let us know if you have any other polls/votes deleted?

    Thread Starter exb1

    (@exb1)

    Hello,

    I don’t remember the id of the poll (might be “4”, not certain) but none other have been deleted. Only this one.

    Thank you

    Plugin Author YOP

    (@yourownprogrammer)

    Hello

    Here are the sql queries to bring back the deleted poll along with the data associated with it.

    UPDATE{wp_prefix}_yoppoll_elementsSETstatus= ‘active’ WHEREstatus = ‘deleted’;
    UPDATE {wp_prefix}_yoppoll_polls SET status = ‘published’ WHERE status = ‘deleted’;
    UPDATE {wp_prefix}_yoppoll_subelements SET status = ‘active’ WHERE status = ‘deleted’;
    UPDATE {wp_prefix}_yoppoll_votes SET status = ‘active’ WHERE status = ‘deleted’;
    UPDATE {wp_prefix}_yoppoll_votes_details SET vote_status = ‘active’ WHERE vote_status = ‘deleted’;

    You will need to update {wp_prefix} with the prefix you have for your database.

    Please let us know how it goes.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Where is he trash folder?’ is closed to new replies.