Found the error! See below.
Location: …/plugins/download-manager/libs/class.Package.php around Line 889
$extralocks = '';
– The variable needs to be declared as an array, not a string, so the following works:
$extralocks = array();
Will this be fixed in the next update? Also, is it possible to keep the download link with Form Lock enabled and redirect to the form instead of showing it inline with the download description? I have a big form that is used for multiple downloads, so when I use the [wpdm_category]
shortcode, the form is repeated for each link-template on the page.
Please send me the page link where you have the accordion shortcode. I will check if I can recreate the issue. Also, related PHP error log will be very helpful.
Enable resumable download from settings.
In that case, define your links like the following example,
yoursite.com/archive-page-slug?category=id
<- id = category id
Disregard previous code and add the following code instead in same position.
jQuery('#wpdm-downloads').prepend('<div class="wpdm-loading"><i class="fa fa-spin fa-spinner icon icon-spin icon-spinner"></i> <?php _e('Loading','wpdm-archive-page'); ?>...</div>').load('<?php echo home_url('/?wpdmtask=get_downloads&pg='.get_the_ID());?>&category=<?php echo $_GET['category']; ?>');
This reply has been marked as private.
We have placed the download manager on serveral of our pages using the following shortcode: [wpdm_category id="LA4SAP" toolbar="0" order_by="field name" order="asc" item_per_page="10" template="link-template-widget" cols=1 colspad=1 colsphone=1]
Today there is a headline above with a title (just a textfield).
Unfortunately sometimes there are no downloads matching the category. Then there is only the headline displayed. We would like to integrate the title “Trainings” in the widget and delete the old textfield with the headline. This should lead to the behaviour, that “Trainings” and the download items are only displayed, if min. one dowload fits the category.
Thanks in advance.
That’s what I am asking to do. I need to be able to link from, for example, a page called Accounting Services, and have the page with the download manager archive shortcode open with the accounting category pre-selected. I also need to be able to link to the same page from other pagers like purchasing, travel, etc. and show a different subcategory when the page with the download manager shortcode loads.
I have seen other tools do this using a query string variable passed in the page url that tells what category or parameter to preload. Is it possible to add an option to send a query string variable with the category slug or ID to the archive page add-on to tell it which category to pre-select?
Hi,
I am having problems with Download Manager Pro Versions greater than 4.5.4.
On my multisite installation the template tag [file_list_extended] returns a 404 for the download link.
The template tag [file_list] is working on all sites but I need the [file_list_extended] tag.
The theme uses do_shortcode(“[wpdm_package id='" . get_the_ID() . "']“)
Could you please give me a solution for this problems
This reply has been marked as private.
Actually, you attached the file as an URL, wpdm simply redirect to that URL when someone clicks on download link:
https://www.evernote.com/l/AV1y7TfLEABLJYvTxtPt1BmYbTjwMe9a4usB/image.png
So, if the attach URL doesn’t work wpdm has nothing to do there, you simply need to reattach proper file URL and use the server file browser with wpdm pro to attach a file.
Use wpdm_email_lock_heading
filter hook to modify the “Subscribe to Download” text and send_download_link_to_label
hook to modify “Send Download Link To:” text.
wpdm_email_lock_heading
This reply has been marked as private.
Hey,
yes i have assigned each package to a specific category. i have tested it once again and created a news package with a PDF-file and attached it to The categories Datenaustausch->IT->Intranet.
If i take the direct link (http://172.16.1.228/download/test/) i can see the file as soon as i click on The category Datenaustausch or Intranet or IT i get te empty page
I configured wordpress-users to use wpdm pro with their own login, so they can only access the download center after a successful login. Can you please explain to me, why there is no login needed when someone opens the direct URL of a download package?.
Hi
I had to restore our website after updating this plugin as all document downloads disappeared. Please can you advise how to update while avoiding a recurrence of this.
Many thanks
Hi,
I understand. This shortcode will only show the category name and subcat name with package count on a single page. As you can see the demo here (https://demo.wpdownloadmanager.com/wpdmpro/categories/).
If the category page link is not working then you can try this code [wpdm-categories cols="3" subcat="6" showcount="1"]
. Working fine at my side.
To achieve a different look or package lists on the page, you can different shortcode. Like you can use Archive page shortcode.
Thanks
Hi,
I cannot find any help in setting up Social Settings. I want to be able to share downloads using Facebook, LinkedIn and Twitter especially but no explanation of what to do.
Hey,
unfortunately i have a local system running and cant sahre it with you.
I have documents inside my categrories and i can access the documents with an direct link. The only thing which is not working ist the overview of categories. Evrery time i click on a category which is listet in the overview i see an empty main-container.
What i have tested today was to replace the [wpdm-categories subcat=”1″ showcount=”0″ cols=3] with [wpdm_tree download_link=1]. Wehne i use [wpdm_tree download_link=1] is seee my categories an i can navigate troug it an open the links.
I dont understadn why it doesnt work with [wpdm-categories subcat=”1″ showcount=”0″ cols=3] i always run into an empty page. Is there another way to display my categories?
Hi,
You can just use shortcode for the category page. You just need to replace the template id or name with the custom link template.
[wpdm_category id="Category Slug(s)" operator="IN" title="Custom Title Here or 1" desc="Custom Description or 1" toolbar="1" paging="1" order_by="field name" order="asc or desc" item_per_page="10" template="template name or ID" cols=4 colspad=2 colsphone=1]
You can create custom link template from Downloads -> Templates , details here (https://www.wpdownloadmanager.com/building-a-wordpress-download-manager-link-template-from-scratch/).
You need to change the drop-down category icon color for black background in the CSS.
Or Can you send login in private? So, I can help with the issue.
Thanks
Thanks Hasibul,
appreciate your help
i donwloaded the addon and installed it and then pasted the following text into a sidebar widget as instructed
[wpdm-archive button_style=”default” link_template=”link-template-panel” items_per_page=”10″ category=”category-slug” <br/>order_by=”field-name” order=”asc or desc”]
but it looks awful!
http://144.208.70.12/~eccv/policy-directory/
what am i doing wrong – i would like it to look like this
https://demo.wpdownloadmanager.com/wpdmpro/advanced-search-right/
thanks – hear from you soon
๐
Hi,
Yeah, I know about copy the template int he theme directory, but I can’t find the way to replace ‘View Details’ to ‘Download’ button. When the user click in the button donwload the file directily without enter to a details view.
In the plugin files I found shortcodes like this [download_link_extended] but shortcodes those doesn’t work in the archive-page-with-sidebar.php file.
Any idea? please.
Thank you.
Please send me the link to check the issue.
If you are using “WPDM packages by category” widget you can control the package view by selecting the preferred Link Template.
https://www.evernote.com/l/AUd5YFlDeypPu4MOGbZMSv-IpPz4imBDg_4B/image.png
But the package view in category archive page in controlled by your theme. You can partially control this from Downloads Settings Frontend Category Page Options panel.
No, we don’t want to send an email when someone adds a file to the cart.
Here’s how it currently works:
1. A user adds a file (or multiple files) to the file cart
2. They have the option to download all of the files within the file cart as a zip file
3. They can also email the files to anyone else by entering an email address and clicking ’email file(s)’.
This functionality works perfectly and we’re very happy with it.
However, we would like to add a fourth step that happens at the same time as step 3:
4. When the user emails the files to the other person, we would like the user to receive a confirmation email saying something like:
“You’ve just sent the following files [link to the zip file] to the following recipient [email address you sent the files to].”
It seems step 3 is triggered by the action I posted above โ it’s on line 32 of wpdm-file-cart.php
Does that make sense?
Thanks again.
Hi,
It is possible to load sub-category packages on page load but requires some code changes. Please send login info in private reply. I will add the code there or you can add the code yourself. Here is the custom code, add it after line 1082 in wpdm-archive-page.php
file. Please keep in mind, you have to add this every time you update the add-on.
var firstcat = jQuery('.wpdm-categories .wpdm-cat-link').first().attr('rel');
jQuery('.wpdm-categories .wpdm-cat-link').first().addClass('active');
jQuery('#wpdm-downloads').prepend('<div class="wpdm-loading"><i class="fa fa-spin fa-spinner icon icon-spin icon-spinner"></i> <?php _e('Loading','wpdm-archive-page'); ?>...</div>').load('<?php echo home_url('/?wpdmtask=get_downloads&pg='.get_the_ID());?>&category='+encodeURIComponent(firstcat));
Thanks.
Hi
Iโm working on your Plugin WordPress Download Manager Special Packand. I think that without your intervention I can not achieve what we have in mind.
We are a small Children Book Publisher. Our collection is compose of 60 audio book titles. We want to replace the CD included in our books by hyeprelink and code related to a package in our website.
We will insert in each book a printed card with a unique code (password look) and the hyperlink to the package on our website.
With password look I can produce 5000 code for each title, so, if you multiple 60 title by 5000 books I will have to manage 300 000 code.
We will grant 3 time access to the MP3.zip file related to a book.
After that the cotumer will have to contact use so we can issue a new password
or reset the old one.
To do so we have to collect the name, email and passeword of the book owner.
The solution would be to use your email look combine with password look
so the user have to enter name, email nad passeword to be able to download the file.
After that all those tree info could be find in the Subscribers Panel.
If a person by more that one book the Subscibers Panel would indicate
the name, email, Package title and all the code related to the book.
Can you estimate the cost of your theme looking at our demand.
Hey Shahriar, thanks for your post. If i push the view link below the category i see also an empty page. The link is correct so i have myip/downloads/category.
I have to study your second link at the moment i am not sure what to do. I will give feedback as soon as i have tried it.