If you could provide any server error log it will help to debug the issue.
However, There is a workaround which seems to work. Instead of adding the file from a directory, You can attach the file URL ( https://www.pixelquest.de/mediathek/test-download-small.zip ) using the URL tab in “Attach File ( Datei anhängen )” meta box. In that case, download works fine. I have tested this with your “Test Download Small” package.
Have you disabled the WPDM Bootstrap? The package details page looks a bit odd without the styles. If that’s what you prefer it’s okay.
You can add the following CSS in Customize Additional CSS to hide the “Shared with me” button,
#sharedWithMe { display: none; }
Or just remove the button from template file /wpdm-file-hosting/tpls/wpdm-file-browser-container.php ( line 15 )
From the share window, you can get the package link which is a permanent URL ( Package Link tab ) and you can download package as many time as you want. Does it work for you?
You haven’t updated the API keys in social settings after creating new apps. So, it is showing the API error again.
In my last reply, I told you to add your site URL as callback URL in Twitter app settings which would have solved the issue.
Now, this is what you have to do to make this work,
1 ) Get new API key from app settings and save those in respective options in WPDM social settings.
2 ) Make sure you have added your site URL as allowed callback URL in app settings.
I have added my Twitter app credentials there to show you that the plugin works 100% (check the twitter tweet and follow lock now ) Please replace my credential with your own app keys.
I tried to use customs fields with quick forms but I have some problems :
I need to add a checkbox for GDPR consent.
1. I need to show a phrase with an url (“i accept conditions <a href=”#”blah blah…)
href is breaking the fields and I get slashes before ‘ : ex: “J\’accepte”
2. I just need to add a checkbox, not all the stuff from Bootstrap for forms : box in a box in box with panel heading and so on… Is there a way to have simple integration or do I have to use css to hide all that ?
3. required checkboxes are checked at the begining. I need it uncheked BUT mandatory
Please send temporary wp-admin login info in private reply to check the issue. Send the package URL too where you have this issue. The URL has to be publicly accessible when you add a file using URL.
Replaced [download_link] with <a class="wpdm-download-link btn btn-danger" target="_blank" href="[download_url]">Otwórz</a> in your custom page template. Please do the same for the link template.
Added toolbar=0 in wpdm_packages shortcode to hide the toolbar.
Default Values does work with frontend uploader. Just add the patch I sent in the previous reply or send login info in private reply. I will do it for you.
1 ) Requires customization. Could be done using user_register hook https://codex.wordpress.org/Plugin_API/Action_Reference/user_register
2 ) Not possible but you can use the file manager to upload files in a directory of your choice and then attach the file using browse tab in Attach File meta box.
3 ) As I mentioned above this is in our to-do list to send an email link to set the password.
4 ) Noted for implementation.
5 ) Will be added this in next version
6 ) You can add custom fields in the sign-up form using Advanced Custom Fields add-on https://www.wpdownloadmanager.com/download/advanced-custom-fields/
7 ) Sorry, Not clear. Do you want to show user profile URLs for all users? It is possible with custom code.
8 ) File Manager is embedded with Frontend Uploader page as well as admin sub-menu in the Downloads menu.
It is working now. Only thing different was I used the file browser in the attach sidebar instead of adding the url to the file. I know the url was right before because I tested it.
I used a url because it is a 163mb video file. I don’t think I can upload that to WP (file size limits). So I added a url to the file instead. Like I said, I see it in the package. But still get the Sorry! Download is not available yet.
User signup email doesn’t send the password. It adds only username and login URL.
You can create a page with this shortcode [wpdm_login_form logo="your_logo_url"] for WPDM login form. Set this page in Downloads Settings Frontend Login Page option. User will be redirected to this page when they visit /wp-login.php page.
It is not possible to modify my downloads table using shortcode parameters. But you have to create a custom template. Copy the /wpdm-custom-access-level/wpdm-my-downloads.php file and place it in /active-theme/download-manager/wpdm-my-downloads.php location and perform necessary changes.
I have ImageMagick 6 installed. This is the policy.xml file. I don’t see anything like what you suggested – no domain called “modules”. Am I in the wrong place? (This is in my /etc/ImageMagick-6 dir) Or do I need to add that line? (or update to v7?)
Thank you for that, works nicely and much more elegant than my solution, does it all in one place from the Control Panel and I can use this button only on the products I want it on. It was the [addtocart_url] piece I was missing before when I tried to add a custom button
Add the following message in Settings Basic Message Login Required Message option and set Hide Everything in Settings Basic Access Settings When user is not allowed to download:
Login is required to access this page
After setting these options, You will see a login link in packages where a user must log in to access the package.
Make sure to replace the basesiteurl in the message with your site URL.
No need to use the CSS to hide price info. You can customize the whole thing using custom link template. To add a custom add to cart button utilize the [addtocart_url] template tag as shown in the following example,
You have to enable redirect to cart option if you want to redirect the user to the cart page after clicking the button. You will find this option at the bottom of the Premium Package settings page.
You can replace the title in cols with page_link to link the details page with the title. But template customization is required to add the download link in the title.
You have to copy the /download-manager/tpls/wpdm-all-downloads.php file and place it in the /active-theme/download-manager/ directory.
Then replace echo "<strong>".get_the_title()."</strong><br/>"; with
echo "<a href='".\WPDM\Package::getDownloadURL($data['ID'])."'><strong>".get_the_title()."</strong></a><br/>"; in the new template.
Thanks a lot Shariar for your help. I even manage to do further customizations from your advices. I still have some of the issues discussed not solved.
> Thanks for the custom link Template doc. I understand the global process but what I do not understand is how to apply the correct code to customize the template, as I do not see examples. For example you helped me to modify the Product title font size with <h2 style> but I did not manage to customize the Category name font size below even if I inspected the page code… So #wpdm-downloads * {font-size: 10pt;} is still controlling it.
> To protect the file class.Categories.php from updates, I would like to add it in my Child theme. I tried : Child Theme >download-manager > widgets> class.Categories.php or Child Theme >download-manager > class.Categories.php but it does not work, what is the correct path to customize the category widget file in Child Theme?
> You added [title] so now the title becomes a link, but the title is underlined on hover . I tried .w3eden a {
text-decoration: none !important;}
but this code also applies to the category name. How can I do to control only the title (product name) ?
> Concerning Page titles, I understand that when I create a page or a post my theme controls the title (besides it displays correctly in « page-title pad group » when I create a page or a post). But when I add a download using WPDM plugin, I believed that the plugin would be controlling the title.
Hope you will be able to help me with these issues,
best,
Audrey
Are you adding file URL instead of attaching a file? This should work without any issue. Please send me a package URL to test the download and temporary wp-admin login info in private reply if possible.
There is no shortcode available for that. Custom coding is required for that.
But you can add the login popup in download button when user login is required for download. Just add the following code in Downloads Settings Basic Message Login Required Message section.
PDF Viewer is working now. Your server was not allowing the | in URL. I have made some changes in PDF Viewer add-on to handle thing in a different way.