Joomla 5 Notice

We are pleased to announce that as of January 29, 2024, all of our Joomla extensions are compatible with Joomla 5.

For all who are still updateing from Joomla 3 to Joomla 4: Joomla 4 Migration instructions are available here:

There is now a separate Documentation for Visforms for Joomla 4 and for Visforms for Joomla 5!

Forum

Visforms Subscription user can ask questions in our forum. Please log in with the relevant user first.
Everybody can access the forum for reading.

Please only ask 1 question per topic.

Important information for almost every question:
V1: Which Visforms version is running?
V2: Which Joomla version is running?
V3: Which PHP version is running?

Stop ip address from being emailed

More
10 years 2 months ago #838 by habs4stanley
Stop ip address from being emailed was created by habs4stanley
I have got everything working but am always concerned on accidentally forwarding info that is security risk and thats why i am wondering if there is a way to disable the ip address from being put in email when forms are submitted

More
10 years 2 months ago #840 by Administrator AV
Replied by Administrator AV on topic Stop ip address from being emailed
Hi,

I think you are right.
I will add an parameter for that in the next release.

Regards,
Aicha

:idea: I recommend you the new and up-to-date documentation for Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 3.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 3.
Bitte immer nur 1 Frage pro Thema stellen :-).

More
10 years 2 months ago #841 by habs4stanley
Replied by habs4stanley on topic Stop ip address from being emailed
so right now there is no way of doing this?

More
10 years 2 months ago - 10 years 2 months ago #842 by Administrator AV
Replied by Administrator AV on topic Stop ip address from being emailed
Hi,

only by changing the code (which is not very difficult).
The next release will override your changes, but that is no problem for you will then have the new parameter (which of course you would have to set then).

Find the file components/com_visforms/models/visforms.php
There is a
Code:
private function sendReceiptMail($visform)
which creates the receipt mail.

Find the line
Code:
$mailBody = $mailBody.JText::_( 'COM_VISFORMS_IP_ADDRESS' ) . " : " . $_SERVER['REMOTE_ADDR'] . "<br />";
inside that function and just remove it or comment it out (by adding two forward slashes // in front of it).

Do similarly in the
Code:
private function sendResultMail($visform)
if you want to remove the ip address in result mail as well.

Kind Regards,
Aicha

:idea: I recommend you the new and up-to-date documentation for Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 3.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 3.
Bitte immer nur 1 Frage pro Thema stellen :-).
Last edit: 10 years 2 months ago by Administrator AV.
The following user(s) said Thank You: habs4stanley

Moderators: Administrator AVAdministrator IV
Powered by Kunena Forum