Forum Replies Created
-
Filippo LicciardelloParticipant# 6 months, 1 week ago
Hi, the previous message didn’t load well.
The code works, but I need the event to be marked when the file is downloaded or not downloadedin reply to: Sownload statusFilippo LicciardelloParticipant# 6 months, 1 week agoHI,
the code works, but doesn’t give a true result.This is the code:
$pf_addon = cuar_addon('private-files'); // Check the download count of the attachment file for this post if($pf_addon->get_file_download_count($post_id) > 0) { $out = 'Scaricato'; } else { $out = 'Non Scaricato'; } break; } return $out; }
this is what you see in the dashboard
But in the logs it shows as downloaded
Can you help me figure out what’s missing?
Thanks friend
in reply to: Sownload statusFilippo LicciardelloParticipant# 6 months, 1 week agoHi, I would like to add the status of the file, i.e. whether the user views or downloads the file
in reply to: Sownload status
Viewing 3 posts - 1 through 3 (of 3 total)