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?

Due to public holidays and vacations, longer response times can be expected for inquiries in the forum between December 20, 2024 and Janaury 8, 2025.

How can I reply to sender

More
10 years 9 months ago - 10 years 9 months ago #476 by stampgo7
How can I reply to sender was created by stampgo7
Hello there,
first of all let me thank the creator of this grate extension.

I have a site for searching and booking accommodation and I have a problem:

When a visitor choose a hotel and sent request to the owner it is ok. What should I do in the parameters in order when the owner click the reply button, to reply straight to the visitor (who is the sender) and not reply to my sites e-mail?

Thank you.
Last edit: 10 years 9 months ago by stampgo7.

More
10 years 9 months ago #477 by Administrator AV
Replied by Administrator AV on topic How can I reply to sender
Hi stampgo7,

sadly that is just not possible yet. It's annoying, I know, and I made it a point on my todo list. It will come in future versions.

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 :-).
The following user(s) said Thank You: stampgo7

More
10 years 9 months ago - 10 years 9 months ago #478 by stampgo7
Replied by stampgo7 on topic How can I reply to sender
Thank you for your quick reply.
I will be waiting for you to solve that issue.

George
Last edit: 10 years 9 months ago by stampgo7.

More
10 years 9 months ago - 10 years 9 months ago #479 by Administrator AV
Replied by Administrator AV on topic How can I reply to sender
Hi guys,

there are so many request for this feature that I will give a description how to fix it here. I will include this changes into the source code of Visforms and they will be part of the next release. So you can make the following changes to the code without fear of loosing them on the next update of Visforms.

The changes are the same for visforms 2.0.x and 3.0.x. They are not meant for Visforms 1.0 Versions!

Go to components/com_visforms/models/visforms.php, make a backup copy of this file and open it.

At about line 808 you find the section "Send Email Result"

find the line
Code:
$mailBody = $mailBody."registered at ".date("Y-m-d H:i:s")."<br /><br />\n\n";

(about 5th line in the first if statement)

replace it with
Code:
$mailBody = $mailBody."registered at ".date("Y-m-d H:i:s")."<br /><br />\n\n"; $emailSender = "";
find the line
Code:
$field = $visform->fields[$i];
(just 2 or 3 lines below, right at the top of the following for-Statement)

replace it with
Code:
$field = $visform->fields[$i]; if ($field->typefield == 'email') { if (isset($field->postValue)) { $emailSender = $field->postValue; } }

find line
Code:
$mail->setSender( array( $visform->emailfrom, $visform->emailfromname ) );
about 50 lines below but before "Send Email Receipt" section

Replace it with
Code:
if ($emailSender == "") { $emailSender = $visform->emailfrom; } $mail->setSender( array( $emailSender, $visform->emailfromname ) );
That's it.

Good luck and 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 9 months ago by Administrator AV.

More
10 years 8 months ago - 10 years 8 months ago #480 by stampgo7
Replied by stampgo7 on topic How can I reply to sender
Hello again,
the line
$mail->setSender( array( $visform->emailfrom, $visform->emailfromname ) );
does not exist
I can find this similar line:
$mail->setSender( array( $visform->emailfrom, "" ) );
and if I do all the corrections you say the site crashes.
Is there a way to attache the file?

George
Last edit: 10 years 8 months ago by stampgo7.

More
10 years 8 months ago #481 by Administrator AV
Replied by Administrator AV on topic How can I reply to sender
Hi,

which Version Visforms do you use? Check in Extension Manager -> Manage please.

You can send me the file to my contact e-mail which you can find below the forum.

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 :-).

Moderators: Administrator AVAdministrator IV
Powered by Kunena Forum