Custom Logging
-
Hello everybody,
I’m using Download Manager + NextGEN Download Gallery (and of course NextGEN Gallery).
I need to log when a user downloads a gallery. (It doesn’t matter which or how many pictures are downloaded, just the gallery).
In order to do so I’ve tweaked the NextGEN Gallery plugin so that everytime a gallery is created, a dlm_download object with the same name is created.I tried adding this piece of code in the function that creates the zip archive in order to log the user’s ID and Download ID.:
dlm_create_log('gallery', 'completed', '', $id_download, '');
but it didn’t worked. Am I forgetting something like creating an object from some class or the function arguments?
- The topic ‘Custom Logging’ is closed to new replies.