Forum Replies Created
-
Filippo LicciardelloParticipant# il y a 7 mois et 1 semaine
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# il y a 7 mois et 1 semaineHI,
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# il y a 7 mois et 1 semaineHi, 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
3 sujets de 1 à 3 (sur un total de 3)