Hi Dave,
I am be hammered by auto submitter submitting product reviews with sex sites links and other stuff i getting up 100 a day now can you help in stopping this probblem.
Regards
Darren
they all start with this
<a http:// or [url]
Hi David,
I have downloaded up today but I am unable to see the new code.
Regards
Darren
Hi Darren,
There's not much code to it which is why you may be not seeing it - just an extra hidden field on the form (in html/ratings.php; and an "if" statement in the form handling code at the top of reviews.php.
If you're still not sure what to change feel free to email me your existing versions of reviews.php and html/ratings.php i'll merge the anti-spam code into them for you. Use the email address on this page if you don't already have it...
Cheers,
David.
Hi Adrian,
I know you've been a user for along time - do you know if you have the latest version with the anti-spam JavaScript in the review form?
Search in html/ratings.php for "hidden", if it's not there then you could either extract the latest versions of reviews.php and html/ratings.php from the distribution; or if you've heavily modified these files feel free to email them to me and i'll merge the anti-spam code into your existing files...
Cheers,
David.
Hi Adrian,
Sorry, there was a correction made to this part of the code more recently; in reviews.php, do you see exactly this line:
if ($_POST["rating"] && ($_POST["rating"] == $_POST["confirm"]))
It was previously just:
if ($_POST["rating"] == $_POST["confirm"])
Cheers,
David.
Hi Darren,
I know that you have been a Price Tapestry user for a long time; so I don't think you will be running the modification that I added to prevent this.
If you download the latest distribution, and then extract reviews.php and html/ratings.php you will be able to see the new code. If you have not modified your site you should just be able to upload the new files over the top of your existing ones (make a back-up first); otherwise if you have made significant changes it would be best to merge the changes in.
If this is the case, feel free to email me your existing reviews.php and html/ratings.php and i'll update them for you...
Cheers,
David.