Lana Codes
Forum Replies Created
-
Forum: Plugins
In reply to: [Lana Downloads Manager] Download counter problemOr a screenhot from Downloads > Logs and Downloads > Settings. It might also help.
Forum: Plugins
In reply to: [Lana Downloads Manager] Multi Language (qTranslate-X)Works with this code:
{"vendor":{"plugins/lana-downloads-manager":"1.1"},"admin-config":{"lana_download":{"pages":{"post.php":"","post-new.php":""},"anchors":{"lana-downloads-manager":{},"lana-downloads-manager-info":{}},"forms":{"post":{"fields":{"upload-file-url":{"jquery":"#upload-file-url"},"upload-file-id":{"jquery":"#upload-file-id"}}}}}}}But in this case the frontend interface does not work because the language delimited file URL does not work properly. So the download button doesn’t work.
Forum: Plugins
In reply to: [Lana Downloads Manager] Multi Language (qTranslate-X)Oh, I understand the problem because the file upload is Javascript and it does not work with the translate plugin.
Unfortunately, this is much more difficult to solve.
The simplest solution is if you do not use the file upload, you only provide the link to the file manually.
I usually use WPML plugin, it provides better compatibility. Among the free ones is Polylang which may be compatible.
Forum: Plugins
In reply to: [Lana Downloads Manager] Multi Language (qTranslate-X)Add Add this code in Settings > Languages > Integration > Custom Configuration:
{"vendor":{"plugins/lana-downloads-manager":"1.0"},"admin-config":{"lana_download":{"pages":{"post.php":"","post-new.php":""},"anchors":{"lana-downloads-manager":{},"lana-downloads-manager-info":{}}}}}Forum: Plugins
In reply to: [Lana Downloads Manager] editing category namesEdit category name? That would be the default WordPress management I think.
Downloads > Categories > mouse over the category and “Edit” link.
Forum: Plugins
In reply to: [Lana Downloads Manager] Download counter per category ?Please download and install the following plugin:
Lana Downloads Manager – Category Widgets Addon
This will add Lana Download Category Widgets. You will need:
Lana – Download Category List
Download list by category in list view.Add it to the sidebar and select options.
Forum: Plugins
In reply to: [Lana Downloads Manager] Download counter per category ?So you need a widget where you select “Download Category” and list it all “Download” with counters? It’s relatively simple.
But detailed statistics, such as a chart, they are very complex.
Forum: Plugins
In reply to: [Lana Downloads Manager] How to Manually add download countsOh sorry, I misunderstood you, you don’t want to count GET, but you want to SET.
This is currently not possible, but I can write an extension. I need some time to do this.
Forum: Plugins
In reply to: [Lana Downloads Manager] How to Manually add download countsYes, it is possible if you use PHP code.
<?php $count = lana_downloads_manager_get_download_count( $lana_download->ID ); ?>$lana_download->id– this is the download (post type) post id, you find it in the shortcode, for example:[lana_download id = "1830"]– then the ID will be 1830$count– this will be the count valueIf you need more help, feel free to contact me.
Forum: Plugins
In reply to: [Lana Downloads Manager] Blank Page After DownloadYes, I see the problem. This is caused by the theme (there is a weird loading page that does not disappear).
Change the link to: “Open link in a new tab”, and then it will be good. It is located somewhere in the settings of the Visual Composer element.
Forum: Plugins
In reply to: [Lana Downloads Manager] Multi siteOh, sorry for the trouble. I’ve never tested with multisite.
I’m trying to make it compatible with multisite, but I don’t know when it will be ready.
Forum: Plugins
In reply to: [Lana Downloads Manager] Private downloads not workingAnother user resolved with a plugin:
https://wordpress.org/support/topic/links-are-not-restricted/Thank you for the informations. It worked with the Membership plugin.
Forum: Plugins
In reply to: [Lana Downloads Manager] Private downloads not workingThe “Public” option can be used to specify “Download” post type listing on the website or not.
Documentation: https://codex.wordpress.org/Function_Reference/register_post_type#Arguments
I apologize for the misunderstanding. I’m going to add a description in the next version.
User access is a completely different plugin. Much more complex and specific (multiple access levels, privileges, etc).
This requires either a compatible plugin or a freelance developer to create the custom code.I hope I could help. If you have any questions, feel free to contact me.
Forum: Plugins
In reply to: [Lana Downloads Manager] Download Page sorted by categoryI’m not sure I fully understand what you want, but:
Downloads > Categories > {Category name} > ViewThis is the Download Category list page.
Make sure “Public” is “Enabled” in Settings.
Forum: Plugins
In reply to: [Lana Downloads Manager] Open PDF in new window not downloadI understand the problem, but it is not possible.
This is a download manager plugin, there is no way to open files.A more detailed discussion about this suggestion:
feature request: open link in new window