-
Search Results
-
Topic: Issues with PHP 8.0
Hi,
I have issues with the plugin Download Manger Pro version 6.3.5 when I switch the PHP version of my hosting from 7.4 to 8.2. I also tried the other versions 8.0 and 8.1 but with now luck. The below embedded code generates an error in the website:
[wpdm_all_packages items_per_page="20" jstable=1 order_by="date" order="DESC" cols="title,file_count,download_count|categories|update_date|download_link" colheads="Titolo|Categorie|Data Aggiornamento|Download"]Can you please advice what to do?
Regards
DavidTopic: Update URLs in mass update
Good morning!
I have a question about download links in WPDM,
I will have to change my OVH server to another one, and got aroung 6000 links on wordpress download manager that point to an external server starting with ns3xxx…
The problem is that i don’t want to update links one by one….So decided to check how to in MySQL directly
1st attempt :
update wp_postmeta set meta_value = replace(meta_value, "ns37xxxxx.ip-213-32-0.eu/XXX", "ns30xxxxx.ip-149-202-85.eu/YYY");
It seems working when checking the URL in PhpMyadmin database as it changed correctly this part of the link, but when checking the WPDM link setting (attached file), it got empty… no more url of the file anymore. Dont understand why.If i revert back the URL with the revert SQL command :
update wp_postmeta set meta_value = replace(meta_value, "ns30xxxxx.ip-149-202-85.eu/YYY", "ns37xxxxx.ip-213-32-0.eu/XXX");
The link setting is back to normal (not empty anymore) and working.2nd attempt :
Last year i posted a message here about the same problem, someone wrote this script :<?php include_once('wp-load.php' ); $link = mysql_connect("xxxxxxx.mysql.db", "xxxxxxx", "yyyyyyy"); // Connexion à MySQL mysql_select_db("xxxxxx"); // Sélection de la base if (!$link) { die('Could not connect: ' . mysql_error()); } echo 'Connected successfully'; global $wpdb; $data = $wpdb->get_results( "select * from wp_postmeta where meta_key='__wpdm_files'" ); foreach($data as $d){ $newurl = array(); $oldurl = maybe_unserialize($d->meta_value); foreach($oldurl as $id ► $url){ $newurl[$id] = str_replace("ns37xxxxx.ip-213-32-0.eu/XXX", "ns30xxxxx.ip-149-202-85.eu/YYYY",$url); } update_post_meta($d->post_id, '__wpdm_files', $newurl); } mysql_close($link); ?>It was working great at this time, but not anymore, when using my website url with /change_url.php, got an error message on wordpress “Critical Error”
It’s getting really bad as in 2 weeks my old server will be offline and have to update all link to point to the new server.
Anyone know an easy way to replace a part of downloads links in SQL without the meta_value to become empty or plugin/script to do same?
Thanks a lot.
RenzuI just received an email from Google regarding a ‘soft 404’ that resulted from me deleting a downloadable asset (package) I had setup, and it surprised me because I did not realize (or anticipate) that Google would index the downloadable assets directly instead of the Page they appear on (the pages that are created dynamically by the plugin using the templates).
I really don’t want Google indexing individual assets using the URL /mydomain.com/?wpdmdl=123456 – that is the download link, but rather I want Google to index the *Page* that download link appears on (where I have the asset embedded using the viewer)…..
What can I do to fix this? I’m not sure that if I tell Google to ignore any URLs that have /?wpdmdl= it won’t stop them from indexing my download pages (?)….I’m not an SEO expert but I want to fix this before it becomes a bigger problem for me….
Hi,
I’ve uploaded a document within the Download Manager plugin and went to Lock Options > Enable email lock. I added a title, selected the “Ask for Visitor’s name” and selected the Download Instantly & Do not Mail Download Link.
When I then try to open the document, the “sign in” pop-up appears, but after typing the name and email, I can see an undefined box (see link below for reference) – https://www.dropbox.com/s/mpcvsdoidnswsuc/Screenshot_051623_035318_PM.jpg?dl=0
Do you know why?
Many thanks
Hello,
I’m currently experiencing an issue with the link Models templates in wpdm pro. I have created a custom template for package links and would like to use a shortcode within it. The shortcode I am using is [postexpirator], which belongs to the plugin available at https://it.wordpress.org/plugins/post-expirator/.
The shortcode works perfectly everywhere else, but it doesn’t seem to function within the WPDM Link Models templates. When I include [postexpirator] in the template, nothing is printed.
Could you please advise me on how to resolve this issue?
Below is the template code. Please take a look at the div with the class “expiration-date”:
<div class="olo-template-downloads link-template-default card mb-2"> <div class="card-body"> <div class="media"> <div class="mr-3 img-48"><a href="[download_url]">[icon]</a></div> <div class="media-body"> <h3 class="package-title"><a href="[download_url]">[title]</a></h3> <div class="expiration-date">[postexpirator]</div> <div class="olo-excerpt">[description]</div> <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] <i class="ml-3 far fa-arrow-alt-circle-down mr-1"></i> [download_count] downloads </div> </div> </div> </div> </div>Waiting for a feedback
Best regardsOn the package page that the permalink points to, there is an extra image that has nothing to do with the package. In this link, the unwanted image is the dark blue one on the right. It’s one of the images from my website, but it isn’t related to this package. I’m using the “Single Column, Flat” page template for this package. I’ve looked all over, but I can’t figure out how to get rid of it.
https://loco4learning.com/download/pt-tracker-v5-3-for-windows/
All my permalink pages have the same image on the right. I didn’t notice that it was a problem before because that image is appropriate for the other packages.
Topic: stop new link
we have make display as follows for our datasheets for customer download.
It works no problem for download when you click the <download button>, but when you click the other places except the <download button>, there will open in a new page under a new url. We DO NOT need it open in a new link, just click the <download button>, that is enough.
Please help how to prohibit to creat new links for each pakages ?we tried to edit the link template and remvoe the page url from there, but it still not work.
kinldy help. thanks
Topic: download problem
hi
For the Subscribers, when some Subscribers show approved and some show downloaded ?
And, approved will get the download link, downloaded will not.What is problem ?

