How can I auto-update the file I upload?

in Download Manager Free

Viewing 25 posts - 1 through 25 (of 37 total)
Oct 13, 2021 at 8:53 am
#163187
Participant
Adeyeye Gabriel
OP

I currently use a system where my files are stored in the Hosting Server and everyday new files are sent to that directory to overwrite the former files.

Can this plugin work that way too?

So I wont need to edit the product from the website dashboard and the download URL remains the same?

Thanks.

Oct 13, 2021 at 9:24 am
#163189
Spectator
Tanvir

Hello @science4me,
Hope you are well.
You can select this option in order to overwrite an existing file.
Also, you can do it from Dashboard>Downloads>Asset Manager like this.
Thanks.

Oct 13, 2021 at 9:31 am
#163190
Participant
Adeyeye Gabriel
OP

Okay Tanvir,

But can I create more than 1 Directory for my files?

Because my files are in 3 directories right now and I will want same thing on your system, which will be updated by API from the Web hosting end and not from WordPress dashboard.

Also, One of the directory will be showing more than one file in its directory i.e I will keep uploading more files to the Directory and it will keep appearing (i.e showing the new files and old files, so users can download anyone they want) on the frontend for my users to download without altering my shortcode. Note that the uploads will be to the directory and not from WordPress Dashboard of your plugin.

Are this all possible?

Thank You.

Am asking all this question before I buy the premium version.

Oct 13, 2021 at 9:52 am
#163191
Spectator
Tanvir

Hello,

you will need wpdm pro discounted special pack for this:

WordPress Download Manager Special Pack

Let me explain more details:

#1. You can create multiple directories in wpdm upload directory.
#2. You can upload files to that folder using FTP or any other way
#3. Any change in the folder also will be updated in the package automatically
#4. This means when you add a file to that folder, the front-end user who has access to the package will get the file automatically, you don’t need to edit/update the package.
#5. The special pack has an add-on ( Advanced Access Control ) to help you to assign a package to specific users on need.

Also we have a free addon for REST API. You can check that too.

Download Manager REST API

Thanks

Nov 16, 2021 at 10:39 pm
#164658
Participant
Adeyeye Gabriel
OP

Thank you, I got the special now.

But I am having a problem.

How can I show the update date of a file (i.e when last the file was updated)

I need the shortcode for it

I used the Simple download link text shortcode.

https://www.wpdownloadmanager.com/doc/short-codes/wpdm_direct_link-embed-direct-download-link-as-a-simple-text-link/

Thanks

Nov 17, 2021 at 4:07 am
#164674
Spectator
Tanvir

Hello @science4me,
Welcome to the pro version of WPDM.
You have to use the template tag [update_date] in page template or link template to show the update date.
You will find all template tags below:
https://www.wpdownloadmanager.com/doc/templates/template-tags/
Thanks

Nov 17, 2021 at 9:29 am
#164700
Participant
Adeyeye Gabriel
OP

Hello Tanvir,

Thanks for the feedback.

The shortcode didn’t work as I want.

What I want is instead showing a zip of the files.like this https://ftsincome.co.uk/testin-dwn/

I want it to list just One file from the directory with the file last updated date like this

And without listing all the files in the directory on another page like this https://ftsincome.co.uk/download/test/

I used this shortcode on this page https://www.wpdownloadmanager.com/doc/short-codes/wpdm_direct_link-embed-direct-download-link-as-a-simple-text-link/ , but beside the download link I want to show the updated date i.e the day the file is uploaded. and not show all the files in the directory but the last uploaded file.

Thanks.

Nov 17, 2021 at 5:55 pm
#164734
Spectator
Tanvir

Hello,
I am sorry to hear about the issue. Those are actually not shortcodes.
Those tags are template tags.
You need to add those to page template or link template to affect.

In example:
it is an example of link template https://ftsincome.co.uk/testin-dwn/ . You need to add the template tag to link template to show update date there. By default it is default link template if any link template is not selected.

It is an example of page template https://ftsincome.co.uk/download/test/ You need to add that tag in page template to show the update date.

Please follow this to get more details

Templates Overview

Let me know please if it solves the issue.
Thanks

Nov 19, 2021 at 10:40 pm
#164806
Participant
Adeyeye Gabriel
OP

Hello,

Thanks but I want the date for each file when they are uploaded in a directory.

A sample is attached below
https://drive.google.com/file/d/1124-G3YqZ4YWjHF0APIthZ9iAaMEAlJU/view?usp=sharing

Those files are coming from a directory.

So the file name and the date the files are uploaded.

I have been able to edit the link template to this
https://drive.google.com/file/d/1yzcGMoYHoeXEbw4_plJqXai_REJKx13G/view?usp=sharing

But the files are showing in grid, while I will want them in list but also show the date for each file update, just like how the sizes shows.

This is the code used below

<div class=”link-template-default card mb-2″>
<div class=”card-body”>
<div class=”media”>
<div class=”mr-3 img-48″>[icon]</div>
<div class=”media-body”>
<h3 class=”package-title”>[page_link]</h3>
<div class=”text-muted text-small”><i class=”fas fa-copy”></i> [file_count] [txt=file(s)] <i class=”fas fa-hdd ml-3″></i> [file_size]</div>
</div>
<div class=”ml-3″>

</div>

</div><br>
[file_list_extended]
</div>
</div>

Nov 22, 2021 at 2:51 pm
#164860
Spectator
Tanvir

Hello,
Hope you are well.
Could you please share the related pages URL with us?
If possible please also share the admin access of your website in a private reply.
It helps us to quickly figure out the issue and resolve it immediately.

Thank you

Nov 22, 2021 at 6:48 pm
#164870
Participant
Adeyeye Gabriel
OP

Hello Tanvir,

Please login with this link.

And check my explanation above and the picture sent above.

Thanks.

Nov 23, 2021 at 1:12 pm
#164902
Spectator
Tanvir

Hello,
I didn’t find any login link?
Please provide it in a private reply.
Could you please recheck the last message you sent?

Nov 23, 2021 at 3:29 pm
#164915
Participant
Adeyeye Gabriel
OP
This reply has been marked as private.
Nov 24, 2021 at 5:30 am
#164939
Spectator
Tanvir

Hello,
I have created a custom link template for you with the date.
Please use that link template link_template_with_date for the page.
I hope it will solve the issue.
Thanks

Nov 24, 2021 at 11:17 am
#164952
Participant
Adeyeye Gabriel
OP
This reply has been marked as private.
Nov 24, 2021 at 1:08 pm
#164960
Spectator
Tanvir

Hello,

I am sorry unfortunately you cannot arrange attached files list with link templates this inside any package.
You can create a download package with one file or many files that will be shown there. you can only set search option for many attached files in a download package. All template tags and shortcodes are based on download package.

Let me give you an example:
Here is an demo what are you looking for
http://demo.wpdownloadmanager.com/wpdmpro/package-list-in-responsive-table/
Here you see all the packages not single file. Every packages containing one attached file or multiple files.

I found that you have used [file_list] and [file_list_extended] template tags to show filelist.
Only these two template tags are available to show the filelist. No easy way to change the design for the filelist. To change that we need to change in php file in plugin.

However let me know your thoughts about the issue.

Thanks

Nov 24, 2021 at 1:10 pm
#164961
Participant
Adeyeye Gabriel
OP
This reply has been marked as private.
Nov 25, 2021 at 5:29 am
#164979
Spectator
Tanvir

Hello,

Got the issue.

If you would use

Advanced Custom Fields

You would see a single file update date option in package like this (only if you upload file manually. Not for directory like you selected on your website)
Screenshot-2

Then it would show updated on … text on file name like this (only with [file_list] tag not for [file_list_extended])
Screenshot-1

But as I see that you selected directory from server, Actually there is no update date for any single file. That’s the reason actually it is not possible to show update date for the files you added. Sorry for that.

I hope you have understood.

Thanks

Jan 2, 2022 at 12:47 pm
#166215
Participant
Adeyeye Gabriel
OP

Hello Tanvir,

Thanks for your help but I need your help still.

How can I use a button template and add my custom download link text.

Also for the initial template I created, how can I list the files that shows to just the newest files and limit it to just 14 files.

Right now it is showing all the files in the file directory, but I need it limited to 14.

Thank You

Jan 2, 2022 at 2:53 pm
#166217
Spectator
Tanvir

Hello @science4me,
Hope you are well.
To add button template please follow and use this:

WPDM Button Templates

Also I am sorry that there is no settings to set downloads to 14 files. You can delete and upload new files.
Thanks

Jan 2, 2022 at 5:49 pm
#166227
Participant
Adeyeye Gabriel
OP

The current client file manager plugin does this for them and it is actually a free plugin.

And they are trying to move to this plugin

Without been able to limit the number of files will be a problem, and listing them from the latest to the oldest.

Please check further for me please.

Also regarding the Button, I need to add a Text for the Button i.e different text for a different buttons I will be adding

Jan 3, 2022 at 7:28 am
#166236
Spectator
Tanvir

Hello,
It needs some customization in the plugin.
we may add this in a future update and in the meantime you can post it in the feature request section.
However, if you think you need it urgently then you can contact our customization team by leaving a mail customize@wpdownloadmanager.com
or
You may contact to the customization team here as well.

For changing the text in button, Please provide me related package/page/file url with details and temporary admin access in a private reply. I will solve the issue.

Thanks

Jan 3, 2022 at 6:10 pm
#166275
Participant
Adeyeye Gabriel
OP

Hello Tanvir,

I have mailed the customization team now.

I want to know how to change the Button text myself so I can show my customer, they need to be able to change the text themselves.

Jan 4, 2022 at 7:21 am
#166285
Spectator
Tanvir

Hello,
Could you please share the related page/file/package URL with us with details to check futher?

Jan 7, 2022 at 5:27 pm
#166416
Participant
Adeyeye Gabriel
OP

Hello Tanvir,

I have shared you the page URL and it is the same package.

https://ftsincome.co.uk/testin-dwn/

Please check

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

The topic "How can I auto-update the file I upload?" is closed to new replies.