Record CSV Downloads
Record CSV Downloads
is it possible to record in a table what someone has downloaded using csv?
Re: Record CSV Downloads
Hi,
this should actually be quite easy. Use the hooks/tablename.php file and there the function ..._csv(.
This function is called when the CSV export is requested. So, simply add some php code there to write whatever you want to a (new) table. This coule be the memberID (you get $memberInfo), tablename, timestamp etc.
Olaf
this should actually be quite easy. Use the hooks/tablename.php file and there the function ..._csv(.
This function is called when the CSV export is requested. So, simply add some php code there to write whatever you want to a (new) table. This coule be the memberID (you get $memberInfo), tablename, timestamp etc.
Olaf
Some postings I was involved, you might find useful:
SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button; Place a search on details view
SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button; Place a search on details view