Lana Codes
Forum Replies Created
-
Forum: Plugins
In reply to: [Lana Downloads Manager] [qTranslate-X] Different logos for each languageWhat does “logos” mean?
Lana Downloads Manager is a download manager plugin, if it is a “logo” as an image and is related to the theme, it is not related the Lana Downloads Manager plugin.
Maybe you want to change your logo image? It’s a theme setting, so then you should write to your theme support.Forum: Plugins
In reply to: [Lana Downloads Manager] [qTranslate-X] Different logos for each languageI’m sorry, but unfortunately I don’t understand what you want to translate.
Lana Downloads Manager contains a .pot language file that you can translate. With this you can translate the static text in plugin.
Or do you want to download different files for each language? Unfortunately, I don’t know the details of qTranslate X, but download_url is a post meta, if there is a possible different post meta for each language in the translate plugin, there may be a chance for it.
Forum: Plugins
In reply to: [Lana Downloads Manager] Invalid File ID or File Name.Um, that’s interesting, there’s a prefix used everywhere:
post type: lana_download
function name: lana_downloads_manager
folder name: lana_downloadMaybe the permalink could crash. You just use one download manager plugin and update the permalink:
Settings > Parmalinks > Save Changes (this will reload the permalink setting).Forum: Plugins
In reply to: [Lana Downloads Manager] Invalid File ID or File Name.I think this is not an error message from Lana Downloads Manager. If you are using another plugin, this may be a compatibility issue.
Can you send me a link where I can see the error? If it is not public, you can also send it by email: [email protected]
I will be happy to help you fix or improve compatibility.
I recommend the following plugin for debugging: Query Monitor
Later, I will add it to the plugin to optionally select the remote file redirect to download the file directly from the other server (e.g. Dropbox).
Thank you for reporting this error and I’m glad I was able to help.
I tried to test it on my own machine, also using Dropbox, with 1GB+ files, but everything was fine.
But I have fast internet, you may have a problem with timeout. Or there may be some web server limitation, although this is unlikely.Can you send me a download link where I can try your file?
Even by email: [email protected]Oh sorry, I may have misunderstood the problem.
Does Dropbox link work perfectly?
Just too large a file doesn’t work?Basically, it’s not a cloud download and file manager, but for example, this plugin can work with Google Drive files. So, there’s a chance.
I’ll try to optimize with Dropbox files, I would ask for some time and I’ll see what the problem might be.
Forum: Plugins
In reply to: [Lana Downloads Manager] Shortcode for categoriesYeah, I think there are a couple of Custom Post Type and Custom Taxonomy listing plugins, I just don’t know how much you can change the look and add meta tags.
Note that for Lana Download, the download URL is not the default permalink, but a meta that works with a function:
$download_url = lana_downloads_manager_get_download_url( $post_id );If you have any questions or need help, feel free to contact me.
Forum: Plugins
In reply to: [Lana Downloads Manager] Shortcode for categoriesHi,
The plugin does not include category listings because it is too complicated (can be grid list, simple list, what to display, how to display).
I have an addon plugin that has content category list widgets for lana downloads manager. This can be used for most page builders (e.g. Elementor).
I will send you the addon plugin if you want to try it, just write an email to [email protected]
Forum: Plugins
In reply to: [Lana Downloads Manager] Downloaded files are empty after migrationAs we talked about in the email, you reviewed the links again, and as it turned out, you found the error in postmeta:
in the download post type file url meta did not change to the production url from dev url.
Note for other users who also have problems after migration:
To change the URLs, I recommend the “Go Live Update Urls” plugin. It replaces all urls in all database tables.Forum: Plugins
In reply to: [Lana Downloads Manager] Downloaded files are empty after migrationI tried to test it and at first it seems that WWW matching is the problem.
So if you move to https://www.lanacodes.test/ to https://lanacodes.production/, but only change “lanacodes.test” to “lanacodes.production” in the url, WWW will not match, this cause an error.
I got the same error in this case. The file was downloaded, but the file was empty.So if my website URL is https://lanacodes.production/, but the download URL for the file is https://www.lanacodes.production/wp-content/lana-downloads/file.pdf is then faulty, not working.
So please review the migration URL.
Check Settings > General on the production website for “WordPress Address (URL)” and “Site Address (URL)”.
Check for HTTP and the WWW. Be sure to rewrite the full URL, everything must match.Forum: Plugins
In reply to: [Lana Downloads Manager] Downloaded files are empty after migrationBoth of the links you send work for me. I can download the files. But the non-working one really returns an empty file, which is interesting.
If the plugin could not find the file, it would give the error message “file not found”.One of the most important things when moving a website is to update the permalink after change the urls, you can do this in the admin page in Settings > Permalinks, where you click the Save Changes button.
Please go to Downloads > Settings and update the URL settings. Maybe that will help.To change the URLs, I recommend the “Go Live Update Urls” plugin.
Can you verify that both files are in the
wp-content/uploads/lana-downloadsfolder?
What you should definitely check is the permissions of “the wp-content/uploads/lana-downloads” folder.What I might look at is the HTTP and HTTPS and the WWW match in the URL.
So if you move to http://lanacodes.test/ to https://lanacodes.production/, but only change “lanacodes.test” to “lanacodes.production” in the url, HTTPS will not match, this may cause an error.If you are using a cache plugin, empty it or turn it off while you are testing.
The “Query Monitor” plugin can help with testing and debugging.I will be happy to help you, either in a comment here or, if it is easier, contact me by email.
Forum: Plugins
In reply to: [Lana Downloads Manager] Downloads in Advanced Custom Fields as Post Typedefault as post:
$post_ref->post_id;
$post_ref->post_title;
$post_ref->post_excerpt;
$post_ref->post_content;thumbnail:
get_the_post_thumbnail( $post_ref->post_id, 'thumbnail' );meta:
$file_url = get_post_meta( $post_ref->post_id, 'lana_download_file_url', true );
$download_count = get_post_meta( $post_ref->post_id, 'lana_download_count', true );custom functions:
lana_downloads_manager_get_download_url( $post_ref->post_id );
lana_downloads_manager_get_download_shortcode( $post_ref->post_id );However, you cannot use the file url in most cases. Direct access is disabled. You can only access it through the server.
Forum: Plugins
In reply to: [Lana Downloads Manager] Dynamic Download Link@rishabhgangwar I think @rahjou configured the wp-all-import plugin to update links from CSV in WordPress.
The easiest way to set this up is to get help from the wp-all-import plugin support, or maybe there is an useful description in the documentation.