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.
Hi,
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.
Let me know if you have any further query.
Thanks.
I am server support. 🙂
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?)
?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policymap [
<!ELEMENT policymap (policy)+>
<!ELEMENT policy (#PCDATA)>
<!ATTLIST policy domain (delegate|coder|filter|path|resource) #IMPLIED>
<!ATTLIST policy name CDATA #IMPLIED>
<!ATTLIST policy rights CDATA #IMPLIED>
<!ATTLIST policy pattern CDATA #IMPLIED>
<!ATTLIST policy value CDATA #IMPLIED>
]>
<policymap>
<!-- <policy domain="resource" name="temporary-path" value="/tmp"/> -->
<!-- <policy domain="resource" name="memory" value="2GiB"/> -->
<!-- <policy domain="resource" name="map" value="4GiB"/> -->
<!-- <policy domain="resource" name="area" value="1GB"/> -->
<!-- <policy domain="resource" name="disk" value="16EB"/> -->
<!-- <policy domain="resource" name="file" value="768"/> -->
<!-- <policy domain="resource" name="thread" value="4"/> -->
<!-- <policy domain="resource" name="throttle" value="0"/> -->
<!-- <policy domain="resource" name="time" value="3600"/> -->
<!-- <policy domain="system" name="precision" value="6"/> -->
<policy domain="cache" name="shared-secret" value="passphrase"/>
<policy domain="coder" rights="none" pattern="EPHEMERAL" />
<policy domain="coder" rights="none" pattern="URL" />
<policy domain="coder" rights="none" pattern="HTTPS" />
<policy domain="coder" rights="none" pattern="MVG" />
<policy domain="coder" rights="none" pattern="MSL" />
<policy domain="coder" rights="none" pattern="TEXT" />
<policy domain="coder" rights="none" pattern="SHOW" />
<policy domain="coder" rights="none" pattern="WIN" />
<policy domain="coder" rights="none" pattern="PLT" />
<policy domain="path" rights="none" pattern="@*" />
<!-- disable ghostscript format types -->
<policy domain="coder" rights="none" pattern="PS" />
<policy domain="coder" rights="none" pattern="EPS" />
<policy domain="coder" rights="none" pattern="PDF" />
<policy domain="coder" rights="none" pattern="XPS" />
</policymap>
PDF Viewer doesn’t support remote file yet. But you can add support by performing the following code customization.
Replace return $html;
on line 30 in wpdm-pdf-viewer.php
file with the this code,
return "<iframe id='viewer-{$pid}' class='thumbnail' src='{$url}' style='width: 100%;height: 700px;margin-bottom: 15px'></iframe></iframe>";
Send temporary wp-admin login info in private reply if you need help with the customization.
Could you please explain a little more? Are you trying to add a file from URL? You can use the URL tab in attach file meta box to add a file from URL.