Hi after installing Wordfence and scanning our site I got one alert for a possible malicious file. Can you confirm if the file is correct, or if I should delete it?
This is the info I have got from Wordfence:
Filename: wp-content/plugins/download-manager/libs/socialconnect/pinteresconnect-dev.php
File Type: Not a core, theme, or plugin file from wordpress.org.
Details: This file appears to be installed or modified by a hacker to perform malicious activity. If you know about this file you can choose to ignore it to exclude it from future scans. The matched text in this file is: <title>PHP File Manager</title>
The issue type is: Suspicious:PHP/filemanager.6443
Description: File Manager script that can be used as a webshell. Delete if it’s not being used
Also:
When looking at the file in Filezilla the file size is 72 600 kb, but the file sizes for the Facebook, Google, LinkedIn in the same folder (“socialconnect”) is only around 15 000 kb. And this maybe “malicious” file is called “-dev”, the other files in that folder do not have this filename-ending. Facebook, LinkedIn etc also have there own separate folders there, but there is no folder for Pinterest?
Suspicious file to delete, or not?
Compared to a direct download link it is about 2x or 3x slowed in the tests I was doing.
Hi,
By default, No HTML is allowed as the button label. But you can override it using wpdm_custom_data hook. Add the following code to your theme’s functions.php file and set the font awesome icon <i class="fa fa-download"></i> in “Link Label:” option of package settings.
function wpdm_html_link_label($data, $ID){
$data['link_label'] = get_post_meta($ID, '__wpdm_link_label', true );
return $data;
}
add_filter('wpdm_custom_data','wpdm_html_link_label', 10, 2);
Best regards.
It is possible but requires a custom template for /download-manager/tpls/wpdm-all-downloads.php I have created the custom template which sorts by download count. Download the file from the following link and place it in /active-theme/download-manager/wpdm-all-downloads.php
https://www.dropbox.com/s/ev77auo5vt8a3wj/wpdm-all-downloads.php?dl=1
Download Issue: When you use the main download button to download all files WPDM creates a compressed zip to serve the download. Creating a zip requires lots of server resource and if there are too many files some servers can’t handle the request. That what happened in your case. So, the solution here is enabling single file download or just upload an already zipped file.
Naming issue: Download Manager renames a file when there is an existing file with the same name. You can enable the override if you want in which case the old file will be overwritten by the new one instead of using a new name.
Link expired notice: WordPress uses nonce in all actions. And nonce expires after a defined period. So, you can’t create the pacakge that you opened yesterday. Just upload your files using WPDM asset manager or FTP app. The link the server dir when creating the package.
No, it is not possible to create pacakge automatically without clicking the “Create Package” button.
I have added the custom CSS in Customize > Additional CSS option. So those won’t be lost in plugin update. But if you make any changes inside plugin folder changes will be lost when you update the plugin.
Hi,
You have to modify your theme’s single.php template to add the next/prev link in package details page. Please download one of our free themes. You can copy the code from there.
Thanks.
This reply has been marked as private.
There is a difference between your WordPress-address (URL) https://www.vphuisartsen.nl/2018 and Siteadres (URL) https://www.vphuisartsen.nl The issue originated from there. I have updated the Block Hotlink add-on to handle this scenario. Downloads are working now
Hi everyone,
I would like to replace the “Download” text in Download Link Button with another text “Descarga”
Any idea what I have to do?
Thank you very much
Looks like guest order redirect isn’t working properly yet. But the login page does show button that links to the guest download page. For now, that somehow serves as a work around. But we will definitely fix the issue in next update.
Btw, Stripe Test card is 4242 4242 4242 4242 with any expiry date and CVC.
You can customize the checkout form using a custom template. The form is coming from /wpdm-premium-packages/templates/checkout-cart/checkout-billing-info.php. This template can be overridden by copying it to /active-theme/download-manager/checkout-cart/checkout-billing-info.php. After making the copy edit the new file to remove unnecessary fields.
Pro Purchased! SO…the 2 hooks ‘View Course’ and ‘Take Quiz’, I found this:
https://www.wpdownloadmanager.com/doc/filter-reference/wdm_before_fetch_template/
Where does this get placed/edited if that’s what needs to happen. The buttons in question will more than likely be links to a webpage/url and not a file they would need to download locally.
Thanks
Scott
Thanks for the answer Shahriar.
Unfortunately it doesn’t work like this. It is still showing me only the symbol, not a list.
Do I make any mistakes? I think it is only necessary to put the shortcode of the package into the new page I built for it??
When I click on the Download Link of the not propperly shown Download symbol a blank/empty page appears with the URL: “myURL.com/download/packagename”
Within the preview function I’d also like to have some sort of timeline where I can jump around within one track.
Thank you!
All my download links do not work anymore. Maybe aftre updating the packahe? Or after installing recaptcha v3?
Downloads
You need Pro if you want to do this with single shortcode and single package.
1 ) Create a package and add both files. Pro supports multi-file package.
2 ) Create a custom link/page template to get your intended UI.
By default, WPDM uses a table or Box like UI to display multiple files with the same “Download” button label ( http://prntscr.com/panswf )
But we have to create 2 custom template tags in your case to use different button labels for video and quiz links. It is possible using wdm_before_fetch_template hook.
You can use the category shortcode with paging=0 parameter. For each category use one category shortcode. Shortcode doc link https://www.wpdownloadmanager.com/doc/short-codes/wpdm_category-query-all-downloads-from-one-or-more-categories/
Another option is using the tree shortcode you tried but that requires some code customization to limit the number of packages. You have to replace 'posts_per_page' ► 9999 with 'posts_per_page' ► 3 in /plugins/wpdm-extended-shortcodes/wpdm-extended-shortcodes.php file.
Hi,
Please unlock the key from your old URL. You can do it from the order details page. Just click the ey button and remove the domain from modal. Then save the key on your new setup. That will fix the “invalid key” issue.
The “invalid download link” issue doesn’t seem to be related to the key. Please check your package permissions again and if you can’t find any issue there send temporary wp-admin login info in private reply.
Thanks.
This reply has been marked as private.
Thank you. I’ve not checked that out yet but in the meantime, I’ve uploaded a test package, labeled Somebody23897349, this file contains 191 files and is a little over 1200 mb in size (this is on the smaller size of something we would be using this plugin for). When I click on download for this package, I get this link –
http://sebrieimages.com/download/somebody23897349/
then it redirects to
http://sebrieimages.com/download/somebody23897349/?wpdmdl=14566&refresh=5d8a13e90386e1569330153
And what ends up displaying is a generic parked domain page, as if the dns hasn’t been updated. I called my host and they said there wasn’t anything they could do on their end.
Also,
1. Some of the files in that test package were renamed with this prefix 1569258750wpdm_ by the plugin (It was only some at the end). I did a test upload as our users would upload, (only in the back end by going to downloads > add new) by leaving the upload to run overnight and in the morning hitting create package. This morning when I hit create package there was an error that said the link expired and it loaded a blank add package creation form. However, when I checked the package itself in the back end, it looks as if it uploaded fine, I just can’t download it because of the above issue.
2. Is there a way to get the files to save automatically without hitting create package on the front end?
3. When I update the plugin, will the custom edits stick or do I need to back up something?
Hi,
I try to build a shortcode, to show me the last 3 Downloads from a Category but i miss the Limit parameter.
[wpdm_category id="update-apk" operator="IN" order_by="post_date" order="desc" item_per_page="3" template="link-template-bsthumnail" cols="1" colsphone="1" limit="3"]
Found no info in the documentation for shortcodes how to limit the results.
Br
You have to create a custom link template to use the tag [file_thumb_0] Clone an existing template and edit on top of it. After saving this custom template use the template id in your shortcode’s link_template parameter.
Template customization how-to: https://www.wpdownloadmanager.com/building-a-wordpress-download-manager-link-template-from-scratch/
I use my Download Manager Pro on a local server, and it was working. i re-installed wordpress, and when i tried validating my license key it says “invalid license key” for the past two days. Then suddenly today i cannot download anymore, it says “invalid download link”. Please respond quickly it’s urgent.
I see that it stripped out my links. Let me try to add them
page on our site
Your demo page
Also, your related posts in this forum are showing horrible spam.
Hi,
We are adding a patch in next release to fix the issue.
For now, you can remove the following CSS from /download-manager/assets/css/front.css file. You will find it at the bottom of the file.
.w3eden .link-template-default.thumbnail .wpdm-download-link.btn{
padding: 0 20px !important;
line-height: 48px !important;
font-size: 12pt;
margin: 0;
}
Best regards.
Hi Shahriar and All,
Please feel free to delete this message if you don’t want the link on your forum. I won’t be offended!
I have been using a plugin that allows me to edit Downloads and Users many at a time. You can edit almost everything about a Download, User and many other items. You can easily edit 100 Downloads to change the link template or picture or enable comments. I didn’t find anything I couldn’t edit yet and it has saved me hours or perhaps days of time.
Bulk Edit Posts and Products in Spreadsheet
That is the free version. You need the paid version to be able to edit WPDM Downloads. There are a few free versions available or there is a combination package for the paid version.
Anyway, I don’t usually mention something like this but it is so useful I feel like I have to post it. It is the solution I have been searching for to be able to bulk edit almost anything within WordPress.
Also, I think you won’t need to make the bulk import of users with memberships for me now. I think I will be able to use this. I’ll let you know.
Best wishes,
Mike
Hi
I am using pro version. I am getting problem with plugin.
https://url.upwork.com/_011iSvSAVwobCGVJ1NdPt1gQPq-aU_rV2j
all anchor link are converted into simple text(hyperlink removed). Please let me know
Regards
Virendra