Lana Codes
Forum Replies Created
-
Forum: Plugins
In reply to: [Lana Downloads Manager] Unable to download file on WordPress siteThere are two separate links:
This is for the post type (for the title, post content and thumbnail, as if it were a post):
https://intranetssl.net/lana-download/securent-intranetssl-intermediate-certificate/
So this is a subpage.This is for download (for the file itself):
https://intranetssl.net/download/securent-intranetssl-intermediate-certificate/
this redirects the file to downloadYou can manage these slugs in Downloads > Settings.
To download the file, always use “Download Permalink”, which is what you will find on the edit page.
Or in the Downloads list, the URL field is also the download permalink.Forum: Plugins
In reply to: [Lana Downloads Manager] Download newest version of fileYou may also need a PHP file for a router with htaccess, but I think a freelancer programmer can easily solve it.
Because htaccess rather static, and you may need a dynamic redirect based on the description.
Forum: Plugins
In reply to: [Lana Downloads Manager] Download newest version of fileThis may not be possible in the WordPress plugin. This is because “how would the plugin know which version is the latest”.
The plugin has no connection to your hosting folder, it cannot parse the contents of the folder as it cannot see it. The plugin only sees the URL.There is one exception if your webhosting has folder listing enabled. In this case, when you enter the URL of the folder, it lists the files in it. But even in this case, a separate add-on and development would be needed for the plugin to parse the folder first, then download the file.
What you think is a solution or option can be specified in your webhosting setting.
So you can do a redirect to htaccess on your own webhosting so that if someone calls url/file.zip, they will redirect it to url/file-v2.zip.
But you need to set this where the files are stored.I hope I could help, if you have any further questions, feel free to contact me.
Yeah, I’m starting to understand your idea. I think the easiest way is to copy the add_shortcode(‘lana_download’) function and transform it according to your own idea. And you do an add_shortcode(‘custom_download’) and you have a [custom_download url=””] shortcode.
You need programming knowledge, but a freelancer can easily do it for you.Because what you write is not included in my plugin.
postimg: “404 Not found”
I am not sure that I know what your idea, but I think if you want a custom method, it’s much easier to write your own shortcode.
So the [lana_download] shortcode works with the Lana Download post type, based on id.But writing your own shortcode is not complicated, a freelancer can easily develop it for you. It can work with a unique URL.
I think a [link_button url=”https://lana.codes/file1″%5D shortcode can be found in any shortcode plugin if you don’t have a unique request.File protection is included in the plugin, but there is no user authorization system in Lana Downloads Manager.
Managing and editing user roles is very complicated and complex, it would be a standalone plugin, so it would be a huge plugin on its own. But there are very professional plugins for this.
However, Lana Downloads Manager includes filters, so in theory it is possible to connect to other plugins. But it would be very complicated, so it requires significant programming knowledge.
Based on your description, you probably even need to make a custom shortcode.Forum: Plugins
In reply to: [Lana Downloads Manager] Require email before downloadCan you send this article to me? I think this is possible by working with another plugin, but so unfortunately I have no idea which one it can be.
Lana Downloads Manager plugin provides only one download link to the file, nothing else. There is no option for “required email” or “required login”.
So meta fields for taxonomy.
I think the easiest way to do this is to use the ACF plugin.
I’m not sure what you want to ask. Or what you want to do.
To the “Download” post type (this is a custom post type), we can add “custom-fields” support.
A php function should be added to this operation.Then there would be a custom fields setting, like “Post” defuault post type. You can turn this on when editing on the “Screen Options” tab.
Would you need that?
Forum: Plugins
In reply to: [Lana Downloads Manager] Get all sub-categories and download post idAwesome. If you need anything else, let me know.
Forum: Plugins
In reply to: [Lana Downloads Manager] Get all sub-categories and download post idYes, I have a plugin, hopefully it will help.
lana-downloads-manager-category-widgets-addon.zip
This is a widget plugin that lists by category.
If you have any questions, please feel free to contact me.
Forum: Themes and Templates
In reply to: [Lana Site] Navbar checkYou’re welcome.
If you have any questions, advice or comments, feel free to contact me.
Forum: Themes and Templates
In reply to: [Lana Site] Navbar checkFixed in Lana Site 1.3.0
Please test it.
Forum: Themes and Templates
In reply to: [Lana Site] Navbar checkOh, I think I found the error:
Uncaught Error: Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3I’m updating Bootstrap or trying to find a solution. Thanks for reporting this error, I’ll fix it as soon as passible.
Forum: Plugins
In reply to: [Lana Downloads Manager] Lana Downloads Manager Log Sorting or ExportingOh, sorry, but detailed statistics are not yet available.
But a very interesting idea, I like it, based on the log can be implemented. As a later development, I’m sure I’ll put in statistics. Unfortunately I can’t tell you when, I don’t have much free time right now.