Robo Posted June 6, 2014 Share Posted June 6, 2014 I am getting reviews on my products and they are not related to my products but ordinary spam promoting webstes etc i am just deleting them , bulk delete is no good as the ip addresses are different any time , is there a way to have that spam not in the reviews ? any help is apprieciated i am getting sick and tired as it are not a few but many every day, the captcha is on so i do not know how they do it and it is useless as i have to aprove the review Quote Link to comment Share on other sites More sharing options...
havenswift-hosting Posted June 6, 2014 Share Posted June 6, 2014 I am getting reviews on my products and they are not related to my products but ordinary spam promoting webstes etc i am just deleting them , bulk delete is no good as the ip addresses are different any time , is there a way to have that spam not in the reviews ?any help is apprieciatedi am getting sick and tired as it are not a few but many every day, the captcha is on so i do not know how they do it and it is useless as i have to aprove the reviewHaving the Captcha on is far better than not, otherwise your site would be completely flooded but this Captcha (along with most) can be defeated by some automated bots which is how they are getting added and of course because it is being done by bots, they dont care that you have to approve them.There isnt a way at the moment to help with this although we have been looking at a possible solution so will PM you to discussThanksIan Quote Link to comment Share on other sites More sharing options...
bsmither Posted June 6, 2014 Share Posted June 6, 2014 The following two edits may be helpful. I don't have any reviews I am willing to delete, so please be advised that this is not well tested. In the file /admin/sources/products.reviews.inc.php, line 23, edit: Was: ## Delete review if (isset($_GET['delete']) && is_numeric($_GET['delete']) && Admin::getInstance()->permissions('reviews', CC_PERM_DELETE)) { Now: ## Delete review if (isset($_POST['review_remove']) && is_array($_POST['review_remove']) && Admin::getInstance()->permissions('reviews', CC_PERM_DELETE)) { foreach ($_POST['review_remove'] as $value) { $GLOBALS['db']->delete('CubeCart_reviews', array('id' => (int)$value)); } } if (false && isset($_GET['delete']) && is_numeric($_GET['delete']) && Admin::getInstance()->permissions('reviews', CC_PERM_DELETE)) { This shuts off the previous method (sending a delete request in the GET querystring on a per-review basis) and adds the POSTed accumulator method. With the accumulator method, javascript will note the one or several reviews you want to delete, then when you click Submit, will send all the review ID numbers in a POST, where this code will remove them from the database. Now, we need to change the skin code. In the admin skin template products.reviews.php, make this edit at line 25:Was: <a href="{$review.delete}" class="delete" title="{$LANG.notification.confirm_delete}"><img src="{$SKIN_VARS.admin_folder}/skins/{$SKIN_VARS.skin_folder}/images/delete.png" alt="{$LANG.common.delete}" /></a> Now: <!-- <a href="{$review.delete}" class="delete" title="{$LANG.notification.confirm_delete}"><img src="{$SKIN_VARS.admin_folder}/skins/{$SKIN_VARS.skin_folder}/images/delete.png" alt="{$LANG.common.delete}" /></a> --> <a href="#{$review.id}" class="remove" title="{$LANG.notification.confirm_delete}" name="review_remove" rel="{$review.id}"><img src="{$SKIN_VARS.admin_folder}/skins/{$SKIN_VARS.skin_folder}/images/delete.png" alt="{$LANG.common.delete}" title="{$LANG.common.delete}" /></a> When you click the trashbin icon, you will be asked to confirm. (I think this only happens twice - then you can agree to accept the deletion without confirmation.) The review list item will be removed from the display. You must still click Submit to have the code process the remove requests. Quote Link to comment Share on other sites More sharing options...
drzac2003 Posted July 3, 2014 Share Posted July 3, 2014 I too am getting spam reviews. I know reviews can be turned off but wouldn't it be easier if we could have a facility where only registered customers can leave a review? Quote Link to comment Share on other sites More sharing options...
bsmither Posted July 3, 2014 Share Posted July 3, 2014 CubeCart could be coded to do that. But what's to stop spam registrations - which is also a problem for some. CubeCart could be coded to accept reviews from only those customers who have actually bought the item from your store. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.