-
AuthorSearch Results
-
Apr 16, 2022 at 8:13 am #171293
In reply to: Download buttons text
Pierre GergiParticipantThank 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 4 years ago by
Pierre Gergi.
Apr 16, 2022 at 7:44 am #171291Topic: – Invalid download link –
in forum Download Manager Pro
diosenticMemberHi, 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
ThomasApr 16, 2022 at 6:38 am #171290In reply to: Download buttons text
Nayeem RiddhiModeratorApr 15, 2022 at 3:03 pm #171285In reply to: Template card not present in the template list
TanvirSpectatorHello @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:In the link template list, the template you need is the
Link Groupwhich template ID islink-template-bsthumnailJust use the template id for the template parameter in shortcode.
Thanks
Apr 15, 2022 at 2:46 am #171260In reply to: AJAX and PHP Error and
Piers BarberMemberHi. 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
*/Apr 13, 2022 at 5:38 pm #171239In reply to: File not found! message
TanvirSpectatorHello @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.
However, You can also provide temporary admin access of your website in a private reply to check the issue further.Thanks
Apr 13, 2022 at 12:18 pm #171226
HumayonSpectatorHello @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.comor
You may knock to the customized team through this link: https://www.wpdownloadmanager.com/user-dashboard/?udb_page=upgradeThanks.
Apr 13, 2022 at 5:42 am #171201In reply to: Default download page and link template
Nayeem RiddhiModeratorHello 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
Apr 12, 2022 at 2:56 pm #171175In reply to: Managing the folder structure
Nayeem RiddhiModeratorHello 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,
Thanks for your appreciation.
Thank you and regards again
Apr 12, 2022 at 11:06 am #171169In reply to: Upload csv when files contains spaces
Andrew BeniamsParticipantHi 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
Apr 12, 2022 at 6:42 am #171159In reply to: Managing the folder structure
Nayeem RiddhiModeratorHello 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,
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
Apr 11, 2022 at 8:45 am #171126In reply to: Generating download link popup
Majid SamaviParticipantThank 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?
Apr 11, 2022 at 8:21 am #171122In reply to: Default download page and link template
Nayeem RiddhiModeratorHello 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,
please check and let me know
Thank you and regards
Apr 11, 2022 at 6:30 am #171117In reply to: Generating download link popup
Majid SamaviParticipantHello,
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.
Apr 10, 2022 at 1:54 pm #171098
Alex TetleyParticipantThis reply has been marked as private.Apr 10, 2022 at 7:15 am #171092
Nayeem RiddhiModeratorHello 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
$IDfor the related packages, please check and let me knowThank you and regards
Apr 9, 2022 at 8:31 pm #171088In reply to: No results when we choose Package Size!!
Pierre GergiParticipantHello,
There is no code.
I use WPDM – Gutenberg Blocks – All download table
Please check this link
ThanksApr 9, 2022 at 4:35 pm #171086
Alex TetleyParticipantThis reply has been marked as private.Apr 9, 2022 at 7:33 am #171075In reply to: Generating download link popup
Nayeem RiddhiModeratorHello 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,
please check and let me know
Thank you and regards
Apr 8, 2022 at 1:26 pm #171054
Alex TetleyParticipantThis reply has been marked as private.Apr 8, 2022 at 1:03 pm #171051Topic: Shortcode for index page is producing no results
in forum Download Manager Pro
Richard CuttsParticipantHi
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
Apr 7, 2022 at 5:16 pm #171038In reply to: Upload csv when files contains spaces
CHSParticipantMy 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!
Apr 7, 2022 at 4:40 pm #171036In reply to: Upload csv when files contains spaces
TanvirSpectatorHello,
Please check the updated file here https://drive.google.com/file/d/1NN62Jb-SSVZfK9pJsfHr7lzd_eeogVAw/view?usp=sharing
I have uploaded that and It is working fine.
Just check that I updated Some integers 1 and 0 were only on the first download package, but those values are required for other packages as well.
Also as you don’t have the files uploaded in the download manager file, the downloads are not getting from the download link.
Please keep the files in thedownload-manager-filesdirectory like thisThanks
Apr 7, 2022 at 1:13 pm #171018
Alex TetleyParticipantThis reply has been marked as private.Apr 6, 2022 at 7:55 pm #170991In reply to: Problem with categories
Pierre GergiParticipantHello,
Thank you for your respond.Yes, I understand that the speed depends on Google Drive’s server. But why should Download Manager wait for Google Drive when the user loads the library? It should be linked with Google Drive only when the user clicks on the “DOWNLOAD” button.
Thank you
-
This reply was modified 4 years ago by
-
AuthorSearch Results
Search Results for 'download link'
-
Search Results
-
Topic: – Invalid download link –
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
ThomasHi
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


