TOPIC:

Block Spammers IP address 3 weeks 1 day ago #259626

  • Topic Author
  • inml
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 76
  • Thanks: 0
From my Contact form spam mails are being received, eventhough I have enabled Invisible recaptcha.

1. How can I block IP addresses from spammer?
2. How can I stop spammer from inputting text with url in message box? (See screenshot links - prnt.sc/13fejrv or prnt.sc/13fensu )

Thank You.

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

Block Spammers IP address 3 weeks 1 day ago #259628

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 6086
  • Karma: 3
  • Thanks: 429
Hi,

1) if you want to block ip address then check this:
crosstec.org/en/support/online-documenta...-one-ip-address.html

2) please download->unzip and install it (BF->Configuration->Package Installer):

File Attachment:

File Name: avoidLinks.xml11.zip
File Size:1 KB

This is script not a form
After installation, go to your message box->Properties->Validation->check Library->and find this script (ff_avoidLinks).

Let me know if you need more help

Regards,
Tihana
Attachments:

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

Block Spammers IP address 3 weeks 1 day ago #259695

  • Topic Author
  • inml
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 76
  • Thanks: 0
Thank you much. Will monitor to see if it works.

Can I block more than one IP using that script, by placing comma after 1st IP. Or do I have to add script again for each IP?

if($_SERVER == "123.123.123.123")
{
header("Location: www.crosstec.org ");
}

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

Block Spammers IP address 3 weeks 1 day ago #259696

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 6086
  • Karma: 3
  • Thanks: 429
Hi,

yes, like this:
if($_SERVER['REMOTE_ADDR'] == "123.123.123.123 , 123.233.233.233")
{
    header("Location: http://www.crosstec.org");
}
You can add it separated by comma

Regards,
Tihana

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

Block Spammers IP address 3 weeks 1 day ago #259700

  • marinaR
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 3
  • Thanks: 0

tihana.krivic wrote: Hi,

2) please download->unzip and install it (BF->Configuration->Package Installer):

File Attachment:

File Name: avoidLinks.xml11.zip
File Size:1 KB

This is script not a form
After installation, go to your message box->Properties->Validation->check Library->and find this script (ff_avoidLinks).

Let me know if you need more help

Regards,
Tihana


Hi,

I have downloaded and installed that avoidLinks package, but I am not getting the expected results. Also, if the field is required, but nothing is filled in, there is no validation. How to combine the ff_valuenotempty with the ff_avoidlinks?

Thanks,
Marina

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

Block Spammers IP address 3 weeks 18 hours ago #259705

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 6086
  • Karma: 3
  • Thanks: 429
Hi,

then please go to your element in which you want this validation->Properties->Validation->check Custom->and put this:
function ff_nameofelement_validation(element, message)
{
var urlRegex = /^([a-zA-Z\s])+$/;
    if ( !urlRegex.test(element.value) || element.value == '') {
        if (message=='') message = element.name+" faild in my test.\n"
        ff_validationFocus(element.name);
        return message;
    } // if
    return '';
} // ff_nameofelement_validation
Please replace nameofelement with name for your element (not title)

Regards,
Tihana

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

Moderators: ForumSupport
Time to create page: 0.055 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

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!