This reply has been marked as private.
Thanks. I don’t mind customizing some code. Any hint where should I start to look? Or is there a way to extract the direct download link from the package somehow? Btw is there a special reason that the browser is forced to always download?
Ch.
Hello, I have a package that requires the email to get access to download button. Since wordpress 3.9.2 it seems the final page after the submission of email address returns an error all I got now is : {“error”:”<div class=\”alert alert-success\”>Download link sent to your email!<\/div>”,”downloadurl”:””}
find the following code in download-manager.php (roughly line 214):
$html = "<div id='wpdm_file_{$id}' class='wpdm_file $template'>{$title}<div class='cont'>{$desc}{$password_field}<div class='btn_outer'><div class='btn_outer_c' style='{$bg}'><a class='btn_left $classrel $hc' rel='{$id}' title='{$data['title']}' href='$url' >$link_label</a>";
if($data['show_counter']!=0)
$html .= "<span class='btn_right counter'>$data[download_count] downloads</span>";
else
$html .= "<span class='btn_right'> </span>";
$html .= "</div></div><div class='clear'></div></div></div>";
and replace with:
$html = "<div id='wpdm_file_{$id}' class='wpdm_file $template'>{$title}<div class='cont'>{$desc}{$password_field}<a class='btn_left $classrel $hc' rel='{$id}' title='{$data['title']}' href='$url' ><div class='btn_outer'><div class='btn_outer_c' style='{$bg}'>$link_label";
if($data['show_counter']!=0)
$html .= "<span class='btn_right counter'>$data[download_count] downloads</span>";
else
$html .= "<span class='btn_right'> </span>";
$html .= "</div></div></a><div class='clear'></div></div></div>";
Hello, In /templates/link-template-default-icon.php can I change [file_size] to show the package size of all downloads in the collection?
I deactivated block hotlink add-on and lazy download is working fine now. “Block Hotlink” add-on need to be updated. your are using old version.
This reply has been marked as private.
SQL:
Link Label:
update prefix_postmeta set meta_value='download me :)' where meta_key='__wpdm_link_label';
Page Template:
update prefix_postmeta set meta_value='tmeplate-name' where meta_key='_wp_page_template';
Ok,
I’ve got wpdm installed and all my mp3’s uploaded. What do I have to do to get this to link to feedburner for my podcasting? I have this page setup with the categories: http://bethelharvestchurch.com/downloads/podcasts/ But because its not XML, I can’t get it work.
thoughts?
Hi, i’m trying to use this short code [wpdm-archive button_style=”default” link_template=”link-template-panel” items_per_page=”10″ category=”category-slug” order_by=”field-name” order=”asc|desc”] but when a user clicks on a categories appears “No download found!”
How can i solve it?
Thank you!
I created a ‘file list’ of both links and downloads. I really like the file list, but it looks weird when you have it linking to a webpage, rather than downloading a document. Is it possible to change the word ‘download’ to ‘link’ in limited cases?
Hello mr.shaon .. thank you ..
may you give a SQL command of :
1- to change link label for all packages . to download me :)
2- to change page template for all packages .
looks like your theme causing js conflict in archive page for some reason, so I replace download link with details page link, so now user can download from details page where things are ok.
This reply has been marked as private.
Can someone please tell me how to have one download per line other than the [wpdm_package id="package-id-here"] short code?
I would like to list all downloads in a category, one per line as in [wpdm_category id="my-slug-name" template="see below"].
How can I change my link template to do this? Any help would be MUCH appreciated.
<div class=”media-body”>
[icon]
<div class=”media-body”>
<h4 class=”media-heading” style=”padding-top: 0px;border:0px;margin: 0px;”>[title]</h4>
[download_link] <i style=”margin: 2px 0 0 5px;opacity:0.5 class=”icon icon-th-large”></i> [file_size] <i style=”margin: 2px 0 0 5px;opacity:0.5″ class=”icon icon-download-alt”></i>
</div>
</div>
<div style=”clear: both; padding: 20px; 20px;”></div>
This reply has been marked as private.
Hi,
For you reference please visit our under development site:
http://www.webzline.com/download/
I have set just two package(First two KPIOperations and Kellyville Pets) as private and set them for email lock.
Don’t know why the Download links not working on this only archive page?
But its working on it’s single detail page well.
Can you please let me know what the issue?
Thanks in advance.
This reply has been marked as private.
This reply has been marked as private.
This reply has been marked as private.
This reply has been marked as private.
Howdy,
I can’t seem to figure out why, but whenever I download a package, it is missing several files, and the titles are different.
Here’s a link to the package:
http://www.caliberdealer.com/download/caliber-ii-product-shots/
It seems that I can no-longer add files to my WP site. I’ll create a new package, attach/upload the file, and once I click ‘update’, the file title is no longer in the screen. When I add the package code to the webpage, it shows 0.0kb and if you click it, it acts as a link, not a download.
@mrmad, extremely sorry, but we check and reply in free forum whenever we get free time, but in pro forum http://www.wpdownloadmanager.com/support/forum/download-manager-pro/ we reply 2 or 3 times a day. So as you are a pro user please use pro forum for fast reply. I gave you the reference url as, I simply had to copy the instruction here again to explain, but extremely sorry if my ans offended you.
Anyhow here it is:
[wpdm-archive button_style=”default” link_template=”link-template-panel” items_per_page=”10″ category=”category-slug” order_by=”field-name” order=”asc|desc”] – use the short-code inside page or post content to show directory like interface for wpdm
Parameters:
– buton_style = default | success | info | warning | danger
– link_template = any link template id ( optional parameter )
– category = use any category slug here if you want to create an archive page for that specific category or don’t use the parameter
– order_by = package_size_b | date | modified | download_count | view_count | title