Joomla 6 Notice

We are pleased to announce that all our Joomla extensions have been compatible with Joomla 6 since October 14th, 2025.

For those currently upgrading from Joomla 3 to 4: Instructions for Joomla 4 migration can be found here:

There are standalone documentations Visforms Joomla 4, Visforms Joomla 5 and Visforms Joomla 6.

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?

exporting fields

More
9 years 10 months ago #3021 by mligrani
exporting fields was created by mligrani
:ohmy:
hi guys,
is it possible to export the "created by" field displayed in the data page? it's very critical to us..
thank you in advance,
regards

massimo

More
9 years 10 months ago #3024 by Administrator AV
Replied by Administrator AV on topic exporting fields
Hi,

at the moment it is not. I think, when I added the created_by field in Visforms I just "forgot" to add an option which would allow you to include/exclude the field from export.

I could add such an option in the next release.

If you just need to have this field in all your exports (without a form configuration option to set whether it is included or not) you can change the source code.

Open the file administor/components/com_visforms/models/visdatas.php

find the function createExportBuffer ($params = null, $cids = array())
find
Code:
if (isset($params->expfieldcreated) && $params->expfieldcreated == 1) { $buffer .= JText::_( 'COM_VISFORMS_FIELD_CREATED_LABEL' ) . $separator; }
and add the line
Code:
$buffer .= 'Created By' . $separator;
directly after this code. (In order to have a label in the haeder, if you export with a header

Find the function createPreFields ($params, $row, $separator = ";")

find
Code:
if (isset($params->expfieldcreated) && $params->expfieldcreated == 1) { $data .= $row->created . $separator; }
Add
Code:
$data .= $row->created_by . $separator;
directly after this code (this will add the userid to each export row).

It's not tested yet, but I think, this will work,

Regards,
Aicha

:idea: I recommend you the new and up-to-date documentation for Joomla 6:
docs.joomla-6.visforms.vi-solutions.de/en/docs/
Please ask only 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 6:
docs.joomla-6.visforms.vi-solutions.de/docs/
Bitte immer nur 1 Frage pro Thema stellen :-).
The following user(s) said Thank You: mligrani

More
9 years 10 months ago #3027 by mligrani
Replied by mligrani on topic exporting fields
Hi Aicha, it worked perfectly.
Going to rate your work on JED. Donation will come with the next release, including ID and/or user data export configuration in the administration panel... ;)
thank you very much by now

massimo

More
9 years 10 months ago #3029 by Administrator AV
Replied by Administrator AV on topic exporting fields
Thanks,

I already added a new option "included created by" to the Visforms core.
So the changes will be part of Visforms 3.8.2.

But I think it will take me some more time to release this update because I actually wanted to add some other feature to this release as well.

Regards,
Aicha

:idea: I recommend you the new and up-to-date documentation for Joomla 6:
docs.joomla-6.visforms.vi-solutions.de/en/docs/
Please ask only 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 6:
docs.joomla-6.visforms.vi-solutions.de/docs/
Bitte immer nur 1 Frage pro Thema stellen :-).

Moderators: Administrator AVAdministrator IV
Powered by Kunena Forum