Guest charleyramm Posted September 9, 2009 Share Posted September 9, 2009 Is there a way to deal with link spam coming through the 'Product Review' system? Example: Authors Name: gtcfnje Authors Email: [email protected] Authors IP Address: 64.72.92.78 Product Reviewed: NEW Professional USB Wifi Kit for Yacht or Boat Rating: 0 Review Title: pQXhLGfjpg Review Copy: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ a35qWt wmnncnbumbem, [url=http://vbfogfoferha.com/]vbfogfoferha[/url], [link=http://dkhsmqnjrdkh.com/]dkhsmqnjrdkh[/link], http://neiamtobpirk.com/ I'm getting these 20 at a time. It is quite a hassle. Quote Link to comment Share on other sites More sharing options...
Guest Posted September 9, 2009 Share Posted September 9, 2009 Is there a way to deal with link spam coming through the 'Product Review' system? Example: Authors Name: gtcfnje Authors Email: [email protected] Authors IP Address: 64.72.92.78 Product Reviewed: NEW Professional USB Wifi Kit for Yacht or Boat Rating: 0 Review Title: pQXhLGfjpg Review Copy: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ a35qWt wmnncnbumbem, [url=http://vbfogfoferha.com/]vbfogfoferha[/url], [link=http://dkhsmqnjrdkh.com/]dkhsmqnjrdkh[/link], http://neiamtobpirk.com/ I'm getting these 20 at a time. It is quite a hassle. I'm getting the same thing. I believe you can get rid of it by using the captcha word verification. Unfortunately, if you turn it on customers need to use it to checkout. This is too big of an inconvenience for me so I'm stuck dealing with the crap-mail... Quote Link to comment Share on other sites More sharing options...
Guest BrianG Posted September 14, 2009 Share Posted September 14, 2009 Is there a way to deal with link spam coming through the 'Product Review' system? Example: Authors Name: gtcfnje Authors Email: [email protected] Authors IP Address: 64.72.92.78 Product Reviewed: NEW Professional USB Wifi Kit for Yacht or Boat Rating: 0 Review Title: pQXhLGfjpg Review Copy: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ a35qWt wmnncnbumbem, [url=http://vbfogfoferha.com/]vbfogfoferha[/url], [link=http://dkhsmqnjrdkh.com/]dkhsmqnjrdkh[/link], http://neiamtobpirk.com/ I'm getting these 20 at a time. It is quite a hassle. I'm getting the same thing. I believe you can get rid of it by using the captcha word verification. Unfortunately, if you turn it on customers need to use it to checkout. This is too big of an inconvenience for me so I'm stuck dealing with the crap-mail... I get the same junk all the time. There is no reason that anybody should be sending me anything in the product review section with html in it. is there an easy way to add a piece of code to that section that says if the string link=http:// is in the body just automatically delete the message and save it. I know there are php guru's out there. HELP!! Quote Link to comment Share on other sites More sharing options...
tomoharu Posted November 15, 2009 Share Posted November 15, 2009 Anybody? This is an issue that plagues many of us, and it's rather annoying to have to filter through reviews and delete all the shite. Any help would be appreciated. Quote Link to comment Share on other sites More sharing options...
Guest Roger Huston Posted November 16, 2009 Share Posted November 16, 2009 Yes, It would be VERY nice that instead of a global ON or OFF mode for spam control, they made it an array so that we could pick and choose which pages should or shouldn't have SPAM control. I think this would be an easy feature for the developers to implement. Perhaps if enough people let them know. For now, I think this could be hacked. /includes/content/viewProd.inc.php to get what you need. For example, if you want recaptcha, you could simply replace: $config['floodControl']=="recaptcha" with TRUE (in all places) and that should turn on recaptcha for the reviews. if you want the built in one, then you have to replace $config['floodControl']==1 and in: // Start Spam Bot Control if($config['floodControl']=="recaptcha") { $view_prod->assign("TXT_SPAMBOT", "Spambot:"); $recaptcha = recaptcha_get_html($ini['recaptcha_public_key'], false, detectSSL()); $view_prod->assign("DISPLAY_RECAPTCHA", $recaptcha); $view_prod->parse("view_prod.prod_true.write_review.form.recaptcha"); } elseif($config['floodControl']) { The elseif statement the developers did not use the same format for the code, so you have to replace this instance with TRUE. That should work, but I have not tested it, just looked at the code. - Roger Quote Link to comment Share on other sites More sharing options...
bigpedro Posted December 2, 2009 Share Posted December 2, 2009 Just to confirm that Rogers "Hack" above works 100% perfect on my store. Thanks Roger for taking the time to post it! Quote Link to comment Share on other sites More sharing options...
Guest Roger Huston Posted December 3, 2009 Share Posted December 3, 2009 Just to confirm that Rogers "Hack" above works 100% perfect on my store. Thanks Roger for taking the time to post it! Glad it worked for you. Quote Link to comment Share on other sites More sharing options...
Guest velociphiles Posted March 12, 2010 Share Posted March 12, 2010 Worked fine for me too - suddenly getting a lot of robot spam reviews. Quote Link to comment Share on other sites More sharing options...
Guest PLMaster Posted August 10, 2010 Share Posted August 10, 2010 I don't have the code bit above in my file. I have what's below. I changed 1 to 0, since I don't want captcha on at checkout, and it successfully started showing a captcha on the review forms. Unfortunately for some reason the captcha is not required so the spam keeps coming. Anyone know a fix? CC 4.2.2. (and no, I can't upgrade, we have too many modules and too many template changes) Thanks! // Start Spam Bot Control if($config['floodControl']==0) { $spamCode = strtoupper(randomPass(5)); $ESC = createSpamCode($spamCode); $imgSpambot = imgSpambot($ESC); $view_prod->assign("VAL_ESC",$ESC); $view_prod->assign("TXT_SPAMBOT","Spambot:"); $view_prod->assign("IMG_SPAMBOT",$imgSpambot); $view_prod->parse("view_prod.prod_true.write_review.form.spambot"); 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.