Yes, you can set the option to open a file in the browser from Downloads Settings Basic File Download panel.
https://www.evernote.com/l/AUfC9N__JwNKPItC0ZINOWM4vT-q1OTp4kkB/image.png
You can set the link template for the search result page. Please check the following shortcode. Use any link template you want.
[wpdm_search_result template="link-template-calltoaction1"]
Hi,
Please send temporary wp-admin login info in private reply. I will set it up for you.
By the way, have you installed WPDM Pro? Prosper requires Download Manager plugin.
Regards
So your single.php solution is working? Can I mark this as resolved?
You can hook a function with the package view or download operation.
Use the following code to update package size when someone views the package,
add_action("init", 'wpdm_update_remote_pacakge_size');
function wpdm_update_remote_pacakge_size(){
if(isset($_REQUEST['_nonce'])&&wp_verify_nonce($_REQUEST['_nonce'],"__wpdm_view_count")){
$package_id = intval($_REQUEST['id']);
$old_package_size = get_post_meta($package_id, '__wpdm_package_size', true);
// get remote file size and update post meta here
die();
}
}
Or use wpdm_onstart_download hook to attach your custom function with download operation.
You can bulk update all package at once by going through all packages too.
One of your plugins and active theme modifying query when there is a search.
Modified SQL looks like this SELECT * FROM wp_posts WHERE 1=2 which prevent to get any posts. Please try switching theme and deactivating other plugins to find where it is coming from.
Your theme or one of the following plugins modifying post query using pre_get_posts action hook. The issue resolves after switching theme. Please ask your theme provider to check this. They must add some kind of condition so this hook doesn’t affect other plugins.
Please check now.
There is no way yet do that from your side. So, just let us know when you want to unlock the key. However, it is done now.
No way yet to get regular post ID through template tag or TinyMCE.
Currently, Download Manager only measures file size only when the file is stored on your current server. For remote files, you have to manually input the size for now.
Thanks for letting know about the issue. We will adjust this in next release.
Verified your key. It was linked to your staging server.
Somehow your private reply is not available here. Please email it to support@wpdownloadmanager.com
Please send the login URL too.
Where did you send it? Did you mail that? Please send it as a private reply here.
https://www.evernote.com/l/AUd0Lhx5uCdPcbs_CtTyd5mKQasd_mhCG0wB/image.png
Hi,
It requires code customization. You have to create your own template for /download-manager/tpls/wpdm-all-downloads.php file. Please check the related doc here https://www.wpdownloadmanager.com/doc/template-files/
Thanks.
Hi,
You can use Dropbox add-on to attach files from Dropbox.
But to restrict downloads user sign up is required. Otherwise, files will be accessible by all users as there is no way to classify guest users.
Your best option is using WPDM Pro with Advanced Access Control add-on. You can assign downloads to a specific user using AAC add-on.
Let me know if you have any question.
Regards,
Shahriar
Hi,
You are using old version of PHP. Download Manager requires PHP version >= 5.4
Please ask your server support to update server’s PHP version. That will fix the issue.
Thanks.
Yes, I did get the following lead.
https://www.evernote.com/l/AUdiJzwNBA1OtamZXM0zrnMpmNGoY61I30AB/image.png
It means your API key is not working .Try creating a new key from this URL https://accounts.zoho.com/apiauthtoken/create?SCOPE=ZohoCRM/crmapi
Hi Savvas,
There is no option yet to send email in this case. But it is a great idea. We will add an action there to hook any necessary task if this case happens.
For now, you can send the email by adding the following code in /download-manager/wpdm-start-download.php file.
$message = 'Attached files are missing in this package ' . get_permalink( $package[ 'ID' ] );
wp_mail( 'admin@site.com','File Not Found!', $message );
Add this code after the indicated line,
https://www.evernote.com/l/AUcSVzFy5DVPQqCA9N7Gpod0FLbTPIedtHYB/image.png
And obviously, change the email address in the code.
Regards,
Shahriar
@a-hervieux, Please try now.
Please send temporary wp-admin login info in private reply to check the issue.
Use following shortcode. The flaturl=0 parameter will fix the 404 issue.
[wpdm_frontend flaturl=0]