TOPIC:

One more SPAM issue topic 7 months 3 weeks ago #238480

  • Topic Author
  • OksanaM
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 1
  • Thanks: 1
Hello. I have searched the forum and documentation, but unfortunatelly there is no nice and clean answer what to do with spam. Or I cant understand how to apply advices, so please help me with this.

What I use on my site:
1. Honeypot 1 .
2. Honeypot 2 . I know it is the same function, but maybe the name of the field will do the work making bots actually put a name in this field... I dont know. And the instruction says:

in your form's properties > Advanced tab > More Options > Submit Pieces > Before Submit

but there is no "Before submit" tab, there is "Form pieces>Before" or "Submit pieces>Begin submit". I have put the code in the second one.
3. Recapcha. When I make test mails I always have to choose some images to verify I am not a robot, why do spamers still go through, I don't understand...
4. Honeypot 3, which is not hidden imput but a texfield which is turned off but have a validation rule "Integer or empty".

Still I get some spam. On the forum I found some interesting solutions, but I can't apply them, so maybe I do something wrong.
1. Validating the value of every field, as I got it. No sure if i can use it is spamers fill al the nesessary fields?
$this->execPieceByName('ff_InitLib');

if (ff_getSubmit('vorname') == '' ||
    ff_getSubmit('nachname') == '' ||
    ff_getSubmit('vorname') == ff_getSubmit('nachname') ||
    ff_getSubmit('feld3') == '' ||
    ff_getSubmit('feld4') == '' ||
    ff_getSubmit('feld5') == '' ||
    ff_getSubmit('feld6') == '' ||
    ff_getSubmit('feld7') == '')
{
// echo '<script>alert("Fehler");</script>';
exit;
}
No idea where to put it because the topic is in german.

2. Forbid to use specific words
function ff_badwords(element, message)
{
var badwords = /(funds|Funds|business|Business|Financial|Funding|php|http|www|лента|прогон|tablets|интервала|pills|mg|erectile|.net|http|.com|все|Facebook|mg|viagra|Viagra|сети|SEO|loan|seo|Loan|business|order|GOOGLE|google|revenue|debt|tiniest|vasilievna)/ig; // add the words in this line :)
if (badwords.test(element.value)) {
if (message=='') message = element.name+" contains a spam word.\n";
ff_validationFocus(element.name);
return message;
} // if
return '';
} // ff_badwords
I have put this in the "Manage scripts - new", applied validation to the field, but it does not work. Should I change something in the code for my site?

Would be very grateful if someone helps me.(
The following user(s) said Thank You: miskoff

Please Log in or Create an account to join the conversation.

One more SPAM issue topic 7 months 3 weeks ago #238488

  • Eddy.vh's Avatar
  • Eddy.vh
  • Away
  • Gold Breezer
  • Gold Breezer
  • Posts: 351
  • Karma: 3
  • Thanks: 57
Hello.

OksanaM wrote: Hello. I have searched…

$this->execPieceByName('ff_InitLib');

if (ff_getSubmit('vorname') == '' ||
    ff_getSubmit('nachname') == '' ||
    ff_getSubmit('vorname') == ff_getSubmit('nachname') ||
    ff_getSubmit('feld3') == '' ||
    ff_getSubmit('feld4') == '' ||
    ff_getSubmit('feld5') == '' ||
    ff_getSubmit('feld6') == '' ||
    ff_getSubmit('feld7') == '')
{
// echo '<script>alert("Fehler");</script>';
exit;
}
No idea where to put it because the topic is in german.


The script must be inserted in Submit Piece - Begin submit. Check the Custom button

OksanaM wrote: 2. Forbid to use specific words

function ff_badwords(element, message)
{
var badwords = /(funds|Funds|business|Business|Financial|Funding|php|http|www|лента|прогон|tablets|интервала|pills|mg|erectile|.net|http|.com|все|Facebook|mg|viagra|Viagra|сети|SEO|loan|seo|Loan|business|order|GOOGLE|google|revenue|debt|tiniest|vasilievna)/ig; // add the words in this line :)
if (badwords.test(element.value)) {
if (message=='') message = element.name+" contains a spam word.\n";
ff_validationFocus(element.name);
return message;
} // if
return '';
} // ff_badwords
I have put this in the "Manage scripts - new", applied validation to the field, but it does not work. Should I change something in the code for my site?

Would be very grateful if someone helps me.(


What is the name of your new script?
It must be named ff_badwords imperatively
The following user(s) said Thank You: miskoff

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Moderators: ForumSupport
Time to create page: 0.046 seconds

July Sale!

Discounts for all of our extensions + support. Ending July 31st!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!