AnonymousInactive
This reply has been marked as private.
Hi Nayeem,
Thank you very much, do you know which was the origin of the error?
Apart from that, I have a couple of things I would like to change:
1. Two issues related with the directoy page commented in the following link https://www.awesomescreenshot.com/image/25898994?key=8689fdb3b11c63207b8919a6a6ad8b00
2. Once you enter into a specific file page, the first info reference is about the “total downloads of the file” (this is it https://www.awesomescreenshot.com/image/25899777?key=47e8ebdb4773a023565d7482b42a4e46 ) but it is named as “Download” and I think it would be better explained as “Total downloads”, for example. Could I edit this gap name?
Thanks again
This reply has been marked as private.
Thank you so much… Yes it is ok now.
Also to change this word for all recodrs at the same time we need to update this file:
download-manager/src/Package/PackageController.php
$link_label = (trim($link_label) === ”) ? __(“xxxxxxxxxxxxxxxxxxxx”, “download-manager”) : $link_label;
and
$post_vars[‘link_label’] = $post_vars[‘link_label’] ? $post_vars[‘link_label’] : __(“xxxxxxxxxxxxxxxx”, “download-manager”);
Thanks again Nayeem
-
This reply was modified 3 years, 5 months ago by
Pierre Gergi.
Hi, it’s annoying but sometime I get ’Invalid download link’ as a result from the notification emails url link, why? It’s wpdm packages that works.
Best regards
Thomas
Hello Gergi,
Hope you are well. For changing the download link label, you have to change it from your package settings as I image attached,

please check
Thank you and regards
Hello @italcolven,
Please make sure you are using the latest version of wpdm that is 6.1.5
If you using this, you should be able to see some pre-built templates like below:
Templates
In the link template list, the template you need is the Link Group
which template ID is link-template-bsthumnail
Just use the template id for the template parameter in shortcode.
Thanks
Hi. We are still getting the error. Below is a code snippet from the functions.php file from our template for your review. maybe you can see something I cannot.
/**
* @usage Callback function for shortcode [wpdm_package id=PID]
* @param mixed $params
* @return mixed
*/
function directLinkCrypt($params, $content = “”)
{
extract($params);
global $wpdb;
$filedata = get_post_meta($params[‘id’], ‘__wpdm_files’);
if(is_array($filedata[0])):
foreach($filedata[0] as $file):
$filepath = $file;
endforeach;
endif;
//var_dump($filepath);
$ind = (!empty($filepath)) ? “&ind=” . \WPDM\__\Cryp::Encrypt($params) : “”;
if(\WPDM\Package::isLocked($params[‘id’]))
$linkURL = get_permalink($params[‘id’]);
else
$linkURL = “index.php?wpdmdl=”.$params[‘id’].$ind.”&#zoom=100″;
$target = isset($params[‘target’])?”target={$params[‘target’]}”:””;
$class = isset($params[‘class’])?”target={$params[‘class’]}”:””;
$id = isset($params[‘id’])?”target={$params[‘id’]}”:””;
$linkLabel = isset($params[‘label’]) && !empty($params[‘label’])?$params[‘label’]:get_post_meta($params[‘id’], ‘__wpdm_link_label’, true);
$linkLabel = empty($linkLabel)?’Download ‘.get_the_title($params[‘id’]):$linkLabel;
return “$linkLabel“;
}
add_shortcode(‘wpdm_direct_link_crypt’, ‘directLinkCrypt’);
/*
* redirect logged in users to members version of home page
*/
Hello @Amanda,
Yes WPDM Block Hotlink add-on will help you to block hot links to download URLs from external sites. Any such request will be redirected to the item details page or any other page specified by you.
WPDM Block Hotlink
However, You can also provide temporary admin access of your website in a private reply to check the issue further.
Thanks
Hello @colinbrinson,
Greetings for the day!
To implement the redirection functionality you might need to consult our customization team.
Please leave an email here: customize@wpdownloadmanager.com
or
You may knock to the customized team through this link: https://www.wpdownloadmanager.com/user-dashboard/?udb_page=upgrade
Thanks.
Hello Majid,
Hope you are well. Are you still want to bulk apply to the default download page and link templates? if you are feeling unhappy, I can provide you with a code snippet too. But in such a case, it could be a long code snippet. please let me know
Thank you and regards
Hello Madaan,
Hope you are well. I think for the requirements of your referred feature, you may have to ask for a customization request from our team developers from this link URL,
User Dashboard
Thanks for your appreciation.
Thank you and regards again
Hi Tanvir
OK – we are having some progress and success in that the ‘Download Files’ are being ‘linked’ to the CSV, and the Packages are ‘downloading’ 😉
However, we need your help to advise and sort out the following, please:
1. As mentioned the CVS is not allocating the Tags or Categories – I can add manually – but that’s not really an option given the number of files involved! (NB. Tags and Categories were working in previous tests)!?
2. How can we fix the ‘order’ the files so that they appear in a prescribed sequence within their category?
3. Please see: https://nfpsoccer.co.uk/download/tech-support-new/
a) Why do we have x2 ‘Download Buttons’ – when only x1 is required?
b) Why is the ‘File Title repeated x3 times – can the ‘Header title’ (shown in the grey block at the top under the logo) be different?
c) Can the ‘Comment’ option be removed from all packages (it has the option in the Package settings) by using the CSV – or other method?
Thank you.
Kind regards
Andrew B
Hello Madaan,
Hope you are well. I think you are looking for this feature
https://try.wpdownloadmanager.com/category-blocks/
This feature is coming from our this add-on,
WPDM Directory Add-on
You can also check the shortcode and its necessary parameter from the above link,
[wpdm_category_blocks]
please check and let me know
Thank you and regards
Thank you very much for your answer.
I am not asking for the possibility of creating or uploading a Download package by users! But, I am asking about the possibility of generating Download Links (Direct Download, and Download Page) of already created download packages.
If you click on the small purple circle I have displayed in my previous screenshot, a modal window pops up and makes it possible to generate download links (please see the following screenshot):

