Forum Replies Created
@arneklein, The FTP account is pointed to an empty dir, I’m not seeing anything there.
Please give me temporary wp-admin login info in a private reply to check your issue.
Actually, if you want to show thumbnails for PDFs in that way, it will kill lots of server resources and some users will feel annoyed, however, we shall extend the feature with the following addon:
BTW, another solution is using:
okay, reg form shortcode is working file now, seem like a conflict wih cache plugin. However, I changed a line of code to bypass the issue.
Please give me temporary wp-admin login info in a private reply to check your issue.
WPDM generate download links are packageurl?wpdmdl=packageid which is not working for strange reason in your server, so I had to change it to homeurl?wpdmdl=packageid.
Changed file: class.Package.php
Old Code:
public static function getDownloadURL($ID, $ext = ''){
if(self::isLocked($ID) && !isset($_SESSION['_wpdm_unlocked_'.$ID])) return '#locked';
if ($ext) $ext = '&' . $ext;
$permalink = get_permalink($ID);
$sap = strpos($permalink, '?')?'&':'?';
return $permalink.$sap."wpdmdl={$ID}{$ext}";
}
Changed Code:
public static function getDownloadURL($ID, $ext = ''){
if(self::isLocked($ID) && !isset($_SESSION['_wpdm_unlocked_'.$ID])) return '#locked';
if ($ext) $ext = '&' . $ext;
$permalink = home_url();
$sap = strpos($permalink, '?')?'&':'?';
return $permalink.$sap."wpdmdl={$ID}{$ext}";
}
After login to FTP, I’m only seeing 2 zip files. Seems like, FTP account is pointed to a wrong directory.
Hi, the only solution is updating the plugin. Also, you are using a very old version and there are some security issues we have fixed from that time. However, core plugin update should not break anything except you change anything in core plugin code.
Actually, the shortcode requires the following add-on:
I’m not seeing it active or even installed.
Package inherits the role access from selected categories too. In your case selected category Training Toolkit has All Visitors checked, so the package also inherits All Visitors and that is why anyone can download it.
Doc:
https://www.wpdownloadmanager.com/doc/add-new-package/package-settings/
To open a download link in a new tab, you need to use following code for download link:
<a href="[download_url]" target="_blank">[link_label]</a>
Doc:
It was because bootstrap CSS was disabled, however, it is okay now.
FTP Error:
Response: 530 Login authentication failed.
Seems, login info is not working.
Sorry for the delays, It is working fine now, keep all bucket region US East (N. Virginia) for now.
You may check WPDMACF demo here https://demo.wpdownloadmanager.com/wpdmpro/wp-admin/ ( Login: demo/demo )
https://demo.wpdownloadmanager.com/wpdmpro/wp-admin/edit.php?post_type=wpdmpro&page=wpdm-acf
To sell files, you will have to activate Premium Package Add-on and [doc_preview] tag will not work, instead you may use [pdf_thumb] to show thumb preview of the first page of the attached pdf file.
when you click on the download link (where the file is attached from Amazon S3), WPDM Amazon S3 creates a temporary download link with 30 mins expiration using API and redirect to it to start download. Please let me know where you facing a problem.
Actually, that page directly coming from their site, wpdm has nothing to do there. Probably the email was misspelled last time, so, please try again :).
Please give me temporary wp-admin login info in a private reply.
in the same browser session, wpdm counts multiple clicks on the same link as one. If every user uses different browser or close browser after use, then it will count every download. However, we shall add an option in the wpdm settings page to skip the situation on need.