Page 1 of 1

Record CSV Downloads

Posted: 2019-11-07 09:33
by bescott53
is it possible to record in a table what someone has downloaded using csv?

Re: Record CSV Downloads

Posted: 2019-11-08 16:02
by onoehring
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