Attached is a simple import script which will import voting history from the Thank You Post system into Helpful Answers updating the voting log and each post.
To use this script simply upload the file to your admincp folder, login to your admincp and manually enter the url (i.e.
www.yoursite.com/admincp/ha_import.php). Once you've finished the script delete the file and
DO NOT rerun it or you'll end up with duplicate votes.
A few important notes about the script:
- This script will add an entry into the log for each thank you vote prohibiting the user who said "thanks" from voting again.
- This script will maintain existing helpful answer votes and will allow duplicates if a user has used both systems in the past.
- This script treats every Thank You as a helpful rating and does not look for negativs.
- Your Thank You Post votes will be left as is in case you wish to run both systems or for back.
-
This script is not fully tested so use at your own risk.
Of course if you are not using the Thank You Post addon there is no reason to run this script and doing so will give you an error.