I have read over the actions and hooks and extremely frustrated. I am very interested in the plug in but must have the ability to track the user changes made in the plugin but logging in its own table. I have searched and read through other tickets to avail. Is this a feature that you will be implementing or can a detailed explanation be provided? The information below is not helpful.
Unable to use gravity forms (which has this capability) due to the inability to query. So if someone could please provide an example code or detailed explanation that would be helpful? Again we need the user activity log functionality.
Gravity has an add-on (I believe Entry Revisions) which sends you a notification via e-mail after change of data in the table. If you were to install Gravity Forms Integration for wpDataTables, the same functionality can be used with our plugin.
Otherwise, please explain in a bit more detail what would happen on the website, and what permissions would users have? Would you like to save the changes in a separate table?
gravity forms will not work because we have to do several calculations and need the tables to be front end editable. For examples additional tables will be built based on queries from there manually added tables. We need to be able to log all user changes and time stamp made to those three tables. Thus far we have not been able to see where this functionality is available in wpdatatables.
This hook wpdatatables_after_frontent_edit_row will be triggered for both cases when you edit or add a new row in the table from front-end. Please note that data is already saved in database.
If you want to filter data before saving in database then you can use filter wpdatatables_filter_formdata_before_save($formData, $tableId)
It is one of the new filters, so it will be updated in our documentation.
Please note that using hooks requires certain level of programming skills and included support refers only to advice.
Thank you but you are reintegrating information that I already stated was reviewed. Our developers are new to WordPress and know little about this plug in. Is there a sample code of the hook being used?
d.php - we were just using it to see if the code was firing. We don't need to pass our code any details, only execute. We did finally see it run but seemed to run multiple times.
So, that user didn't share all info with us, but the code above is what worked for them.
I have read over the actions and hooks and extremely frustrated. I am very interested in the plug in but must have the ability to track the user changes made in the plugin but logging in its own table. I have searched and read through other tickets to avail. Is this a feature that you will be implementing or can a detailed explanation be provided? The information below is not helpful.
wpdatatables_after_frontent_edit_row( $formdata, $rowId, $tableId )Unable to use gravity forms (which has this capability) due to the inability to query. So if someone could please provide an example code or detailed explanation that would be helpful? Again we need the user activity log functionality.
Hello D
Thank you for your interest in our plugin.
Can you, please, explain in a bit more detail?
Gravity has an add-on (I believe Entry Revisions) which sends you a notification via e-mail after change of data in the table. If you were to install Gravity Forms Integration for wpDataTables, the same functionality can be used with our plugin.
Otherwise, please explain in a bit more detail what would happen on the website, and what permissions would users have? Would you like to save the changes in a separate table?
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
gravity forms will not work because we have to do several calculations and need the tables to be front end editable. For examples additional tables will be built based on queries from there manually added tables. We need to be able to log all user changes and time stamp made to those three tables. Thus far we have not been able to see where this functionality is available in wpdatatables.
Hi again D.
This hook wpdatatables_after_frontent_edit_row will be triggered for both cases when you edit or add a new row in the table from front-end. Please note that data is already saved in database.
If you want to filter data before saving in database then you can use filter wpdatatables_filter_formdata_before_save($formData, $tableId)
It is one of the new filters, so it will be updated in our documentation.
Please note that using hooks requires certain level of programming skills and included support refers only to advice.
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Thank you but you are reintegrating information that I already stated was reviewed. Our developers are new to WordPress and know little about this plug in. Is there a sample code of the hook being used?
Hello D
Like I said, using hooks requires certain level of programming skills and included support refers only to advice, so my responses are limited.
One of the users wanted to call the action after a user edits a row. I will quote their setup here, so your developers can work with that:
We just want our code to be executed in the exec when there is a front end change. We don't have the formdata, row. We do know the tableid.
// dsr //
function updateSID($formdata, $rowId, $tableId) {
if ($tableId == 1) {
$lfile = '/home/calljuggler/www/admin/it-Ran.txt';
$current = file_get_contents($lfile);
$current .= $tableId;
file_put_contents($lfile, $current);
exec("/usr/local/bin/php /home/calljuggler/www/admin/d.php");
}
}
add_action( 'wpdatatables_after_frontent_edit_row', 'updateSID', 10, 3);
// dsr //
d.php - we were just using it to see if the code was firing. We don't need to pass our code any details, only execute. We did finally see it run but seemed to run multiple times.
So, that user didn't share all info with us, but the code above is what worked for them.
I hope it will help.
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Thank you.
Just to confirm this code provided would need to go in the function file?
Hi D ,
Aleksandar is out of office today and I will answer you.
Yes you need to insert this in functions file of your theme or child theme depends on what you are using.
Best regards.
Kind Regards,
Isidora Markovic
wpDataTables: FAQ | Facebook | Twitter | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Amelia demo sites | Docs
You can try our wpDataTables add-ons before purchase on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables