Jump to content

How do i get rid of unwanted reviews ?


Robo

Recommended Posts

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

Link to comment
Share on other sites

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

Having 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 discuss

Thanks

Ian

Link to comment
Share on other sites

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.
 

Link to comment
Share on other sites

  • 4 weeks later...

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...