-
AuthorSearch Results
-
Nov 23, 2018 at 11:28 am #89830
Topic: Custom fields
in forum Download Manager Pro
Jérôme LabarbeMemberHI,
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
Nov 22, 2018 at 6:05 pm #89801In reply to: Url instead of File
ShahriarModeratorPlease 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.
Nov 22, 2018 at 6:03 pm #89800In reply to: Sorry! Download is not available yet.
ShahriarModeratorIt should work even when you add the file from URL. However, let me know if you still need help on this.
Nov 22, 2018 at 5:59 pm #89798In reply to: How to set default page template?
ShahriarModeratorReplaced
[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=0inwpdm_packagesshortcode to hide the toolbar.Nov 22, 2018 at 5:24 pm #89793In reply to: wpdm_reg_form no password
ShahriarModeratorDefault 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_registerhook 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.Nov 21, 2018 at 8:55 pm #89733In reply to: Sorry! Download is not available yet.
David KraljicParticipantIt 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.
Nov 21, 2018 at 8:49 pm #89731In reply to: Sorry! Download is not available yet.
David KraljicParticipantI 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.
Nov 18, 2018 at 9:33 pm #89580In reply to: wpdm_reg_form no password
ShahriarModeratorHi,
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.phppage.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.phpfile and place it in/active-theme/download-manager/wpdm-my-downloads.phplocation and perform necessary changes.Let me know if you have any further query.
Thanks.
Nov 15, 2018 at 2:50 am #89513In reply to: Higher quality PDF thumbnails?
kalicoMemberI 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>Nov 13, 2018 at 7:15 am #89412In reply to: PDF Viewer & Files attached by URL
ShahriarModeratorPDF Viewer doesn’t support remote file yet. But you can add support by performing the following code customization.
Replace
return $html;on line 30 inwpdm-pdf-viewer.phpfile 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.
Nov 7, 2018 at 8:02 am #89164In reply to: Convert external links
ShahriarModeratorCould 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.
Nov 6, 2018 at 10:37 pm #89137In reply to: Download Button Without Price Displayed
Colin HartMemberThank 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
Nov 6, 2018 at 5:13 am #89094In reply to: Redirect to login page for all non logged in users
ShahriarModeratorAdd 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 pageAfter 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
basesiteurlin the message with your site URL.Nov 6, 2018 at 3:50 am #89085In reply to: Download Button Without Price Displayed
ShahriarModeratorNo 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,<a class="btn btn-info" href="[addtocart_url]">Buy Now</a>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.
ShahriarModeratorThis reply has been marked as private.Oct 31, 2018 at 6:40 am #88910In reply to: Links – on list
ShahriarModeratorYou can replace the
titleincolswithpage_linkto 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.phpfile and place it in the/active-theme/download-manager/directory.Then replace
echo "<strong>".get_the_title()."</strong><br/>";withecho "<a href='".\WPDM\Package::getDownloadURL($data['ID'])."'><strong>".get_the_title()."</strong></a><br/>";in the new template.Oct 30, 2018 at 3:00 pm #88853In reply to: Downloads in Homepage
AudreyMemberThanks 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,
AudreyOct 29, 2018 at 4:39 pm #88790
ShahriarModeratorAre 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.
Oct 28, 2018 at 8:00 pm #88744In reply to: Link opens Popup Login
ShahriarModeratorThere 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.
[wpdm_login_form redirect="[this_url]"]Oct 25, 2018 at 10:00 am #88627In reply to: Move License Key
ShahriarModeratorPDF 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.You can check the viewer here https://falconoilandgas.com/download/corporate-presentation-agm-october-2018/
If still having an issue then it is related to cache. Just clear all caches to fix.
Btw, please always create new tickets to report new issues. It helps us to track issues easily.
Oct 24, 2018 at 10:48 am #88573
Isack WesllerMemberThis reply has been marked as private.Oct 21, 2018 at 4:24 pm #88473In reply to: w3eden div is forcing link to a new line
ShahriarModeratorThe div will be added automatically when using a template. You can generate a download URL from all downloads page then add that link with package title in this case. It will keep the link in the same line.
Oct 17, 2018 at 2:53 pm #88282In reply to: Downloads in Homepage
AudreyMemberThis reply has been marked as private.Oct 15, 2018 at 9:08 pm #88200In reply to: ICONS MISSING FROM PDF VIEWER TOOLBAR
ShahriarModeratorFound the issue. It was actually related to the Font Awesome version added in the viewer.
Please replace the following code from
/wpdm-pdf-viewer/tpls/viewer.phpfile,<?php echo WPDM_BASE_URL; ?>assets/fontawesome/css/fontawesome.min.csswith
https://use.fontawesome.com/releases/v5.1.0/css/all.csshttps://www.evernote.com/l/AUeI8xe6zolLmrExtTFT70sElUyUrMcVwZ8B/image.png
We will add the patch in the next release of the PDF Viewer add-on.
Thanks.
Oct 15, 2018 at 7:03 pm #88191In reply to: Custom redirect after registration
ShahriarModeratorYes, you can add custom redirect URL in your registration form shortcode using
redirectparameter.[wpdm_reg_form login=1 captcha=0 autologin="true" redirect="your_redirect_url"] -
AuthorSearch Results
Search Results for 'Add Url'
-
Search Results
-
Topic: Custom fields
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