Hi!
Thanks for this Mod. I've installed everything right the way you wrote. But I had an error with adding the ID's of downloaded images to the database. The problem I found was the following:
if ($user_info['user_level'] == USER) // Mod: Track User Downloads
add_to_downloaded_image_ids($image_id); // Mod: Track User Downloads
When adding this line of code to the download.php file you have to add { and } to that if-request. So the right way would be
if ($user_info['user_level'] == USER) { // Mod: Track User Downloads
add_to_downloaded_image_ids($image_id); // Mod: Track User Downloads
} // Mod: Track User Downloads
Anyway, there's also a problem with zip-downloads out of the lightbox. The id's of the downloaded images don't get written into the database. Has anyone a solution for this??
EDIT:
I also found the second problem.
Just added the code V@no posted in
http://www.4homepages.de/forum/index.php?topic=4606.0;msg=25435And again: Thank you for this Mod! Now it works perfectly!!!
Greatz
Christoph