This reply has been marked as private.
I was able to get the url to add the attachment. I am still not able to browse files on the server though.
Hi there, I am trying to add a new download and this item is larger than 2MB. I have placed the item in the some location within the download-manager-files folder. My problem is that I am not able to use the browse option to find this file. I am also not certain what the url would be to add this in since download manager truncates the url with a number after the document id? I have not added a new item in quite a while… so maybe I am just missing a step or setting here? This could also be some sort of plugin conflict, I am not sure? Any help would be appreciated.
Thanks,
Becky
Hi,
I’ve added a page with [wpdm_frontend flaturl=0] and am trying to review what this offers browsers of the site – specifically with the intention of allowing uploads from users.
I can see the “add new” button, I click that and it asks for a title, I type a title in and then the page clears and I just get a small block of json:
{“result”:”_ap_wpdm”,”id”:207}
Also, if I click on File Manager it reports an invalid directory being used by scandir in wp-content/plugins/wpdm-filemanager/filemanager-frontend.php on line 5 – where can I review this setting and change if required?
Thanks
Matt.
Hi,
I am using the directory add-on for a new site and everything seems to be working, except that the search never returns any results regardless of what I search for. The URL is:
https://www.isasa.info/policy-database/
Could there be a conflict with another plugin?
Simon
Please send me the URL to suggest CSS fix. Or send temporary admin login info in private reply. You can also try adding the following CSS, adjust the width based on your spec.
.w3eden .wpdm_icon { max-width: 40px !important; }
Hi,
I want to add the [icon] into a template but it is coming out huge and, despite several efforts I can get the size to fit the box correctly.
This is my code and attached is screen shot of result.
<div class=”list-group wpdm-lt-card” style=”margin: 0 250px 15px 250px”>
</div>
<div class=”list-group-item”>
[thumb_300x250]
</div>
<div class=”list-group-item”>
<h1 style=”padding: 150px;margin:150px”>[icon]</h1>
</div>
Can you tell we where I am going wrong?
Hi,
After adding multiple items to cart and pressing the checkout, the cart page appears empty.
Please check url in private reply.
This reply has been marked as private.
Hi, Amazon S3 add-on generates unique download URL for different users. These URLs are valid for 1 hour. But it is not customizable yet. -Thanks.
This reply has been marked as private.
Send me the login URL the one from heading asks email address.
Have you added the site URL in “Valid OAuth redirect URIs” option in “Facebook Login” settings? Please send temporary wp-admin login info in private reply to check the issue. I will test it using our App credentials.
Hi Guys,
Just noticed that there is an audio player modal script added to every page on the website. Why is it added? How can we remove it?
<audio autoplay controls style=’width: 100%;display: none’ id=’wpdm-audio-player’></audio> <script>jQuery(function($){try{$(‘a.wpdm-lightbox’).nivoLightbox();}catch(e){}});</script> <div class=”w3eden”><div id=”wpdm-popup-link” class=”modal fade”><div class=”modal-dialog” style=”width: 750px”><div class=”modal-content”><div class=”modal-header”><h4 class=”modal-title”></h4></div><div class=”modal-body” id=’wpdm-modal-body’><p class=”placeholder”> [ Placeholder content for popup link ] WordPress Download Manager – Best Download Management Plugin</p></div><div class=”modal-footer”> <button type=”button” class=”btn btn-danger” data-dismiss=”modal”>Close</button></div></div></div></div></div> <script language=”JavaScript”>jQuery(function(){jQuery(‘.wpdm-popup-link’).click(function(e){e.preventDefault();jQuery(‘#wpdm-popup-link .modal-title’).html(jQuery(this).data(‘title’));jQuery(‘#wpdm-modal-body’).html(‘<i class=”icon”>
</i> Please Wait…’);jQuery(‘#wpdm-popup-link’).modal(‘show’);jQuery.post(this.href,{mode:’popup’},function(res){jQuery(‘#wpdm-modal-body’).html(res);});return false;});});</script> <script>(function(){function addEventListener(element,event,handler){if(element.addEventListener){element.addEventListener(event,handler,false);}else if(element.attachEvent){element.attachEvent(‘on’+event,handler);}}function maybePrefixUrlField(){if(this.value.trim()!==”&&this.value.indexOf(‘http’)!==0){this.value=”http://”+this.value;}}
var urlFields=document.querySelectorAll(‘.mc4wp-form input[type=”url”]’);if(urlFields&&urlFields.length>0){for(var j=0;j<urlFields.length;j++){addEventListener(urlFields[j],’blur’,maybePrefixUrlField);}}
var testInput=document.createElement(‘input’);testInput.setAttribute(‘type’,’date’);if(testInput.type!==’date’){var dateFields=document.querySelectorAll(‘.mc4wp-form input[type=”date”]’);for(var i=0;i<dateFields.length;i++){if(!dateFields[i].placeholder){dateFields[i].placeholder=’YYYY-MM-DD’;}
if(!dateFields[i].pattern){dateFields[i].pattern='[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|1[0-9]|2[0-9]|3[01])’;}}}})();</script>
Thanks!
Hi,
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.
Thanks.
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?
https://www.evernote.com/l/AUeSutQc97JHNY6E9cplgEHQQWeb8PGYlewB/image.png
Add target="_blank"
on line 51 in /wpdm-file-hosting/tpls/wpdm-file-browser.php
to open the file in new tab.
https://www.evernote.com/l/AUdv1xggl5xLzYKdhEEXZChum4W6JE5co4QB/image.png
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.
https://www.evernote.com/l/AUfo-iKvnklJ2oMEjMV2hy_-RTsvfCo1QkIB/image.png
As the error says “Callback URL not approved for this client application. Approved callback URLs can be adjusted in your application settings”
You have to add your site URL as an approved callback URL from app settings. Access your apps here https://developer.twitter.com/en/apps
https://www.evernote.com/l/AUeNpqRX_ZBArb0POskSal6BXLGnUcrgYfQB/image.png
HI,
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
thanks for your help
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.
It should work even when you add the file from URL. However, let me know if you still need help on this.
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.