Get Sender IP From Contact Form - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Get Sender IP From Contact Form

BM

Brian Metcalfe

SP Page Builder 1 year ago

Hello,

I need to acquire the IP address of the contact form users and show it in the form results. Can this be done using the Contact Form add-on?

Thank you!

0
4 Answers
BM
Brian Metcalfe
Accepted Answer
1 year ago #165363

I am sorry to hear that... I will have to discontinue use of the product and find one that is capable of meeting bank compliance needs. I block entire foreign country subnets from site access using htaccess after I determine the offender IP... it has been very effective in the past when using prior contact forms. I don't understand how this could be beyond your support when this is a standard security / compliance function.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #164559

Hi Brian,

I am afraid that IP display option was not added for Form Builder.

Even in Contact Addon EU users has a problem with it, becuase of GDPR law "hypothetical" issues.

But you can copy & add code used in Contact addon (components/com_sppagebuilder/addons/ajax_contact/site.php, line 375 and 404), add it inside Form Builder (site.php) and then override that addon inside component or template folder to have it. It should be quite easy php customization, but beyond our support.


Yes, I realize that sometimes it is useful to know the IP of the spammer to block him.

0
BM
Brian Metcalfe
Accepted Answer
1 year ago #165271

Hi,

Thank you for the reply. Is it possible for you to describe this edit in more detail?

The form is completely unusable without the ability to identify spammers IPs so I can block site access. We get hundreds of garbage posts to it per day since implementing it.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #165327

I am afraid that php customization is beyond support.

Spammers use so many IPs that if you will block 3-6 .... it's like flood

0