-
AuthorSearch Results
-
Aug 12, 2019 at 9:21 pm #110864
In reply to: Password Lock not working with some browsers
bigcat35ParticipantI added the patch to line 778 and password lock still does not work. Other ideas? This is getting really annoying.
$_data[‘downloadurl’] .= ‘&ind=’.$_POST[‘wpdmfile’];Aug 7, 2019 at 10:05 am #110781
ShahriarModeratorSo you want to redirect the user to different pages after logout based on user role. This is not a plugin feature nor it should be one. Anyway, I have added the following code to your theme’s functions.php file to implement it.
function wpdm_custom_redirect_after_logout() { if (!current_user_can('manage_options')) { $url = '/login-page/'; } else { $url = '/wp-login.php'; } $redirect_url = home_url( $url ); wp_safe_redirect( $redirect_url ); exit; } add_action( 'wp_logout', 'wpdm_custom_redirect_after_logout' );Aug 6, 2019 at 9:47 pm #110753
Brennen BlissMemberThe problem appears to be related to the “ID” attribute in the Database. When I added the file through the browser on the User interface, it assigned the following ID: 1565127651367
a:1:{i:1565127651367;s:133:”/nas/content/live/vbvprod/wp-content/uploads/TechnicalData/Electric Actuators/EOM Nema 4x/BVC EOM PB CONTROL CARD SETUP PROCEDURE.doc”;}
This corresponds with the ID at the end of the URL for direct access: https://valuebutterflyvalves.com?wpdmdl=4541&ind=1565127651367
The problem, however, is that there currently exist IDs from the development site database, all of which are 0.
How do I get around this issue?
Best,
BrennenAug 5, 2019 at 7:44 pm #110714In reply to: Customize border on button hover?
ShahriarModeratorPlease use following CSS to change button hover style,
.w3eden a.btn:hover, .w3eden a.btn:hover { border: 1px solid #ef3d24 !important; color: #ef3d24 !important; border-radius: 0px; background: transparent; box-shadow: none; }Use custom link/page template to add icon. Replace the
[download_link]with the following code,<a href="[download_url]" class="btn btn-primary"><i class="fas fa-download"></i>[link_label]</a>Aug 5, 2019 at 4:16 pm #110700In reply to: Failed .zip downloads for some
welswebmasterParticipantThis reply has been marked as private.Aug 5, 2019 at 1:17 pm #110692
Clark UniversityParticipantThis reply has been marked as private.Aug 4, 2019 at 3:16 pm #110674In reply to: Password Lock not working with some browsers
ShahriarModeratorTemporary user doesn’t have access to the plugin editor, so couldn’t add the patch there.
Please add the following code after line 777 in
/download-manager/libs/class/Apply.php. Single file download in a password locked package should work after that.$_data['downloadurl'] .= '&ind='.$_POST['wpdmfile'];Aug 3, 2019 at 3:21 pm #110646
ShahriarModeratorYou can use support@wpdownloadmanager.com for temp admin or use one of your address. Just send me the username, password and login URL.
In multisite setup, each subsite has it’s own
/uploads/download-manager-files/directory. Could you please check if you subsite/uploads/download-manager-files/directory contains the attached file. Maybe the file is available only in main/uploads/download-manager-files/Copying the files from the main
/uploads/download-manager-files/to subsite/uploads/download-manager-files/will fix the issue for old packages.And for new packages, the file will be uploaded the subsite directory automatically.
Jul 27, 2019 at 9:26 pm #110404In reply to: Free and PAID in the same package
ShahriarModerator1 ) Free Download Button takes the label from “Link Label” option of package settings. As a premium package doesn’t have another download button ( Main download button is “add to cart” button ) unless you are using Membership add-on. In case of membership, both button shows the same label when the user has access to the package from a subscription.
The solution is using
[free_download_url]template tag in your custom link/page template instead of[free_download_btn]. When using[free_download_url]you can define the button label from your shortcode.<a href="[free_download_url]" class="btn btn-lg btn-info btn-block">Download Free File</a>2 ) It is not possible to hide the free download button for subscribers. You need a custom template tag for that. Use
wdm_before_fetch_templatehook to create a custom template tag https://www.wpdownloadmanager.com/doc/filter-reference/wdm_before_fetch_template/3 ) Individual download for free files: Not possible yet but noted for implementation.
Jul 21, 2019 at 7:20 pm #110079
ShahriarModeratorAdded the following code after line 777 in
/download-manager/libs/class/Apply.php. Now single file download in a password locked package is working again.$_data['downloadurl'] .= '&ind='.$_POST['wpdmfile'];Jul 16, 2019 at 5:50 pm #109853In reply to: Adding a border around the PDF Thumbnail
ShahriarModeratorYou can add the border using CSS. Please send me the page URL to suggest custom CSS.
Jul 15, 2019 at 7:06 pm #109823In reply to: Download category page template
Ed AmmendolaMemberI think you are not understanding what I am asking. I will try to make it more clear, but it is taking a long time just to get a response from WPDM. It took six weeks for you to answer.
I am using a code similar to what you have shared. Mine looks like this:
[wpdm_category id="human-resources" operator="IN" title="" desc="" toolbar="0" order_by="title" order="asc" item_per_page="999" template="link-template-custom-category-page.php" cols=1 colspad=1 colsphone=1]This is my custom template:
<!-- WPDM Link Template: Custom Category Page --> <div class="wpdm-link-tpl c2a3" style="padding: 10px; background: #f5f5f5; border-radius: 4px; margin-bottom: 10px;"> <div class="media"> <div class="pull-left" align="left"> [icon] </div> <div class="pull-right" align="right"> <i style="margin: 2px 0 0 5px;" class="far fa-hdd color-green"></i> [file_size] </div> <div class="media-body"> <h3 class="media-heading" style="padding-top: 0px;border:0px;margin: 0 0 5px 0;font-size:12pt;"><a href="[download_url]">[title]</a> <span style="margin-left:30px;font-size:8pt;font-weight:300"><br> Categories: [categories]</span></h3> </div> </div> </div>Which produces an output like this:

