I’m encountering an issue with the Form Lock addon.
It shows the form (Gravity Forms) correctly but upon submit it just shows the form again, no downloads or anything.
I added a hidden field with the download ID shortcode like instructed and can see it rendered on the page source. Am I missing something?
The default confirmation is currently an empty text message.
If I look at the code, especially the gform_confirmation
hook it seems that this hook isn’t working/firing. I also don’t see any entries in GravityForms so my guess is that the form submission isn’t working correctly.
Upon submission of the form it send the POST request to https://www.my.domain/?__wpdmlo=###
and this URL always returns the form, nothing else.
Thanks in advance, any ideas in where to look is appreciated!
Trying again as I added a url to the last post and it is held for moderation.
When users visit my membership site who are not logged in and view a download page they see the download buttons replaced with the ‘Please Log In to download’ link. Previously clicking this took visitors to the normal login page for my site. Since the last update this seems broken. The link is now a combination of the original page url with the login page url added to the end.
It should be: login url
It’s now: pageurlloginurl
This still works on the free version on my other website but not on this site with the paid version. I’ve tried changing the login page in the Download Manger settings but this seems to have no effect.
Can you help please?
AnonymousInactive
Hi, I’m getting an error when I try to purchase a download on my website with Authorize.Net add-on (which I paid for). Authorize.Net works well with my Events Manager on my site, so I wanted to use it with Download Manager. However, the error comes from not having a URL to put in my Authorize.Net account and they don’t know what the URL is: this is the error: (14) The referrer, relay response or receipt link URL is invalid. (The referrer is Download Manager, and the relay response must be related to a link URL that is in your code, which I need to add to my Authorize.Net account.
Please let me know if you can assist as I really do need this functionality and option for potential sales.
Cheers…
I need to remove the following filter you have defined:
add_filter("logout_url", array($this, 'logoutURL'), 999999, 2);
I tried overriding the filter with a higher priority to no avail. I can’t remove the filter because you didn’t define a function, just array($this, ‘logoutURL’). Can you please assist?
Hi,
You can create a link template with this code <a href="[download_url]">[icon]</a>
. And after applying your package, You can use form lock add on for locking your package with any form, https://www.wpdownloadmanager.com/download/wpdm-form-lock/.
Thanks.
This reply has been marked as private.
URL: https://bnssghealthiertogether.org.uk/healthyweston/additional-information/
The conflict is causing the “tabs” to not work at all. And accordions don’t work either.
This reply has been marked as private.
– Fixed these warnings.
– Used the following code to update the file path of all packages. It was using the URL before and created a broken preview image.
function update_file_path(){
$params = array( "post_status" ► "publish", "post_type"►"wpdmpro","posts_per_page"► -1 );
$q = new WP_Query($params);
while ( $q->have_posts() ) {
$q->the_post();
$files = maybe_unserialize(get_post_meta(get_the_ID(), '__wpdm_files', true));
if ( ! is_array( $files ) ) $files = array();
foreach ($files as $key ► $file):
$files[$key] = str_replace('https://dev-wp.glasair-owners.com/wp-content/','/var/www/html/wp-content/', $file);
endforeach;
update_post_meta(get_the_ID(),'__wpdm_files', $files );
}
}
add_action('init','update_file_path');
– Re-calculated package size using the following code
function update_package_size(){
if( ! is_home() ) return;
$params = array( "post_status" ► "publish", "post_type"►"wpdmpro","posts_per_page"► -1 );
$q = new WP_Query($params);
while ( $q->have_posts() ) {
$q->the_post();
$package_size = wpdm_package_size( get_the_ID() );
update_post_meta( get_the_ID(),'__wpdm_package_size', $package_size );
}
}
add_action('init','update_package_size');
This reply has been marked as private.
Hi,
It is not possible yet, but you can auto-start the download in that page by adding the following code in /tpls/download-page-clean.php
after line 130
<script> window.location.href = "<?php echo $download_url; ?>"; </script>
Or you can just serve the download right after an email submission.
Thanks.
Hi,
That should not be an error, totally valid syntax and also working fine with my macbook pro safari.

May you please give me your URL to check. If possible, please add temporary wp-admin login info in a private reply for faster resolution.
This reply has been marked as private.
These are the notices I’m seeing in the WP debug.log:
[19-Dec-2019 17:41:42 UTC] PHP Notice: Undefined variable: regurl in /var/www/html/wp-content/plugins/download-manager/tpls/wpdm-login-form.php on line 114
[19-Dec-2019 17:41:42 UTC] PHP Notice: Undefined variable: log_redirect in /var/www/html/wp-content/plugins/download-manager/tpls/wpdm-login-form.php on line 120
[19-Dec-2019 17:41:42 UTC] PHP Notice: Undefined variable: log_redirect in /var/www/html/wp-content/plugins/download-manager/tpls/wpdm-login-form.php on line 149
[19-Dec-2019 17:42:50 UTC] PHP Notice: Undefined index: meta_value in /var/www/html/wp-content/plugins/wpdm-default-values/wpdm-default-values.php on line 79
[19-Dec-2019 17:42:50 UTC] PHP Notice: Undefined index: meta_value in /var/www/html/wp-content/plugins/wpdm-default-values/wpdm-default-values.php on line 82
I’m also seeing this one when WPDM is activated:
Notice: is_tag was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /var/www/html/wp-includes/functions.php on line 4986
I’ll provide login credentials for my test instance in the next post.
Are you looking for a such add on which will allow you sharing your files for specific authors? you will find such an option in File Hosting & Sharing Add-on. you can personalize your files & file access. Please see the demo in the given URL.
Thanks.
Since the recent updates, our Custom Link templates have broken. We are using Default Values as well. We have the template setup so that clicking on the Button and the Title of the download should automatically download the file without showing the Download Page. This has now stopped working.
This is the template code:
<div class=”well c2a3″>
<div class=”media”>
<div class=”mr-3″ align=”left”>
[icon]
</div>
<div class=”media-body”>
<h3 class=”media-heading” style=”padding-top: 0px;border:0px;margin: 0 0 5px 0;font-size:12pt;”>
[title]
<span style=”font-size:8pt;font-weight:300″ class=”text-muted ml-4″>
<i class=”fa fa-hdd mr-1″></i> [file_size]
<i class=”ml-3 fa fa-arrow-alt-circle-down mr-1″></i> [download_count] downloads
</span>
</h3>
[excerpt_80]
</div>
<div class=”ml-3″ align=”right”>
[download_link]
</div>
</div>
</div>
<style>
.well.c2a3 .btn {
padding: 11px 30px;
font-size: 11pt;
}
.well.c2a3 .media-body {
font-size: 11pt;
}
.well.c2a3 .wpdm_icon {
height: 42px;
width: auto;
}</style>
Website (one of many where it is now not working!) https://trinitybuckshaw.lancs.sch.uk/news-events/newsletters/
-
This topic was modified 5 years, 4 months ago by
Chris Dawes.
If you attach files directly from server, it will store full path, as they not in the scope of wpdm, only files added using wpdm upload or only the file kept in wpdm upload folder download-manager-files
will work seamlessly after migration, for other files you may need to update file path. Please give me temporary wp-admin login info and a package url with path issue to check it in details.
This reply has been marked as private.
Is there anyway to modify the featured image or templates during bulk import, via changing values in the CSV?
I need to add multiple images that already exist on the server, and so have the URL for the download link as well as what I would like to use for the featured image.
I have attempted to mass change templates via the CSV import method but there is no field for featured image URL.
Thanks
This is on the admin side. The download link for the free file does not work (likely due to the fact that it is adding that additional directory to the URL when attaching the free file to the package). Please advise.
How do you override the 128X128 Thumbnail image size in a custom Link Template.
Here’s my code:
<div class=”panel panel-default c2a4″ style=”margin-top: 15px; margin-right: 150px; margin-bottom: 15px; margin-left: 150px;background: #f5f7f9″>
<div class=”panel-body text-center” style=”padding-bottom: 20px”>
<div class=”text-center wicon”>
[thumb_384x384]
</div>
<h3 style=”padding: 0;margin: 0;margin-bottom: 5px”>[title]</h3>
<div class=”panel-footer text-center” style=”background: #fcfcfc”>
View More
<div class=”d-button d-inline-block”>[download_link]</div>
</div>
</div>
<style>
.w3eden .text-small{ font-size: 10px; }
.w3eden .c2a4 .wpdm_icon{ height: 64px !important; width: auto; } .well.c2a4 .media-body{ font-size: 11pt; }
.w3eden .c2a4 .wicon img{ border-radius: 2px; max-width: 20px;margin: 15px auto 25px !important; }
.w3eden .c2a4 .btn{ border-radius: 20px; margin: 0 3px; padding: 0 25px !important; height: 36px !important; line-height: 36px !important; font-size: 12px; font-weight: 800; }
</style>
The login redirection loop usually appears when the site is not fully secured. For example, site’s frontend is not https but after login, redirecting the user to an https area. Making both sides https should fix the issue.
Alternatively, you can use yoursite.com/wp-login.php?skipwpdm=1
URL to skip the WPDM login page. Adding this wp-login.php?skipwpdm=1
after site URL will bypass the WPDM Login page even when the Login Page option is set on frontend settings.
This reply has been marked as private.
This reply has been marked as private.
Hi,
The IPN URL is related to the Pro Membership add-on and it is called right after a PayPal payment. Please check your PayPal account, maybe IPN is disabled in your account as the mail indicates.
Best regards.