Uhm, I’m trying to make a custom template without [page_url], but I still get the underlining/blue color typical of links under the file title, which is a bit deceiving. How do I remove that? This is the current code:
<div class=”media-body”>
<h3 class=”media-heading” style=”padding-top: 0px;border:0px;margin: 0 0 5px 0;font-size:12pt;”>[title] <span style=”margin-left:30px;font-size:8pt;font-weight:300″><i style=”margin: 2px 0 0 5px;opacity:0.5″ class=”fa fa-th-large”></i> [file_size] <i style=”margin: 2px 0 0 5px;opacity:0.5″ class=”fa fa-download”></i> [download_count] downloads</span></h3>
[excerpt_80]
</div>
You can see how it looks on this page: http://www.theworldanvil.com/freedownload/
Thanks!
1. K.
2. Yes, I know that. But then I need to use an extra/additional layer of templating that I would need to further hack for how I wanted things to display. Anyway, doing the hack for this really wasn’t an issue, but I think you may be underestimating how people might want to use a function like this.
3. (Nothing you need to worry about) I completed a hack for this and am now testing/debugging. Because all my files are locked, I can assume the zip needs to be locked. So I replaced the download button with a modal popup/lock form, and then upon completion have it load the zip download URL.
4. Oh, let me explain further (cause I already coded this as well; and, trust me, I know this scenario I describe does not apply to most people!): my cart page, is on a locked index page, which lists my files. Initially, the cart HTML only refreshes when the page is loaded, but adding files didn’t refresh the cart HTML itself (not does removal, or emptying). So I added an additional jquery function for when addtocart is clicked, it refreshes the cart html (same thing for removal, or emptying). Then for removal, and emptying, I added additional javascript to change the ‘checked’ and ‘disabled’ buttons back to normal (active with original label + the plus symbol). So all the cart functions can be done/viewed from the same page without actually refreshing. 🙂
Hi Shaon ! OK, it,s clear now 🙂
The last and big problem, if you don,t resolve i will disable and delete the add-on becuse all of packges of my site downloaded by Android users.
3: Lazy download ACTIVE exemple url : http://portalhoy.com/descargar/whatsapp-2-12-429-apk/
With Lazy download ACTIVE It,s work fine on PC , user wait 20 sec and the download de whatsapp 2.12.429 APK perfect (26.79 MB) !!
But in smartphone (ANDROID) download the same file “com.whatsapp-2.12.429.apk” (238,17 KB) so the APK not work :
When DESACTIVE de Lazy download add-on the same packge download fine in PC and also in smartphones.
Screenshot1: ACTIVE Lazy download work fine in PC.
Screenshot2: Downloded with ACTIVE Lazy download in Android.
Screenshot3: File size is only 238,17 KB so APK not work.
Screenshot4: DESACTIVE de Lazy download wow it,s work!! downloded the com.whatsapp-2.12.429.apk (26.79 MB) !!
Screenshot5: Open de APK and it,s work !! becuse it,s the original size APK.
So Lazy download ACTIVE not work on smartphones, DESACTIVE de Lazy download and every think work. So tell me what can i do plz.
Thanks!!
In last few updates we made lots of changes in side the plugin code and dir structure, but we also added code for file path mapping for avoid any compatibility issue, may you please let me know which version you where using before and the url where you are seeing missing icon?
Sorry, it was because of password format, however I added urlencode
and how login worked. Add-ons list showing in update tab now.
in that first package, clone/edit the link template and add following code next to [download_link]
:
<a href="[page_url]?wpdmdl=[ID]&masterkey=[masterkey]" target=_blank>Print</a>
Hi, the email lock feature doesn’t seem to work.
The page URL is http://www.pontefractandcastleford.co.uk/2-for-1-at-xplore-soft-play-area-xscape/
When you enter the name and email address the form seems to do nothing, however the Subscribers list is populated. No email is received.
I will send site credentials in private message.
Hi
I was testing out the WPDM Premium Package, specifically, I came onto the site as a guest user (with guest purchases disabled), added an item to my cart, used the sign up form on the cart page, which then took me straight to the payment details. I used TestPay, was redirected to my purchases page, logged in using the new account, and there was nothing there. This means that a user can be left without any record of their purchase at all, as if they did not enter their email address in the Notify Email Address box, the user will get nothing.
I had a look through your files and realised that in wpdm-premium-packages/templates/checkout-method.php, under jQuery(‘#registerform’).validate(), instead of reloading the page once the user has created an account, it immediately brings up the payment options, meaning that the new purchase is not attributed to the account of the user.
I removed the following code:
jQuery.post('<?php echo home_url('/?wpdmpp_load_pms=1'); ?>', function (res) {
jQuery('#checkout-method').slideUp();
jQuery('#checkout-method').after(res);
});
and uncommented the line:
//window.location.reload();
and it fixed the issue by forcing the user to login before making a purchase.
I’m not sure what was supposed to happen here, but it is a considerable issue.
— You can change return url ( where customers will be redirected after checkout ) from payment gateway settings.
— No option to edit email template now, but it is in our to do list.
— To allow users to download file without registering you need to enable guest checkout and guest download form premium package settings, then create a page with short-code [wpdm-pp-guest-orders]
Don’t worry, email customizer is coming very soon 🙂 , additionally, if you have any other suggestions please let me know, we will make it the best of all for you.
in fact wpdm has nothing to do with that. To avoid this, you need to add uniq page content for those URL or make those noindex.
Sorry, correct code should be:
<a href="<?php echo home_url("?addtocart=".get_the_ID());?>" class="btn btn-primary">Buy Now @ <?php echo wpdmpp_currency_sign().wpdmpp_effective_price(get_the_ID()); ?></a>
“Its taking me to the same cart page for all the products
Can you please help me in fixing”
<— May you please explain it little more
Hi Shon
When i am inserting this php code
<a href="<?php echo home_url("?wpdm_add_to_cart=".get_the_ID());?>" class="btn btn-primary">Buy Now @ <?php echo wpdmpp_currency_sign().wpdmpp_effective_price(get_the_ID()); ?></a>
Its taking me to the same cart page for all the products
Can you please help me in fixing
Is there any other way using ‘str_replace’ or something so that i will get that adding effect also
Thanks
Anand RK
You need use
<a href="[addtocart_url]" class="btn btn-primary">Buy Now @ [currency][base_price]</a>
in link / page template for that.
And in php, that should be:
<a href="<?php echo home_url("?addtocart=".get_the_ID());?>" class="btn btn-primary">Buy Now @ <?php echo wpdmpp_currency_sign().wpdmpp_effective_price(get_the_ID()); ?></a>
To use file cart plugin, you simply need to use [file_list]
tag in page template, and equivalent php code is:
<?php
$package = \WPDM\Package::Get(get_the_ID());
echo $package['file_list'];
?>
Don’t worry, you are not troubling at all, we are more then happy to assist you anywhere you need around the plugin 🙂
HI Shaon,
Thanks for your efforts — you definitely got rid of the duplicate button. However, the look I wanted was what I had set up with my other template. I had modified another existing template, and ended up with two download links….and now, I can’t figure out what was wrong with it, to cause the duplicate. What I really need is a fix to the template I made, not a new template to modify (and perhaps ruin).
Can you please look at my template code here, and see what is wrong with it?
<div class="panel panel-default">
<div class="panel-body">
<div class="media">
<a class="pull-left" href="[page_url]">
[thumb_60x60]
</a>
<div class="media-body">
<h4 class="media-heading" style="padding-top: 0px;border:0px;margin: 0px;height: 20px;overflow: hidden">[page_link]</h4>
[excerpt_160]
</div>
</div>
</div>
<div class="panel-footer"><div class="pull-left" style="line-height: 30px;"><i style="margin: 2px 0 0 5px;" class="icon icon-download-alt"></i> </div> <div class="pull-right">[download_link]</div><div style="clear: both"></div></div>
</div>
Hi there, i’ve just setup WP Download Manager on my site and i’m looking to configure the following, I wonder if you could see anything wrong with this setup idea:
1. Local Box Sync’d Files/Folders > FTP Auto Uploaded Daily To Site Server
2. Setup a selection of packages in WPDM with the url’s set as the files on the server. (I plan on adding the bulk via a .csv upload with the urls set as the files field, will this work?)
Note: The reason for this was so that when files are changed in our Box folders as long as the file names are the same they will update and therefore we can keep version control in Box but we do still have to manually manage version control in WPDM, our files arent changed really frequently maybe once a quarter.
Question 1: Do you think this is going to be my best bet for this type of file management?
I tried the BOX plugin but it was a very long process using the Box explorer window to go and find all the files and set them as packages and things, this way although I have a local machine running 24/7 in the office it will handle the Box files sync’d locally with ftp uploads every 24hrs overnight.
Question 2: I’d like to try and achieve the following type of access request for my files. Can you advise if it’s possible?
Files are password protected > User Enters Email > Email is reviewed and approved or denied > User is sent an email either issuing the file password or not.
I could setup a form on the category/file template pages that has contact form 7 forms requesting the password for the packages but as I am going to have around 10 categories and maybe 2000 files this could take a long time to add them all manually to each package template. Also it will mean passwords being copied and pasted by my office staff who will be reviewing the emails.
I’m pretty sure that one way or another i’m close to achieving the setup i’m after but I thought it might be a good idea to run it past you guys first, any advice is appreciated and congrats on what so far seems to be a pretty awesome plugin!
Thanks,
Ben
Check if category url base from WPDM Basic settings match with your category url base in browser address. Or, Send login info in private reply. I will check this issue for your there.
1. When you add a file using URL, that file has to be available publicly, otherwise download won’t work.
2. Have to check this issue (Download doesn’t work for attached file), It might be an user restriction issue form package settings.
3. Send login info in private reply to check this issue.
Hi, I test three options to download a file but I can’t, I add a url to download a file that is in my hosting but not in the same folder of my website, and when a user try to download receive the error download limit exceded without download the file, I try attached the file and the same, and try in the browser tag an the same problem, I config just one download for user, and for test I set 2 download and I always can to download the file, so what can I do please?
This reply has been marked as private.
This reply has been marked as private.
It appears the Form Lock add on using Gravity Forms has some jQuery issues when used with the Archive Page add on.
I am seeing a JS error when the page loads:
Uncaught ReferenceError: gformInitSpinner is not defined
When you try click download inside the popup, three jQuery errors show:
Uncaught ReferenceError: jQuery is not defined
Uncaught ReferenceError: jQuery is not defined
Uncaught ReferenceError: jQuery is not defined
The form however works fine when used from the individual file page.
I can provide URL on request.
Thanks.
This issue was created by cache plugin. It was caching download url for guest users, but those urls are unique and that’s where the issue created. However after adding some rules for download urls it is working now.
It is happening because of different post title length, you may need to add some custom css, however, please give me your url if you want me to suggest required css change 🙂
Sorry, not clear, may you please give me some mockup image, a rough drawing, how you want to make it or url of any other similar system.
However, after creating a package, you can again add new file later with that package.