![]() |
1 Attachment(s)
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. |
any advice how i can do that and exactly which phrase to remove and replace with my own image path.
Im not fully understand you by switching to manual mode exactly what do youmean also i pm u the double icons that appears randomely any help on that? i followed the sample codes u posted earlier on |
Quote:
Quote:
|
thanks it helped me, my another question is
can i use this <if condition="$post['totalrank']"> to display the votes that appears before voting by only showing the votes and not the images? imkind of confused why the images doesnt display on some replies and other replies does in the same thread and some threads it appears double icons |
<if condition="$post['totalrank']"> is a condition that will check to see if their are votes. If you use that to wrap around your voting buttons they would never show as there could never be a vote.
|
so could you advice me how i can show the votes for the members before user votes themself?
|
Quote:
|
thanks, now i have one last issue and that is the screenshot i pmed you.
Good 1 Bad 0 Did you find this post helpful? 1 Yes | 0 Yes the double icons appears when someone other already has voted when members themself personally havent voted yet any idea to fix this? |
I'm not able to follow your question. Please rephrase it.
|
Quote:
|
All times are GMT. The time now is 12:04 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|