I’m having trouble creating a custom page with Elementor for URLs, such as the page: https://try.wpdownloadmanager.com/download/67c1c0d6ed620/
I want to add the title and the bradcrumb. I haven’t used it for a long time, so I must have forgotten how to do it.
I have created a package for each user of the website. When I create a package in the “Access” option I remove “All visitors” and I select only the specific user I need. This way noone else can download the files uploaded for that user.
The issue is that his download page URL is still visible and public and you can see the list of all his files names.
Example: https://gbfersrl.it/download/slug-of-package/
Even if a visitor can’t download any file, it is a privacy issue to show the names of the downloads.
So far I have solved the issue by creating this snippet that hides the subpages of the download page from logged out users,
add_action('init', 'restrict_download_subpages_to_logged_in_users');
function restrict_download_subpages_to_logged_in_users() {
// Get the current path
$request_uri = $_SERVER['REQUEST_URI'];
// Check if the URL starts with /download/ and is not exactly /download/
if (preg_match('#^/download/.+#', $request_uri)) {
// If user is not logged in, redirect to login
if (!is_user_logged_in()) {
wp_redirect(home_url());
exit;
}
}
}
HOWEVER I need a solution in order to show the entirety of the package url only to the user I have attributed the Access to.
In my wordpress shop (using woocommerce), I use gifs as primary image for my products. In WPDM, I tried to do the same, and set a gif as the main image of a download, but the gif gets processed by the plugin. Instead of loading the image from my wordpress library, it puts the image into wpdm-cache and loads it from there. I opened the direct url to the gif, and the gif is no longer playing, seems like it was processed/resized and now its a static gif. Is there any way not to use the wpdm cache and when I add a photo to a download, just have it load from my wordpress library? Instead of processing the images (and thus, making the gif static.
Thanks in advance for the reply!
Good morning,
I am writing to you again only today after some time, I am trying to
test your plugin and configure the free part for the moment while
waiting to purchase the pro.
I am checking the manual and based on that I have configured the main
pages required:
Login Page
Register Page
User Dashboard Page
Author Dashboard Page
NO THIS – Cart Page
NO THIS – Download URL ( any URL with parameter name wpdmdl )
One page in WP with module Packages table with Require Login.
Is this the right way to configure? My requirement would then be the
one you showed me in the email below, where I can define access to
files to users not with passwords but with user groups.
I would like to make the files in my archive visible based on my
needs, for example
my 5-file catalog:
User group A must see 2 of these files
User group B must see 1 of these files
User group C must see 5 of these files
You suggested purchasing an ADD-ons advanced access control.
My requirement is to not allow users to register, but I will provide
the account with user and password. It will be a reserved area
accessible only to those who provide the user and password.
I don’t remember exactly if what you indicated allowed this to be
done. Another solution could be to put the products in a specific
category, for example Users A, and allow all the files in that
category to be viewed by users associated with that category.
What I wouldn’t like to do is go into each file to set the user
visibility of the files, but I would like to manage everything with a
simple solution that requires little time.
What will I have to buy based on how much I need?
– Free version + advanced access control $49
– Pro version $99/year+ advanced access control $49/one shot
I await your kind reply, thank you
Hei!
I am able to add and view custom fields, but they are lacking important attributes and functionality.
Screenshot: Admin UI for input
Will greatly appreciate if these can be added!
Thanks and regards,