Hi,
Please add your site URL as twitter redirect URL, that will resolve the issue:

And as you know you can create twitter app from here:
https://developer.twitter.com/en/apps

BParticipant
Hi, we are experiencing something similar. The requests that worked fine a couple of weeks ago now returns “404 no route was found matching the url”, which I suspect was caused by the upgrade of WP. Were you able identify the issue?
I’ll add wp-admin login details in a private reply below in case you want check our setup
There is also available for download URL generate in the PRO version, but it is limited with the user access role. however, for sharing files you can also use file hosting and sharing add on.
Thanks.
This reply has been marked as private.
Here, One line code has been $preview = wp_get_attachment_url($preview);
updated. for that, it may be missing the earlier additional images. Earlier code settings maybe now deprecated.
This reply has been marked as private.
Hi Nayeem,
You’re trying the direct download link – which is not what users see.
Go to this page: http://www.nutemplates.com/invoices/blank-invoice-template/
You will see I have an “email lock” on Word & Excel download – they are not working.
When user clicks on them it adds #unlock in the URL and nothing happens.
Please note: there is no email lock on PDF download, which is working fine.
So, it is a problem with “email lock” functionality with download.
Please check again!
Okay now. However, here is the explanation:
get_post_meta(get_the_ID(),'__wpdm_additional_previews', true);
returns media object ids for additional previews, so code should be like this:
$previews = get_post_meta(get_the_ID(),'__wpdm_additional_previews', true);
foreach($previews as $preview){
$preview = wp_get_attachment_url($preview);
//......
//.....
}
And to get the featured image, user wordpress’s native function the_post_thumbnail( 'full' );
But can I add an icon to that library? So I don’t have to find the right url every time?
This reply has been marked as private.
This reply has been marked as private.
Thank you – this is just what I was after:
add_action('wp_logout', 'wpdm_logout_redirect');
function wpdm_logout_redirect(){
wp_redirect(home_url(""));
exit();
}
This reply has been marked as private.
Hi there..
i guess i didn’t understand it right..
– created a dir named download-manager in my child theme dir
– copied the link template in it
– added [link_label] instead of [download_link]
but it doesn’t work..
<!– WPDM Link Template: Default Template –>
<div class=”link-template-default card mb-2″>
<div class=”card-body”>
<div class=”media”>
<div class=”mr-3 img-48″>[icon]</div>
<div class=”media-body”>
<h3 class=”package-title”>[page_link]</h3>
<div class=”text-muted text-small”><i class=”fas fa-copy”></i> [file_count] [txt=file(s)] <i class=”fas fa-hdd ml-3″></i> [file_size]</div>
</div>
<div class=”ml-3″>
[link_label]
</div>
</div>
</div>
</div>
Hi,
1. For Opening file instead of downloading you have an option in the Settings > Basic Settings
under the File Download
option Open In Browser
.
2. For pdf viewer, you can follow this add on doc, https://www.wpdownloadmanager.com/download/wordpress-pdf-viewer/, use doc_preview
for your pdf viewer.
3. For opening in a new window, you can follow this doc, https://www.wpdownloadmanager.com/doc/template-files/, by default, you are using link-template-default.php
for link template and page-template-default.php
for the page template. As documentation, you have to copy the file in the theme directory naming a folder called download-manager, then paste it in tpls>page-templates
for page template or tpls>link-templates
for link template. And you have to replace [download_link]
with <a href="[download_url]" class="btn btn-primary" target="_blank">[link_label]</a>
in related php file.
Thanks.
This reply has been marked as private.
This reply has been marked as private.
Hi Nayeem,
The error you are referring to is fixed, this is actually unrelated to the issue from this topic.
This is an AJAX call to add a view count to the package.
This is also unrelated to this plugin as it is part of the Download Manager core plugin.
It’s adding index.php
in the URL and this is forbidden by a lot of servers due to security. Also, adding this is not needed.
I’ve made a patch but can’t find Download Manager free plugin on GitHub, where can I provide the patch?
Back to topic.
I’ve searched more in depth and found an issue, probably Gravity Forms specific.
GravityForms handles form submissions in the WordPress wp
hook. See plugin file gravityforms.php
in root on line 176 (add_action( 'wp', array( 'GFForms', 'maybe_process_form' ), 9 );
)
The problem is that Download Manager handles form lock in the WordPress init
hook, which is run before the wp
hook.
See file: /libs/class.Apply.php
line 30 (add_action('init', array($this, 'wpdmIframe'));
).
By the time WPDM_FormLock::gravityforms_html()
is called the wp
hook isn’t run yet so no form handling is done by GravityForms.
This is the reason the form keeps displaying without processing any submissions.
I’ve reproduced this issue over and over again on a completely fresh local installation with only Download Manager, WPDM Form Lock and Gravity Forms active on a default WordPress theme.
My guess is that you are testing locally with an outdated GravityForms version. Please make sure you are up to date.
Jory
-
This reply was modified 5 years, 2 months ago by
Jory Hogeveen. Reason: File references
Hello,
when I try to add a new package from front-end (in a page with [wpdm_frontend] shortcode), clicking “Continue” button after insert Title, I get a blank page with just this message:
{“result”:”_ap_wpdm”,”id”:1933}
url: http://www.mydomain.com/download/?adb_page=add-new –> PROBLEM
So I can’t add the package in front-end.
Instead, I can edit package in front-end without problem (url: http://www.mydomain.com/download/?adb_page=edit-package/1714/ –> OK).
Can you help? What is the problem?
Thank you
Flavia
Hello,
I want for the checkout process to be available to both guests and members.
I currently have the following settings enabled for the shopping cart:
– Enable Guest Checkout
– Enable Guest Download
I also have the following pages designated:
– Cart Page: Shopping Cart (sitename.org/cart)
– Orders Page: Purchases (sitename.org/purchases)
– Guest Order Page: Guest Purchases (sitename.org/guest-purchases)
I have “sitename.org/guest-purchases” configured in the “return url” settings for “Test Pay”.
When a guest checks out, the guest is taken to that guest purchase page and their email address and order ID are automatically populated, so it is quick and easy for them to download their purchase.
However, when a member checks out, they are redirected to that guest purchase page and their email address and order ID are BLANK.
Is there a way that the email address and order ID can be automatically populated on that guest purchase page for the members as well?
Thanks!
-
This topic was modified 5 years, 2 months ago by
Web Guy. Reason: Updated my question
Hi together,
we just installed the download manager plugin on a fresh wordpress instance with wpml translating running.
At the installation the frontend gives us an 500 – we could fix that by changing the .htaccess back to “RewriteBase /” & “RewriteRule ./index.php” instead of “RewriteBase /de/” & “RewriteRule ./de/index.php” as written by the download manager plugin.
But: Everytime when settings at the downlod manager plugin are saved at the backend, the .htaccess is overwritten with the same (/de). We assume that the wrong Base URL is used. How to fix this?
Additionally a question: Is the plugin compatible with WPML?
Best,
Michael
This reply has been marked as private.
Kindly help to solve these issues…
I have some general questions.
1: can we use “Cart” Icon on the navbar with number of products added in cart if yes so how can i add.
2: after click on “Save Cart” button on cart page where can we see our saved cart? Because when i save cart the saved cart url is generated like this “https://tworivertimes.info/cart/?savedcart=5e4360403bf04” but not to proceed this url.
Thanks it is working…
I have some general questions.
1: can we use “Cart” Icon on the navbar with number of products added in cart if yes so how can i add.
2: after click on “Save Cart” button on cart page where can we see our saved cart? Because when i save cart the saved cart url is generated like this “https://tworivertimes.info/cart/?savedcart=5e4360403bf04” but not to proceed this url.
Hello. There is excessive padding between the price amount and the add to cart button when we use the add to cart button inside of a box on our website. I will send the URL in a follow up message. Please provide me with some custom CSS code that can be used to resolve this issue. Thanks.