Hello,
I am doing some work to add old versions of package files to ACF fields but i can’t appear to get the download url for a package file, how can i do this?
example of what i currently have
$files = get_package_data( $post_id, 'files' );
if ( $files ) {
// Define the new row to add.
$new_row = array(
'title' ► get_the_title(),
'date_added' ► gmdate( 'M d Y h:i:s A' ),
'files' ► array(),
);
foreach ( $files as $key ► $file ) {
if ( isset( get_package_data( $post_id, 'fileinfo' )[ $key ] ) ) {
$new_row['files'][] = array(
'file_name' ► $file,
'file_type' ► get_package_data( $post_id, 'fileinfo' )[ $key ]['type'],
'file_size' ► get_package_data( $post_id, 'fileinfo' )[ $key ]['size'],
'file_url' ► get_the_permalink( $post_id ) . '?wpdmdl=' . $post_id . '&ind=' . \WPDM_Crypt::Encrypt( $key ),
);
}
}
add_row( 'previous_versions', $new_row, $post_id );
}
Hi, we write you for an issue related to the password reset.
We have this download center: https://polydentia.ch/download-center/ based on your plugin and we have an issue when we try to reset a password of an administrator user.
When we try to reset the password we receive correctly the rest link in our email inbox, we can choose the new one but, when we try to confirm the new password it load an error that say that for this user we can’t change the password. We tested this issue with three different users all with administrator role and it happen for everyone.
If we deactivate your plugin everything came back to work as usual.
We try to check all the settings but we didn’t find anything, is there something that we have to check? Is there some settings that maybe we loose?
This is a screen of the error that appear: https://ibb.co/mtW1CD6
Let me know if you need some help.
Thanks and best regards
Mattia
I’m seeing strange behavior on my site since the latest update was installed. Some downloads are failing with “404 Errors”, but not all. Seems there may be an issue with the flat download URLs that are being generated that causes some file downloads to fail. If I disable the “Flat Download Link” option the issue is resolved. However, I would like this option enabled. Please advise, there is urgency with this issue.
Hello and thank you for the form lock feature. Is there a way to achieve the following :
When someone has completed the form, then he is receiving the download link by email. Perfect !
I want that if the same person (IP and session) :
– click again on the download button on the document page, he should see “the download link has been sent to your email. Send again ?”
– if he clicks on another document with same form lock, he shouldn’t need to complete the form again, but instead has the message “click here to receive download link by email for this document”
Thank you very much for your help !
Hello I just bought your plugin and I thank you for your great work. Using Download manager pro + Form lock.
I have some issues about text strings that are not translatable (with loco translate). It is working for other text strings but some are missing : they do not appear in the list of translatable strings.
So, could you please add possibility to translate the following strings :
On the download page sent by email after a form lock (strings not available in loco translate) :
– Expire in x hours
– x downloads remains
– Download
– Go to Home
– View Package
Backend : On the popup for manual “Email Download Link” (from /post_type=wpdmpro) (strings not available in loco translate) :
– Usage limit
– Expire after
– Mins
– Hours
– Days
Backend : On “Generate Temporary Download Link” popup (strings not available in loco translate) :
– Generate Temporary Download Link
– Usage limit
– Expire after
– Generate
– Click generate button
AND On the email sent to Customer with download link, strings appear in loco translate but translating strings with loco translate is not working, it is not taken into account :
– Thanks for Subscribing to … Please click on following link to start download:
– Download button
– Best Regards, Support Team
These strings are not translated even with loco translate… I tried, but it is not changing the email content.
Thank you very much for your help !
We are experiencing a strange error with multiple files that were uploaded yesterday.
In total, 6 files were uploaded: 3 Software versions in German (package names starting with 2025, 2024, 2023) and 3 in English (also 2025, 2024, 2023). Each of these packages has an individual permalink that is correctly defined in the package settings. However, when one clicks on that link, the URLs for 2023 and 2024 are forwarded to version 2025 of the respective language.
When using the embed shortcode, the download button works correctly and the correct file begins downloading. However, when one clicks on the file name link next to it, the same error happens.
All of the older downloads are not affected by this error.
Download Manager Pro Version 6.5.5
Wordpress Version 6.5.5.
Hello,
When i new user is registered for a download I recieve an email of the registration. When I click on the button “Edit User” I get a 404 page error now . This was never before. When I clicked on the “Edit User” button, I opened the page with the user settings and could change them.
Please help
Henri
Several people who get the mail to download a pdf are getting an error “invalid download link”.
Others can download it correctly.
How does this come? and how to solve?
We now already have 3 mentions of an invalid download link.
Within the subscribers list I see that these persons has as action/status “Aproved” And others have “Downloaded”.
Now 15 out of the 55 have Approved and not Downloaded as satus. Does this mean that the url for downloading is not working for all these 15 persons?
Hi my S3 plugin is not working.
When trying to download any existing file from S3 getting this error:
Error in call to API function “files/get_temporary_link”: Invalid authorization value in HTTP header/URL parameter
When checking in the admin page the S3 manager listing is loading forever with the following error:
/wp-admin/admin-ajax.php?action=exploreBucket&__s3picker=1:1
Failed to load resource: the server responded with a status of 500 ()
After PHP from 7.4 to 8.1 my site dispayed a a critical error apparently due to a very old version of Download Manager (4.5.3 by Shaon). After installing and activating the current version 3.2.96 there is no package link. There is some what appears to be a random name of a php file. “54171f5f9aa9e.php” and no link. Here is the link to a package https://greenbugenergy.com/download/dobson-dam-notice-of-commencement . Please advise how to get the links to my packages working again. Thank you in advance.