We tried to install pro version over free version. First try failed.
Deleted free version.
Installed Pro paid-for version. Success message.
Entered new license key.
No visible change in functionality.
Packages were preserved from free version.
No History or Stats visible even after testing new downloads.
No other pro features are visible.
How do we make it work?
(Site has fully updated PHP, Genesis Platform; Business Pro Child Theme)
PS – is there any way to search this forum?????
I thought you were showing the downloads of specific tags. This shortcode will list all post tags. There is no way to exclude a tag because default tags are used by both normal posts and packages. You have to use a custom taxonomy if you a totally different tag system for packages.
Actually, it seems to be not directly related to Downloads > Premium Package > Taxes, that was just highlighting the connection with the countries I had set up.
It’s atually being driven from the raw WPDM code that creates the pull-down lists for countries & states. If there’s no state = potential error.
Spoke too soon. Had another issue with a Guest Order Invoice not loading and returning me the:
Warning!. Critical billing info is missing. Please update your billing info to generate invoice properly. [UPDATE BILLING INFO] button.
However this time I double-checked that Settings > Premium Packages > Ask for billing address was checked : and it was.
OK, turns out it is ***another*** problem with the Country/State linking. On another matter I’ve asked for Technical Support for Country/State linking over 3 weeks ago, so I’m not holding my breath for a WPDM solution anytime soon. Anyway what I think is happening here is that if a buyer chooses a Country that does NOT HAVE a STATE attached, if they do not put anything in that field the Cart code error checking doesn’t catch this and it writes into the database as an empty string:
a:11:{s:10:”first_name”;s:5:”guest”;s:9:”last_name”;s:4:”user”;s:7:”company”;s:0:””;s:7:”country”;s:2:”AI”;s:5:”state”;s:1:”1″;s:9:”address_1″;s:5:”weqwe”;s:9:”address_2″;s:3:”qwe”;s:4:”city”;s:3:”dwd”;s:8:”postcode”;s:4:”1224″;s:5:”phone”;s:0:””;s:11:”order_email”;s:26:”12345@1234567890123.com.au”;}
I tested again with the exact same Billing Details EXCEPT typing ‘somewhere’ the State field and voila: Invoice appears.
a:11:{s:10:”first_name”;s:5:”guest”;s:9:”last_name”;s:4:”user”;s:7:”company”;s:0:””;s:7:”country”;s:2:”AI”;s:5:”state”;s:9:”somewhere”;s:9:”address_1″;s:5:”weqwe”;s:9:”address_2″;s:3:”qwe”;s:4:”city”;s:3:”dwd”;s:8:”postcode”;s:4:”1224″;s:5:”phone”;s:0:””;s:11:”order_email”;s:26:”12345@1234567890123.com.au”;}
So I’m pretty confident it is the empty string causing the invoice error.
I tried manually editing the broken data but simply adding text into the empty “” space it didn’t work until I twigged that the S:# has to match the character count of the next “string”. No idea why they do this, as there are plenty of ways to count string lengths in PHP. but at least you can fix the problem by editing the record directy in the database.
More testing has shown that everything works fine if you choose a Country with States, because even if the User does nothing they always have a default value that gets written.
So that the invoicing error is linked with any Country THAT DOES NOT have any STATES attached to it in Downloads > Premium Package > Taxes.
I tried adding a blank or a text string into the Taxes field, that by default just shows [/ ], but it doesn’t help – so if the user doen’t enter something into the Cart then the code won’t catch it and although the transaction will process you cannot load the Invoice.
What does that all mean?
It means that any purchasers from those countries – guest or logged in – will potentially have problems loading an invoice. To get around this I will simply turn OFF those countries – so they can’t be selected – so I won’t have to deal with the error.
But if you are from one of those Countries, please feel free to try and get WPDM to at least respond to the error 🙂
It is on the following page. However, I have deleted all the other tags from my site so that they don’t mix in with wpdm tags for now.
Which shortcode are you using to display downloads from a tag? There must be a way to show only downloads just like you want. WPDM tags usually exclude normal posts from the query result.
Please install the Premium Package ( https://www.wpdownloadmanager.com/download/premium-package-wordpress-digital-store-solution/ ) to customize the currency option.
If you have already installed it then go to Downloads > Settings > Premium Package > Payment > Currency Configuration to change the currency.
Hi,
Downloads are working fine for me on that page:
https://www.evernote.com/l/AV0gq4GknE5LyYPigQNZkDTeHCQC8eLiuQEB/image.png
I really appreciate your thought. If you like to contribute, please upgrade to pro version. Also, pro version has lots of more awesome features.
BTW, you also don’t need tablepress, wpdm has a similar option to show packages in a tabular list:
https://demo.wpdownloadmanager.com/wpdmpro/package-list-in-responsive-table/
Shahriar,
I’ve been thinking very hard about this. I truly appreciate your response above. However, the tags taxonomy is very important to my site. It is used to show Members many items (not just downloads) that are compatible with their instruments and it is extremely complex to set up.
What I really need is to be able to identify Download Packages that are tagged with the normal tags. So that when I go to Downloads category or I list Downloads tags etc using your shortcodes, it only lists Downloads.
What I mean is, when I use your shortcodes it should only list Download Packages. So if I use your shortcode for tags, it should show downloads with those tags. if I use your shortcode for categories, it should show downloads with those categories. It is the association of a normal wordpress tag plus a Download Package that is the important association.
I hope you understand what I mean. If I create a new ‘download tags’ custom taxonomy facility then I will have hundreds of duplicated tags in my site and the members will get extremely confused.
I hope you can help with this.
Thanks,
Mike
Hi,
If you are changing the domain, unlock the key from the old domain. You can do that from your WPDM dashboard or just send me the order id. I will unlock the key.
If you are getting the error without moving the license to another domain, Please install the latest version to fix the issue. Follow these steps to update the plugin,
1 ) Deactivate and delete the old version. You won’t lose any data.
2) Download latest version from here https://www.wpdownloadmanager.com/user-dashboard/?udb_page=purchases
3 ) Install the latest version and activate the license key.
If you were facing trouble with auto-update from plugins page, logout and then login again from your Downloads > Settings > Updates tab. That should fix the issue.
Thanks.
You can control the details page view using the page template. Please check all available page templates from the Downloads > Templates page.
You can also create your own custom template using the template editor. Here is a blog post about that https://www.wpdownloadmanager.com/building-a-wordpress-download-manager-link-template-from-scratch/
Thank you Shahjada!
For the second part of my question – would it be at all possible to set the downloads dir above the site root? I did see that download-manager-files is .htaccess protected, but that would be totally awesome.
Thank you very much for your help. Yes, I noticed a small problem now with the page: https://www.dukemaps.net/?page_id=38
It appears those files can’t be downloaded now. Perhaps this has to do with the next update. I really appreciate your help and when this gets fixed so that it is working properly I would like to make a donation or contribution to your software. Please let me know the best way I can do this.
I think what I am struggling with is getting it to work properly on a POST page then also properly in a Tablepress Row. It appears there are some problems with the download links within tablepress plugin. This is why I had to Disable certain functions of the Download Manager Plugin. Particularly Bootstrap CSS needs to be disabled to see the download button within a Tablepress cell as shown in the Link mentioned above.
*** UPDATE ***
I have since gone back into my WordPress to disable Bootstrap CSS so that my downloads will be available in a Tablepress row. I noticed this was unchecked due to your changes. But it prevents people from downloading files if left unchecked.
Thanks,
Paul
I received another phone call today from someone who was unable to do a “Download All” for one of the files under Interactive Faith Bible studies. So I decided to experiment. It appears that the “download all” function fails after the package and documents reach a certain age. For example on https://cad.welsrc.net/downloads-cad/interactive-faith/, the first package created in August 2018 will work with the download all. Any others after that will not.
At this link, https://worship.welsrc.net/downloads-worship/worship-the-lord/, once again, the first will download, but the others will not.
Here’s where it gets interesting – the fourth link down “Practical Ideas for Lutheran Worship.” It was created in 2015, and when you do a download all, there are no documents in the zip file except the one that was updated this past July. Anything before that is treated like it no longer exists in the “Download All.” But there are 13 working files when you go into the package.
I find it hard to believe this is a problem of corrupt files and needing to recreate the packages. If I had a corrupt file, it would seem that I wouldn’t be able to open it individually either. It seems more like a matter of files aging out of the package download option.
i am using wpdm pro. is it possible to allow individual (dselective) downloads of files in a package of files. I can easily download the package in its entirety, but want each of the files to be downloadable. Hope i am making myself clear? btw i have set option to allow single downloads.
Go to Downloads > Settings > Basic > Access Settings > When user is not allowed to download: option and set “Hide Everything” as active value. Now users won’t be able to see other’s files.
About the login redirect. It is also possible using custom code. Set the login page URL in Downloads > Settings > Frontend and add the following code to your theme’s functions.php file. Replace the place_your_url_here
with the actual redirect destination URL. Now users will be redirected to this URL after login.
add_action( 'template_redirect', 'wpdm_login_redirect' ); function wpdm_login_redirect(){ if( is_user_logged_in() && get_the_ID() == get_option('__wpdm_login_url') ): wp_redirect( "place_your_url_here" ); exit(); endif; }
Gotcha.
All of our downloads are PDF or JPG/PNG files. Is it possible to link to the file and it not “download”?
Example: Use a HTML img tag with the url to the JPG/PNG file?
You may disregard the last post from me regarding the class.Package.php override. I was able to keep class.Package.php as provided by the most recent version update and make all necessary changes to the wpdm-all-downloads.php file in my custom overrides folder. Thank you.
You can add redirect URL in registration form shortcode. User will be redirected to that page after registration. You can also add autologin="true"
with the shortcode. It will automatically log the user.
[wpdm_reg_form redirect="http://www.cbsconsulting.com.au/dashboard/" autologin="true"]
You can see the registered user in WordPress users page. Downloads > Subscribers list the info collected from email lock, not your users.
Thanks
I have also had the same type of Media Library uploader error, with uploads hanging once Seller A. had created around 40 packages.
Although they can still upload the base file to be downloaded (these use a different process and are stored into their own uploads folder) trying to add another small ‘preview’ image – which goes into the Media Library, just hangs.
Although Seller A. does have 40-odd images in the Media Library, they are all pretty small (<120kB each)…..
DETAILED ERROR EXPLANATION (tested several times, consistent error)
Create/edit a Package, everything works fine EXCEPT for uploading any *new* files into the WPDM Media Library. Adding *existing* images from the Media Library is fine.
DEBUG CHECK ONE.
I can upload the same file directly via WP back-end Media Library uploader (note different code to WPDM Media Library uploader!).
So it’s unlikley to be an issue with the file itself.
DEBUG CHECK TWO.
Log into the site as Seller B. and it all works perfectly fine. The only difference betwen Seller A. and Seller B. is the number of ‘packages’, hence the number (or storage total) Media Library files they have allocated to their User ID.
So it’s unlikely to be a process coding “error’, rather it seems more likely a limitation being placed on the actual user ID.
——————–
Whe you access the WPDM Media File uploader it gives you a screen with the following: [Button] and text.
…or
[Select Files]
Maximum Upload File Size: 500MB
Unfortunately I haven’t been able to find where this 500MB value is set – it’s not through:
I can’t see this being a server setting anyway, as the server can’t know how much data the user ID has accumulated – the only way you could get this total is by a database query. So it could be set in WP, WPDM, another WPDM plugin or even the Theme, unfortuntely searching through files for ‘500’ gets an awful lot of hits…….
——————–
WORKAROUND
For WPDM installations I leave WP using the default WP Media Settings of: use ‘month-and-year’ based folders, seems a fortunate coincidence I did (as I don’t usually).
When you open the WPDM Media Library uploader it does have a filter, but this ‘defaults’ to displaying [All Dates], so basically it shows you *all* media files uploaded by *all* users. Huh? why there isn’t a ’40-per-page’ option OR a user filter (a realtively easy implementation) is a mystery to me.
Anyway, if I change the filter to an empty ‘older’ folder eg. [June 2019] it reports back:
No items found.
Drop files anywhere to upload
or….
And guess what? Uploading from here is fine. However…….
What is curious is that the file does not upload into the [June 2019] folder, instead it uploads into the ‘current’ folder – in this case is [Aug 2019].
ANALYSIS
No idea why it behaves like this – it was just dumb luck that I found this.
I’m guessing it is a coding issue with the WPDM Media File uploader, however as most of you already realise there really isn’t any official support for this product – so don’t hold your breath waiting for a reply or code fix. Even if you have paid for Pro licenses (like me) they almost *never* repond to any Forum support questions.
When they do there is no rhyme or reason, it almost seems like a random selection. So it seems more like scraps to keep the masses from rioting? lol.
BTW if you *really* want a response, my suggestion is to pretend you are a new buyer testing out their ‘free’ version before you buy – this way you will definitely get a response so you can push the questions as far as you think appropriate. They gave me some really good assistance ‘pre-purchase’, but that support has simply vanished now I’ve paid for it.
It’s a bit of a shame you have to resort to this, because it is a really-nice, great-value little product.
But IMHO with the support they ‘offer’, you need to be able to code PHP yourself to get it to work properly, especially if you want to use it for a commercial application where things might need to be fixed quickly. Most core edits won’t run in a child theme so that should also tell you quite a lot of how you need to manage these installations.
🙂
Hi,
To keep your customization, please copy create a dir named download-manager
inside your active theme dir. Then copy the template file wpdm-all-downloads.php
there.