If you click on the hyperlink “Human Resources” (highlighted in Screenshot 1), you are taken to an unformatted page that looks like this:

It shows the documents in the category “Human Resources”, but the list is unformatted. How can I change this? The page title is “Archives”, so I can’t change the page directly.
Jul 11, 2019 at 6:33 pm #109628In reply to: User Role "Editor" full access to plugin
ShahriarModeratorIt is pretty simple, What you are trying to do. Just allow the role frontend uploader access from Downloads > Settings > Frontend Access The user from the allowed role will be able to add/edit their own file from the frontend. Create the frontend page using
[wpdm_frontend flaturl=0]shortcode.Jul 9, 2019 at 7:49 pm #109473
Rafal WanowiczParticipantHi Thanks for response. I have placed the shortcode for my package and set the look of the download buttons on my website, this is working fine. The problem I have is when I enable the email lock and place the url to my website under my video on the you tube, or any different external website and people click in the link, they going to my website and try to download the package, but the download button is not working, the popup window where you need to enter your email address does not show at all, even if you reload the page.
I have tried on google chrome firefox and edge browser. Here is the link ( https://bit.ly/2G12ZnG ) and here is my you tube video where I placed the link (https://www.youtube.com/watch?v=tC6Q4gEZSTY&feature=youtu.be&ytbChannel=null ). If you click the * Download Game Graphics https://bit.ly/2G12ZnG under my you tube video the website will open, but the popup to insert email address will not.
Hope my explanation is clear. Thanks for your help.Jul 9, 2019 at 5:25 pm #109452In reply to: File Icons Issue
ShahriarModeratorI see you are using the Box View of the file list. The icon from the package setting doesn’t have any effect on this case. It is being set dynamically based on the file type. So when adding multiple files of different types, Box View shows file icon for each file.
The icon from package settings will only be applied to
[icon]template tag in your link/page template.In your case, the solution is modifying the
/download-manager/libs/class.FileList.phpfile. Add the following code after line 348. Replace the icon URL text with actual URL.if( $ext == 'pcb') $fticon = 'icon-url-here';Another option is replacing the
pcb.svgwith your own icon in wpdm-file-type-icons dir.Jul 2, 2019 at 4:41 pm #107904In reply to: Redirect after login shortcode not working
ShahriarModeratorThis reply has been marked as private.Jul 2, 2019 at 4:37 pm #107902
ShahriarModeratorIn your shortcode add a
logoparameter and set your logo URL as the value. That will fix the first warning. Please check the following example,[wpdm_reg_form logo="https://demo.wpdownloadmanager.com/wpdmpro/wp-content/uploads/sites/2/2019/05/download-manager-logo.png"]Jun 26, 2019 at 7:28 am #102365Topic: Registration – text captcha?
in forum Download Manager Pro
damtoxParticipantHi,
1. How do you add a text captcha to the registration form?
2. How to get Facebook APP ID and Facebook APP Secret?
3. Google API Credentials – how to do it?4. How do you delete “Last name” from the registration form?
5. How add url ( xxx ) to: Settings > Quick Forms > Choices ??
Jun 25, 2019 at 6:49 pm #99619In reply to: Google bot increasing download count
ShahriarModeratorAdding the
rel="nofollow"attribute in download link will instruct robots not to crawl the download link. Replace<a href="[download_url]">[title]</a>with<a rel="nofollow" href="[download_url]">[title]</a>in your link/page template.Jun 25, 2019 at 2:33 pm #99607
JasperMemberI am using the form lock add on. The user must fill out a Gravity Form and provide their e-mail address, etc.
When the customer fills out the e-mail form to request the document, they receive an e-mail that says
Please click on following link to start download:
#lockedIn the backend of WordPress, if I use the “Generate download link” tool, it works and I am able to download the document.
However if you use the “Email download link” icon, which sends an e-mail that says Please click on following link to start download: with a button, if you click on this button, you get a screen that says ERROR — Invalid download link —.
The URL is https://(domain, file/?wpdmdl=174&_wpdmkey=5d122b68db3ba&refresh=5d122b68dd44e1561471848This happens with all download packages. The person does not have an email domain that we have blocked.
WPDM – Form Lock ( wpdm-form-lock.zip ) 1.6.2
WordPress Version 5.2.2
Download Manager by W3 Eden – 4.9.8
Version 7.3.5-1+ubuntu18.04.1+deb.sury.org+1Jun 24, 2019 at 5:48 am #99025In reply to: URL regex doesn't allow me to test on localhost
ShahriarModeratorIf you want to test the URL feature you can just add a valid URL of any sample file from the web.
Jun 22, 2019 at 2:36 am #98927In reply to: Error messages
ShahriarModeratorIn your shortcode add a
logoparameter and set your logo URL as the value. That will fix the first warning. Please check the following example,[wpdm_reg_form logo="https://demo.wpdownloadmanager.com/wpdmpro/wp-content/uploads/sites/2/2019/05/download-manager-logo.png"]Please send temporary wp-admin login info in private reply to check the issues related to ACF add-on.
Jun 18, 2019 at 8:08 pm #98597In reply to: Registration error
ShahriarModeratorIn your shortcode add a
logoparameter and set your logo URL as the value. Please check the following example,[wpdm_reg_form logo="https://demo.wpdownloadmanager.com/wpdmpro/wp-content/uploads/sites/2/2019/05/download-manager-logo.png"]Jun 18, 2019 at 6:13 pm #98580In reply to: 2CO Redirect
ShahriarModeratorPremium Package overrides this URL. It is possible to redirect to the guest orders page by modifying the add-on code.
Please replace line 311 in
/wpdmpp-2co/wpdmpp-2co.phpwith the following code. You also have to set the guest order page in premium package settings.header("location: ". wpdmpp_guest_order_page());Jun 18, 2019 at 2:22 pm #98558In reply to: Is there a way to add links to an outside website?
Jonathon HantenParticipantI have done this for my main client. I added the full url and reworded the link label to make it clear it wasn’t a download. I had no trouble as long as I included the http(s):// at the beginning. I haven’t done it lately though so maybe something has changed.
Hope that helps.
-
AuthorSearch Results
Search Results for 'Add Url'
-
Search Results
-
Topic: Registration – text captcha?
Hi,
1. How do you add a text captcha to the registration form?
2. How to get Facebook APP ID and Facebook APP Secret?
3. Google API Credentials – how to do it?4. How do you delete “Last name” from the registration form?
5. How add url ( xxx ) to: Settings > Quick Forms > Choices ??
I am using the form lock add on. The user must fill out a Gravity Form and provide their e-mail address, etc.
When the customer fills out the e-mail form to request the document, they receive an e-mail that says
Please click on following link to start download:
#lockedIn the backend of WordPress, if I use the “Generate download link” tool, it works and I am able to download the document.
However if you use the “Email download link” icon, which sends an e-mail that says Please click on following link to start download: with a button, if you click on this button, you get a screen that says ERROR — Invalid download link —.
The URL is https://(domain, file/?wpdmdl=174&_wpdmkey=5d122b68db3ba&refresh=5d122b68dd44e1561471848This happens with all download packages. The person does not have an email domain that we have blocked.
WPDM – Form Lock ( wpdm-form-lock.zip ) 1.6.2
WordPress Version 5.2.2
Download Manager by W3 Eden – 4.9.8
Version 7.3.5-1+ubuntu18.04.1+deb.sury.org+1