We’re with you. JoomShaper is offering a 20% Discount on all plans due to the impact of COVID-19.

Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Disable Sender IP in contact form

Featured Lock Resolved Issue
I relly need help!

How can I hide sender IP.

where do I exactly set /* */ to disable Sender IP in pHP. Have only litte experience. Can you show me the code. Just bought Pagebuilder Pro

Best regards
Michael.

5 Answers

Paul Frankowski - Staff

More than a month ago #Permalink
Hi,
You have two options:
1) customize contact addon php code
components\com_sppagebuilder\addons\ajax_contact\site.php
line 351
where delete this part

. $senderip .




OR
2) Built your own contact form using Form Builder addon
- where IP is not displayed in e-mail body.
---

I hope you know that IP is always sending anyway, it's hidden in e-mail header. It's how mail works for many years by now. EU law couldn't change that. Let me guess, you are a German webmaster. If you don't belive me, check any e-mail source code, or click "Show original" in Gmail on random message

emial.jpg

Attachments (1)

  • emial.jpg
    emial.jpg 121.2 KB

Michael

More than a month ago #Permalink
Hi Paul,
thanks for the first steps, but when I delete

1. exactly: $senderip -> the contact form will not be sent anymore
2. exactly: . $senderip . -> the contact form will not be sent anymore and even worse, the whole website wasn't to open anymore and showed:

syntax error, unexpected ''</p>'' (T_CONSTANT_ENCAPSED_STRING)

can you tell me what is wrong?

Paul Frankowski - Staff

More than a month ago #Permalink
Sorry, my mistake DELETE the whole line 351, it would be easier if you are not PHP guy.

I forgot that you don't need this part at all.

351.jpg

Attachments (1)

  • 351.jpg
    351.jpg 112.2 KB

Michael

More than a month ago #Permalink
Great, thanks a lot... it works.:D

Paul Frankowski - Staff

More than a month ago #Permalink
Now to not loose that change before next SPPB update, please

Copy that customzied file
components\com_sppagebuilder\addons\ajax_contact\site.php

HERE
templates\YOUR-TEMPLATE-NAME\sppagebuilder\addons\ajax_contact\site.php


There are no replies made for this post yet.
Be one of the first to reply to this post!

126

Templates

333383

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us