After updating of wordpress (V. 4.2.2) the code [wpdm_tree] is not working… simply show itself (as you can see in http://cell-tech.it/scarica/) the only shortcode working is [wpdm_all_packages] I don’t know why… I’ve tried to remove all plugins but nothing changed.
You have to use add-on http://www.wpdownloadmanager.com/download/wpdm-extended-short-codes for [wpdm_tree] short-code. Thanks
Hi Shaon
I’m having some problems but not sure whether it’s bulk upload, shortcodes or something else.
Prior to updating to the latest version everything worked fine but now most downloads are no longer working – the correct file is being located on the server but returning a 404 error page.
In addition, the wpdm_tree code is no longer working and just keeps showing the directory listing without showing the download packages. Ihave also been using the wpdm_extended shortcodes plugin for quite some time now so it’s not that causing the problem.
The files are served from the S2Member plugin and not from download manager but the browse path is set to the S2 member_files directory in the download manager settings and has previously worked fine until the recent update.
I have tried clearing the download manager cache but this has had no effect can you help please?
Cheers
Caroline
In addition to my post above – the [wpdm_tree category=””] is not working either and only shows all categories including those outwith the specified category but never gets to the file download level.
As for the downloads themselves I’ve been using the format Download in the LINK_LABEL field
and in the FILES field I’m using the format – /home/jefford2/public_html/btbclient/wp-content/plugins/s2member-files/acquiring commercial property.pdf
All 3,000+ files were uploaded using the bulk upload (which also has problems displaying user added icons in the download manager interface although these do show up on the site).
Having updated all the documents recently I just overwrote the files already stored in the S2member_files folder. All are the correct filenames and extensions etc. so no different from original files and since I have previously overwritten files in this way without problems I don’t think this is an issue.
Cheers
Caroline
OH BOY – TRY AGAIN.
So the link starts with the normal a href=”http: and ends with the closing /a
I’ve left off the arrow brackets to avoid the pesky auto link in these submissions.
I hope this all makes more sense now. ๐
Cheers
Caroline
I’ve pinpointed the problem with the file downolads and this is that the a href in the link label is no longer working. I tested this by removing the link label in one download package and it downloaded fine from the DM manager. But the fiels need to be served from the S2member plugin so I can’t use the download manager for this. And it would take days to change every package to remove the link even if I wanted to go down that route.
So apart from the wpdm_tree shortcode not working, the link label is also not working for an a href link.
Cheers
Caroline
I am having a similar problem as above, but I did not see any solutions (I am a new pro user). This is the page that a couple of weeks ago would open files under each section. http://ohiopha.org/public-health-info/document-library/
Below is all the shortcodes, but only the sections has subcatagories – BUT it did work. Could moving from the free to pro version have caused this?
[su_tabs][su_tab title=”OPHA Governance”]
[wpdm_tree category=”governance” download_link=1 items_per_page=10]
[/su_tab]
[su_tab title=”Sections”]
[wpdm_tree category=”sections” download_link=1 items_per_page=20][/su_tab]
[su_tab title=”Policy & Position Statements”]
[wpdm_tree category=”policy” download_link=1 items_per_page=10][/su_tab]
[su_tab title=”Other”]
[wpdm_tree category=”other” download_link=1 items_per_page=10][/su_tab][/su_tabs]
Really would appreciate some response.
kasm1@att.net
Please give me temporary wp-admin login info in a private reply to check your issue.
After updating to the latest Versions of WP and WPDM, I’ve the same problem.
A perfekt working shortcode [wpdm_tree] does now shows posts… but not the file tree…
WP: 4.9.7.
WPDM File Cart: 1.0
WPDM – Extended Short-codes: 2.7.2
Any help on this ?
Kindest regards
Dear Support. Could you please answer ? It’s a live site and the WPDM is one of the main features. The problem now exists several days and we have hundreds of users every day on the site.
Thx in advance
Anyone find a solution to this? I just noticed that ours has stopped displaying as well. I just see the shortcode.
Anyone having the issue, please give me your URL to check.
This is a javascript error, because “jqueryFileTree.js” is not loaded at the frontend.
(It is, however on “admin_enqueue_scripts”, to be precise)
For now I added:
if(!wp_script_is( ‘file-tree-js’)){
wp_enqueue_script(‘file-tree-js’, get_stylesheet_directory_uri().”/js/jqueryFileTree.js”,
array(‘dbwp_jquery’),
null, true);
}
to an extra functions.php enqueue function (this shouldn’t be a security issue, as it just serves the jquery-file-tree functionality).
Gave it a quite late priority on add_action (200) so WPDM should have enqueued if it does, so I hope this doesn’t break, when wpdm is updated.
Daniel, are you adding this to your WordPress functions.php file? I would like to try this out as we are still encountering the same issue.
Could you provide quick directions to get this working again?
It seems the answer I posted yesterday got lost…
So in short:
Copy jqueryFileTree.js from” /wp-content/plugins/download-manager/js” to a folder “js” in your theme.
Add the following code to the themes function.php
add_action(‘wp_enqueue_scripts’, ‘dbwp_fix_wpdm_enqueue’, 200);
function dbwp_fix_wpdm_enqueue(){
if(!wp_script_is( ‘file-tree-js’)){
wp_enqueue_script(
‘file-tree-js’, get_stylesheet_directory_uri().”/js/jqueryFileTree.js”,
null,
null,
true
);
}
}
This fixed the error I had and should work if you have the same error (something like “.filetree is not a function in the browser console).
However @Dmkjr this doesn’t seem to be your problem, as the shortcode isn’t even executed.
I can naturally just take a guess, but from similar problems:
@dmkjr, Please give me temporary wp-admin login info in a private reply ( create a separate post https://www.wpdownloadmanager.com/support/forum/download-manager-free/ )
We recently updated to php 7.2 but this update broke our display for anything related to Downloads Manager. Below is a link to the page where one of the display issues is occurring. Please advise.
Please let us know more about the issue you are facing how your display should look. Better create a new topic for the issue.
Thank you
The topic ‘[wpdm_tree] not working’ is closed to new replies.