The emailed link works. but the straight download doesn’t!
Thanks.
Where is the [download_link_custom] referenced in the other PHP code?
I’d like to style it with the flag images rather than the 2 letter country code if possible, to match http://cpmr.org/documents/
Thanks
Apparently some change you made caused my site to crash. My host provided the following info:
The line in question looked like this:
wpdm_download_data(“link-expired.txt”, __(“Download link is expired. Please get new download link.”., ‘wpdmpro’));
(The problem was with the “.,” in the code above.) Do you know who was
working on that for you? You’ll want to let them know of this problem and
that I fixed it for you by removing the stray “.”.
Actually, now that I’ve looked at it more careful, it appears your account
*might* have been compromised. Someone from Bangladesh (IP 27.147.242.5) was
editing the files in the Download Manager and appears to have made the error
in the code.
ok now. Issue was with new tag [download_link_custom] and I’ve fixed it.
Just an FYI that the download_url template tag does not open a file in a new window. The file is a PDF file, it just opens in the same window.
*Edit – I mean’t download.
It would be great if the download_link would actually open in a new tab. Just a future consideration. Thanks.
I am using your plugin to create a downloads section for a wordpress site. The key is that all of these files cannot be downloaded by the general public, only by registered users with certain WordPress user roles (we have had to create new roles.)
When someone comes to the site, the download link is not there, it requires you to login. (good) As an administrator I can login, access and instantly download any file, but if I create an account as “NDA Customer”, “Partner” or “Developer” and then login as that customer, the DM will just spin for a while then give me a 503 error.
I have checked on the download file and it has all of the right users identified.
Then I checked by adding “all visitors” to one of the downloads. Again, only the admin could download.
THIS IS A BIG PROBLEM!!!
I need to address this ASAP. I am totally OK with the answer being “you didn’t test this enough” because I was only testing with the admin account and a general user account (to ensure the files were hidden).
But I need to know how to fix this because I need others to be able to download.
(By the way from your other post – ALLOW ACCESS: is set to Everyone. This has not changed)
It works OK to download this package from main the category download page
But not from the page with the single file shortcode.
It is using the custom link-template-calltoaction3.php, and your custom download buttons called [download_link_custom]
Yes, possible, in your link/page template please use template tag [download_link_extended]
instead of [download_link]
Docs:
Templates
Actually, it’s not OK.
http://cpmr.org/event/test-event-cs/
Your code [download_link_custom] does not work.
If we click any of the language versions to download, the error message | ACCESS DENIED | is shown.
Please advise?
Thank you
Hey Guys,
2 month ago i started a ticket because of some problems with the PDF Preview that was not working with user permission.
Link: http://www.wpdownloadmanager.com/support/topic/new-itemdoc-preview-is-not-working-as-administrator/
Result of the work was that you will build a two viewer version for the next update.
My cusotmer is waiting for that feature. Could you please give me some inofrmationen when this update will come?
Greats
Hello Shahriar
Changing the Link Label fixes part of the issue however the button still reads ‘Download’. An example can be seen on the following page:
http://www.quantumforquants.org/download/1qbit-quantum-development-kit/
I’m trying to get the button that reads “Download” to say “Visit SDK Website”. The parameter you mentioned worked for the link that is presented under the button but not the button itself. Alternatively, is there a way to hide the button and leave the link (currently underneath) visible?
Thanks
The audio progression slider isn’t working. Here’s a link… http://www.christianhiphop.tv/download/test-package/
Thank you for your help.
This reply has been marked as private.
This reply has been marked as private.
Hi there,
After enabling the captcha lock on a package it now downloads an ‘expired link’ txt file. I have disabled the captcha lock but link still bad. I also have email lock on same file. I need both. see attached.
Please help
Download History link shows a 404 page. How do I fix this?
There is no download history at this point, because nothing has been downloaded – I am just testing the features. Please help me.
Sorry for the confusion, it is ok now, the download link was not working as your server was not recognizing $_GET
parameter in package url.
I’m still confused here. Sorry if I’m being obtuse, but you said “it won’t happen ever”….what won’t happen if there is no page cache?
You said WPDM checks if an “old cache” exists. Is this during the upgrade process, or are you referring to each time a download package is created? Where does WPDM look (for a page cache) on my server?
Regarding the difference between versions, are you saying that the previous version of WPDM looked for a page cache, did not find one (and this is right, it should not find one, because there isn’t one), so it created a cache to put new thumbnails in? Does the new version not work the same way?
Also, you said my site is showing old HTML, even after updating. I don’t understand this. Are you saying that the image links to the cache are not supposed to be in the new version of WPDM?
Please check the reply #46644
Hi Shahriar
Went ahead but the download link is still pointing to a separate page, rather than direct download (ie. the file)
Nearly there though, it seems?
Yes,
You can change dashboard page from
wp-admin
->downloads
->settings
->basic
-> misc settings
(select Dashboard Page
)
or you can change directly from the code in
download-manager/tpls/wpdm-be-member.php
and change get_permalink(get_option(‘__wpdm_user_dashboard’)) from
do_action("wpdm_user_logged_in", "<div class='alert alert-success'>" . __("You are already logged in.", "wpdmpro") . "<br style='clear:both;display:block;margin-top:5px'/> <a class='btn btn-xs btn-primary' href='" . get_permalink(get_option('__wpdm_user_dashboard')) . "'>" . __("Go To Dashboard", "wpdmpro") . "</a> <a class='btn btn-xs btn-danger' href='" . wp_logout_url() . "'>" . __("Logout", "wpdmpro") . "</a></div>");
Thank you
actually, in that case, you need to create separate package for each file and put them under same category.
And title is linked to details page but there is download link on the right.
I get this error in WPDM NEW package widget
Link Template:
Warning: Invalid argument supplied for foreach() in /home/public_html/wp-content/plugins/download-manager/admin/menus/class.Templates.php on line 137
what can I do?
In the list view the text link “download” does not actually link to the file. See attachment. here is the url: http://www.cifingredients.com/press/