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.
You can follow the customization below to exclude specific IPs from stats.
Add do_action('wpdm_new_stat',$pid, $uid, $oid);
at the begging of newStat
function in /download-manager/libs/class.DownloadStats.php
file.
and then add the following code to your theme’s functions.php
Edit the $exception_list
array to add all IP that you want to exclude from stats,
function wpdm_new_stat($pid, $uid, $oid){ $ip = $_SERVER['REMOTE_ADDR']; $exception_list = array( '127.0.0.1', '127.0.0.2' ); if( in_array( $ip, $exception_list ) ) \WPDM\Session::set('downloaded_'.$pid, $ip); } add_action('wpdm_new_stat','wpdm_new_stat', 10, 3);
Hello,
im using the Directory Add-on with the Sidebar.
When im inside an category and change the sorting order it applies the sort order but shows me all downloads and not the file from the category i was in. The breadcrumbs still show the subcategory though.
How can i fix that?
Folks, I’m *really* after a bit of support here.
I have done an *awful* lot of investigation, code customisation and despite getting virtually no forum replies I have solved most of the issues myself and shared lot’s of information in the Forum about:
Customisation
Code Anomolies
IMHO this is all useful information for current users as well as for WPDM in considering future code patches & releases.
The only aspect of the site I’m still un-happy about is Billing Information.
It’s very frustrating that the Country > State pull-down code works perfectly in the Shopping Cart & the Premium Package Admin panel, but nowhere else in the site. This is especailly annoying for the end user, as this field can never be auto-populated.
You have already written the code, I have found the relevant code snippet and have inserted the code but it doesn’t work. I’d sort it myself but, unlike everything else I’ve sorted, I just can’t easily find where to hook it up to the required functions (I’m guessing js).
So I would REALLY appreciate some guidance here – it can’t be difficult.
And old post I know, but as per usual I can’t always find the exact detail of how to implement a solution in the WPDM Support forums, so anyway here is a clear explanation of my how I added a text search box to the Verse homepage, it may well work just as well for any other WPDM oriented theme.
A nice part of this customisation is it only edits /verse/homepage-top.php, which can happily run in a child theme. I just added the following code at around Line 77, keeping the same structural <div> elements already used on the page. Obviously you could also use the child theme style sheet to format if required.
————————————
<div class=”container”>
<div class=”row”>
<div class=”col-md-12″ style=”top:12px;”><p><?php echo do_shortcode(“[wpdm_simple_search]”); ?></p></div>
</div>
</div>
*the extra <p></p> isn’t really necessary, but it just seemed to render better for me!
————————————
Additional Notes:
Folder level searching in /download-manager for ‘Search Package’ hits /tpl & /tpl4/search-result.php
Folder level searching in /wpdm-archive-page for ‘Search Package’ hits /tpls/simple-search-form.php
Looks like the same code.
————————————
<div class=’w3eden’>
<form id=”srcp” style=”margin-bottom:20px”>
<div class=”input-group input-group-lg”>
<div class=”input-group-addon input-group-prepend” style=”width: 50px”><span class=”input-group-text” id=”spro”><i class=”fa fa-search”></i></span></div>
<input type=”text” class=”form-control input-lg” name=”src” value=”<?php echo wpdm_query_var(‘s’, ‘txt’); ?>” placeholder=”<?php _e(‘Search Package’,’wpdm-archive-page’); ?>” id=”src”>
</div>
</form>
<div style=’clear: both;’>
<div class=’wpdm-downloads row’ id=’wpdm-downloads-ss’></div>
</div>
</div>
————————————
I tried using this search form code (& function) and although it DOES give me a full width search field but doesn’t work as nicely because it throws the user to the results page.
Summary
Now I have a search that not only beautifully scrolls over the background with the rest of the homepage elements, but the search results are seamlessly loaded right back into the homepage, elegantly moving all of the lower elements of the homepage down below the search results. Nice! So it looks like it was meant to be there, very pleased with the result. However it would be *even* nicer if I could:
– have more positional control (eg. text-align: center doesn’t seem to work)
– make the input field wider (seems set at a fixed width around 20 characters)
– change the default text from ‘Search Package’ to ‘Search Images’
But I can’t find where this is set in the code, grreat to know if anyone else knows where or how to customise 🙂
FYI folder level searching in /wpdm-premium-packages or /wpdm-extended-shortcodes or /verse for ‘Search Package’ gets no hits.
When I update the the following
FROM: a:1:{i:0;s:136:”/nas/wp/www/sites/vbvdev/wp-content/uploads/TechnicalData/Electric Actuators/EOM Nema 4x/BVC EOM PB CONTROL CARD SETUP PROCEDURE.doc”;}
TO: a:1:{i:0;s:136:”/nas/wp/www/sites/vbvprod/wp-content/uploads/TechnicalData/Electric Actuators/EOM Nema 4x/BVC EOM PB CONTROL CARD SETUP PROCEDURE.doc”;}
in the database, It downloads a .txt file called “download-not-available.txt” that says “Sorry! Download is not available yet.”
This problem is in urgent need of a solution.
Hi,
Have you made any changes? All downloads seem to be working now.
By the way, when adding a new file from your directory this is path /nas/wp/www/sites/vbvprod/
path. But your files are being served from your /nas/wp/www/sites/vbvdevelop/
path, I guess it is your dev directory. If you remove files from this dir downloads will be inaccessible.
http://prntscr.com/op0d6y
Thanks.
SUMMARY OF OUTSTANDING ISSUE
1- So new .zip file downloads work – like 300MB just fine after WP Engine fixed the WPDM cache Apache issue. (WP Engine chat script above)
2- BUT these download .ZIP files error out for Windows users still. They can download but when extracting they get the same error: https://welscongregationalservices.net/wp-content/uploads/2019/07/image004.jpg
https://cad.welsrc.net/download-cad/my-son-my-savior/
https://cad.welsrc.net/download-cad/come-follow-me-bible-study/
However, Mac users get the files but they are deep in numerous folders /nas/content/live/wrc/wp-content/uploads/download-manager-files/AND THEN ALL THE FILES
3- Individual file passwords do not work. https://foundation.welsrc.net/download-foundation/planned-giving-today-2016/
– It doesn’t show the lock icon for each download.
– It allows public to download the file even though the password is set.
– I tried this solution: https://www.wpdownloadmanager.com/support/topic/password-lock-not-working-with-some-browsers/ BUT it didn’t work.