Did you get what I am trying to say?
Hello Majid,
Hope you are well. Can you please elaborate more on your issue? Are you missing the options as I image attached,

And for bulk apply for these options for all packages, please check our this add-on,
WPDM Default Values
please check and let me know
Thank you and regards
Hello,
Thank you but that was not what I asked for.
As you know when you click on the purple circle with a down arrow on it, a modal pops up and let you to create a download link or page with limited number of downloads and expiry time. I would like users at front-end to be able to click on a similar button for creating the same download link or page.
This reply has been marked as private.
Hello Andy Darley,
Hope you are well. How you are using the ACF code snippet in your php file,
<?php echo wpdm_acf([ID],'ACFGROUP/ACFFIELD'); ?>
Can you please elaborate more on it? if possible, please share the related URL or can share the related screenshots too, also please, give your temporary wp-admin login details in a private reply for checking the issue.
And for the direct download link for a package, you can use this code snippet,
<?php echo \WPDM\Package\PackageController::downloadLink($ID); ?>
As you are a developer, you should know, here you have to use the proper $ID
for the related packages, please check and let me know
Thank you and regards
Hello,
There is no code.
I use WPDM – Gutenberg Blocks – All download table
Please check this link
مكتبة قنشرين المسيحية
Thanks
This reply has been marked as private.
Hello Majid,
Hope you are well. For generating a Download link with pop-ups a modal, you can use the lock-options feature, for more details you can check this doc,
Lock Options
please check and let me know
Thank you and regards
This reply has been marked as private.
Hi
i am using teh following shortcode
[wpdm_all_packages login=0 thumb=1 items_per_page="20" categories="slug1,slug2,..." jstable=1 order_by="field_name" order="ASC/DESC" cols="title,file_count,download_count|categories|update_date|download_link" colheads="Title|Categories|Update Date|Download::155px"]
which is meant to list all the available downloads
Howeve its not treturning any results. install is a defaultinstall of WP DownloadManager Pro v 6.15 and I have teh extended shortcodes plugin activaed as well
My files are saved in the download-manager-files dir. Any document saved with a dash or an underscore gets uploaded correctly with the document linked. But any file that contains a space uploads but does not link to the document which is saved in the download-manager-files folder, exactly like the other one- when you click on the download link it says file not found.
In the sample file you referenced, none of the document names have spaces… I was able to upload ones with _ or -‘s. My problem is when there are spaces in the file name.
Is there a resolution for that? Can you try uploading a package in which the file contains spaces and confirm that you can replicate this error, so that you can help me here?
Thank you so much!