[wpdm_tree] not working

  • This topic has 24 replies, 10 voices, and was last updated 5 years ago by Kazi.
Viewing 25 posts - 1 through 25 (of 25 total)
#29274

draxamita
Member

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.

#29291

Tauhid
Member

You have to use add-on http://www.wpdownloadmanager.com/download/wpdm-extended-short-codes for [wpdm_tree] short-code. Thanks

#29853

Jefford
Member

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

#29858

Jefford
Member

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

#29859

Jefford
Member

Sorry my download link format changed to an actual link when I updated the last post. The format should read “Download

Cheers
Caroline

#29860

Jefford
Member

OK pesky automatic link I’ll try that one again – the link obviously starts with ““:

//btbclient.thebusinesstoolbox.co.uk/?s2member_file_download=ACCIDENT Log.doc” target=”_blank”>Download

#29861

Jefford
Member

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

#29865

Jefford
Member

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

#29961

Tauhid
Member

@Jefford, please give us the URL where you are trying [wpdm_tree] short-code. We have to check it.

#51236

Jamie Weaver
Member

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

#51360

Shahjada
Keymaster

Please give me temporary wp-admin login info in a private reply to check your issue.

#80812

misterspok
Participant

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

#81020

misterspok
Participant

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

#86360

dmkjr
Member

Anyone find a solution to this? I just noticed that ours has stopped displaying as well. I just see the shortcode.

#86499

Shahjada
Keymaster

Anyone having the issue, please give me your URL to check.

#86500

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.

#86501

dmkjr
Member

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.

#86503

dmkjr
Member

Could you provide quick directions to get this working again?

#86504

dmkjr
Member

@shahjada Here is a link where it’s not displaying properly. The tree shortcodes do not function at all.

[wpdm_tree]

https://cityofhanahan.com/government/city-council/

#86522

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:

  • Is the WPDM plugin activated? (yeah, sometimes its just something like that…)
  • Are you using a caching plugin? Try deleting/purging the cache
#86535

Shahjada
Keymaster

@dmkjr, please install and activate extended shortcode add-on:

WPDM Extended Short-codes


@dan1976
, extended shortcode already has a jqueryFileTree.js, I need to check your site to find the issue.

#86537

dmkjr
Member

@shahjada I have it enabled. Not functioning.

#86584

Shahjada
Keymaster

@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/ )

#94984

Marcie
Member

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.

CLEANWALL®

#95169

Kazi
Moderator

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

Viewing 25 posts - 1 through 25 (of 25 total)

The topic ‘[wpdm_tree] not working’ is closed to new replies.