Are using directory add on and advanced access control add-on both on your site, please share your related URL and if possible, please, give your temporary wp-admin login details in a private reply for checking the issue.
Thanks
Are you trying to add this custom attribute?
assetName: $(this).data(‘downloadurl’),
fileName: ‘FILE NAME’,
fileResource: ‘PDF’,
userGroup: ‘LOGGED IN’,
marketName: ‘MARKET’,
please let me know
thanks
Hello, so is it possible to restrict the category page that is set in the basic setting “WPDM Category URL Base” using the directory add-on alone?
It says to enter an auth token and tell me this is the url
Get your ZOHO Authentication Token HERE
https://accounts.zoho.com/apiauthtoken/create?SCOPE=ZohoCRM/crmapi
but Zoho hasn’t used Auth Token in quite some time
This is the #1 reason I purchased this plugin. please fix this ASAP
I just bought the developer version of the Directory Addon and your category filtering is NOT working. I am using the following shortcode pulled from your site:
[wpdm_archive_filter items_per_page=”10″ cols=1]
Here is the url where it is not working: https://wordpress-205329-1756326.cloudwaysapps.com/downloads/
As you can see the category filter and date range filter on the left hand side do not work at all. The tags filter, however, does work.
I have deactivated all plugins and this is using the OceanWP theme. I have also tested it in the 2021 theme and it doesn’t work there either.
Thanks
Hi,
You don’t have to disable cache from all pages, just exclude the following pages:
# Cart Page: The page where you used the shortcode [wpdmpp_cart]
# Login page: the page where you used the shortcode [wpdm_login_form]
or GB login block
# Registration page: the page where you used the shortcode [wpdm_reg_form]
or GB signup block
# Account page: the page where you used the shortcode [wpdm_user_dashboard]
or GB user dashboard block
If your cart page URL is https://www.wpdownloadmanager.com/cart/, you need to add the rule /cart/(.*)
and so on for others.
Listen me please, I also entered this command /(.*) in wp rocket / Advanced Rules / Never Cache URL (s)
and it worked.
This means I have disabled the cache for any folder, page, post.
But obviously this is not good and I only have to deactivate the folder / page in order not to have the problem with the cart.
Please can you tell me which one to deactivate in addition to the ones you told me.
I wish I could do it myself, I’m sure if you try wp rocket on your own test website it will give you the same problem.
(I have never had this problem with woocommerce and I have around 30 ecommerce websites using woocommerce and wprocket)
Thanks so much
I think if redirected with a 302 error code redirects that aren’t attributed to plugins, that can be the database, htaccess
and all the other usual suspects then it’s possible someone edited this at some point to customize it. you can also WordPress Address (URL) and Site Address (URL) issue too, please check if they are same or not
thanks
We have gotten this far but the we can’t get the file to attach in modal form. pm-modal-form.php
<?php
if(!defined("ABSPATH")) die("Shit happens!");
?>
<div class="w3eden">
<div class="modal" data-backdrop="static" data-keyboard="false" tabindex="-1" role="dialog" id="wppmsg-to-author">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header bg-light">
<h5 class="modal-title p-0 m-0"><?= __("Send Message", PM_TEXT_DOMAIN); ?></h5>
</div>
<form class="form" role="form" method="post" id="messageform" autocomplete="off">
<div class="modal-body">
<input type="hidden" name="__send_to" id="__send_to" value="" />
<div class="form-group">
<input type="text" placeholder="<?php echo __("Subject", PM_TEXT_DOMAIN) ?>" name="subject" class="form-control input-lg" required />
</div>
<div class="form-group">
<input type="text" placeholder="<?php echo __("Quote #", PM_TEXT_DOMAIN) ?>" name="subject" class="form-control input-lg" required />
</div>
<div class="form-group mb-0">
<textarea placeholder="<?php echo __("Message", PM_TEXT_DOMAIN) ?>" class="form-control" name="message" id="message"></textarea>
</div>
<button id="wpdm-browse-button" style="text-transform: unset" type="button" class="btn btn-link"><i class="fa fa-paperclip"></i> <?php echo __("Attach File", PM_TEXT_DOMAIN); ?></button>
</div>
<div class="modal-footer bg-light">
<button type="button" data-dismiss="modal" class="btn btn-secondary"><?php _e('Close', PM_TEXT_DOMAIN) ?></button>
<button type="submit" class="btn btn-primary"><i class="fas fa-paper-plane"></i> <?php _e('Send Quote', PM_TEXT_DOMAIN) ?></button>
</div>
</form>
</div>
</div>
</div>
</div>
<style>
#wppmsg-to-author {
background: rgba(0,0,0,0.3);
}
.w3eden #wppmsg-to-author .modal-content {
box-shadow: 0 1px 20px rgba(0,0,0,0.1);
}
</style>
<script>
jQuery(function($){
var uploader = new plupload.Uploader(<?php echo json_encode($plupload_init); ?>);
uploader.bind('Init', function(up){
var uploaddiv = $('#wpdm-upload-ui');
if(up.features.dragdrop){
uploaddiv.addClass('drag-drop');
$('#drag-drop-area')
.bind('dragover.wp-uploader', function(){ uploaddiv.addClass('drag-over'); })
.bind('dragleave.wp-uploader, drop.wp-uploader', function(){ uploaddiv.removeClass('drag-over'); });
}else{
uploaddiv.removeClass('drag-drop');
$('#drag-drop-area').unbind('.wp-uploader');
}
});
uploader.init();
uploader.bind('Error', function(uploader, error){
wppmsg_bootModal('Error', error.message);
$('#wmprogressbar').hide();
$('#wpdm-browse-button').show();
});
uploader.bind('FilesAdded', function(up, files){
$('#file__attachments').slideDown();
$('#wpdm-browse-button').hide();
$('#wmprogressbar').show();
plupload.each(files, function(file){
$('#wmprogress').css('width', file.percent+"%");
$('#wmloaded').html(file.percent);
/*jQuery('#wpdm-browse-button').hide(); //.html('<span id="' + file.id + '"><i class="fas fa-sun fa-spin"></i> Uploading (<span>' + plupload.formatSize(0) + '</span>/' + plupload.formatSize(file.size) + ') </span>');*/
});
up.refresh();
up.start();
});
uploader.bind('UploadProgress', function(up, file) {
/*jQuery('#' + file.id + " span").html(plupload.formatSize(parseInt(file.size * file.percent / 100)));*/
$('#wmprogress').css('width', file.percent+"%");
$('#wmloaded').html(file.percent);
});
uploader.bind('FileUploaded', function(up, file, response) {
res = JSON.parse(response.response);
__attached_files.files.push(res);
$('#wmprogressbar').hide();
$('#wpdm-browse-button').show();
});
$('#del-img').on('click', function () {
$(this).html('<i class="fa fa-sun fa-spin"></i> Deleting...');
$.post('<?php echo admin_url('admin-ajax.php'); ?>', {action: 'delete_attachment'}, res ► {
$('#__attachment').attr('src', '<?php echo PM_BASE_URL.'assets/images/image.png'; ?>');
$('#__attachment').val('');
$('#del-img').html('Delete Image');
});
$('#profile-button-message.profile-button.instant').on('click', function (e) {
e.preventDefault();
var menu = $(this).data('menu');
$('#wpdm-ppm').modal('show');
});
$('#wppmsg-to-author').on('shown.bs.modal', function (event) {
var button = $(event.relatedTarget);
$('#wppmsg-to-author .modal-title').html(button.data('title'));
$('#__send_to').val(button.data('user'));
})
$('#messageform').submit(function(){
$('#messageform').addClass('blockui');
$(this).ajaxSubmit({
url: wpdmpmAPI.send_message,
beforeSubmit: function ( arr, $form, options ) {
console.log($form);
console.log(arr);
options.headers = {'X-WP-Nonce': wpdmpmAPI.nonce}
},
success: function(res){
if(res.error === true)
WPPMSG.notify("<b>Error!</b> "+res.message, "error");
else{
WPPMSG.notify("<b>Success!</b> Message Sent", "success");
$('.form-control').each(function(){
$(this).val('');
});
$('#alertdiv').fadeOut(3000,function(){
$(this).html('');
$(this).attr('style','');
});
}
$('#messageform').removeClass('blockui');
$('#wpdm-ppm').modal('hide');
},
error: function (error) {
console.log(error.responseText);
}
});
return false;
});
});
</script>
Hi,
You are seeing 0KB as they are added as URL, for the URLs, you need to enter the size manually, however, we are coming with an automated option for media library files.
Yes, something like this.
In short: I have a download section with different categories.
If people upload a “Track“, they have to fill out fields related to “Tracks“.
If people upload a “Car“, they have to fill out fields related to “Cars“.
Fields not applicable for the category they choose, they leave empty.
Like in this example:
This is a “Track” upload, so this “Car” related fields they keep empty:
Related url: https://www.revoltworld.net/download/thegreatsilence
In the Download page of the upload, it looks like this:
For example, one of the visible Advanced Custom Fields I configured like this:
Field Type “Select”, and one line filled with a space (” “), so not the first entry show by default:
In my custom template, I have this code section:
<li class="list-group-item d-flex justify-content-between align-items-center [hide_empty:acf_AdditionalCarInfo_carenginetype]">
[txt=Engine]
<span class="badge">[acf_AdditionalCarInfo_carenginetype]</span>
</li>
So I want to hide the “Car Engine” field, if it’s empty.
I guess it is still visible, cause a Space (” “) is inside the field.
So:
1) How can I hide fields filled with Space
2) Should I configure the Advanced Custom Field in a different way, so by default a real empty value will be choosen?
Thanks a lot for your help.
I really like your plugin, and I hope I can get it to work.
Hello,
We are using WordPress version 5.5.3
Our Download Manager add-on is at version 5.2.4
We are using the following Page Template for a package:
<div class=”thumbnail”>
<div class=”media”>
[icon]
<div class=”media-body”>
[page_link]<br />
Released: [create_date]<br />
Updated: [update_date]<br />
Downloads: [download_count]<br />
[download_link]
</div>
</div>
</div>
The download link looks like this:
https://enea-my.sharepoint.com/:i:/g/personal/mitu_enea_se/EecFQ1jNfzpNhqccLJPFeXoByt17m5BBmIPwcq7e1Lp9Ug?e=j4QRZR
and clicking on it does NOTHING.
While using an older version of the WPDM, the download link looked like this, and the download worked:
https://enea-my.sharepoint.com/:i:/g/personal/mitu_enea_se/Ea3uhf2237ZEijRFMw0JyxgBMZMW2GV-o3x6CuxaHkCKoA?e=UcqRL8
We noticed that when using the [file_list] along with Single File Download attribute Enabled, the Download link/button looks OK and it works.
How can we make the download link work again?
Thank you,
Mihai Nitu
Are you using WPDM-Cart addon, please let me know, if possible, please share your related URL
thanks
Basically, Email goes to spam folder the reasons are,
1. You haven’t set up proper authentication
One of the biggest issues with email spam is lacking proper authentication.
Think of when people call you on the phone:
If you see it’s someone from your contacts, you’ll pick right up because you know exactly who’s calling.
If you see a random number, you might assume it’s another robocall and just ignore it.
It’s the same with emails. There are technologies that you can use to authenticate your emails which will automatically make you look more trustworthy in the eyes of spam filters. Instead of being a random number, you’ve proven who you are and that you actually control the domain name that you’re sending from.
The biggest tactics are:
DKIM (DomainKey Identified Mail)
SPF (Sender Policy Framework)
DMARC – requires you to already be using DKIM and SPF
If you’re using a custom email address and you haven’t set up these authentication methods, that’s one of the biggest reasons why your emails are going to spam. Later in this post, we’ll show you what you need to do.
2. Your sender information is inaccurate or missing
In addition to lacking technical authentication tactics like DKIM and SPF, inaccurate sender information can also cause spam issues:
Inaccurate From/Reply-To info – make sure the email address that you’re sending from matches the sender and your authentication information.
Lack of physical address – the FTC requires that you add a physical address to your bulk emails. This is why you’ll typically see an address at the bottom of every marketing email.
Add your physical address to emails
3. You’re using words or punctuation that are spam triggers
Put simply, there are just some words or punctuation patterns that seem spammy.
For example, “meet singles” or “online biz opportunity”. By themselves, these words might not be enough to land you in the spam filter. But they will attract attention and, when combined with some of the other issues on the list, can end up with your emails going to spam.
Additionally, avoid other spammy tactics like:
ALL CAPITALS
Lots of exclamation marks!!!!!!
An onslaught of emojis ❤✨🔥👍🥺 (a few emojis are ok – just don’t abuse them)
Similarly, using poor grammar or misspelling words can also trigger spam filters, as many spammers use machine translation to translate their spam emails into English.
4. You’re using a bad email list
If you’re sending bulk emails to a list of subscribers, there are a few things that can get you into hot water:
No permission – if you didn’t receive explicit opt-in from subscribers, that can lead to spam issues.
Stale list – if your list contains lots of inactive/disabled email accounts where emails bounce, that looks spammy to filters.
Low engagement – if your emails have very low open rates, ISPs might take this as a sign that your subscribers don’t want your emails, which can increase the list of getting marked as spam.
5. You’re linking to shady websites or using misleading links
The main purpose of most spam emails is to get you to click on some type of link, so it’s no surprise that using the wrong types of links can get you in trouble when it comes to spam.
There are two main things that can cause issues here:
First, you might be linking to a website that seems spammy for some reason. For example, maybe it’s associated with copyright infringement, has been infected with malware, or some other reason. Or, maybe it’s totally legit, but it’s very close to another domain that is spammy.
Second, you can get in trouble if the destination URL doesn’t match with the display URL. For example, if the display URL is https://google.com but the actual link is https://anotherwebsite.com, that can get you into trouble because this is a common tactic that spammers use to trick people into clicking links.
Similarly, using URL shorteners can also cause issues for the same reason (you might be trying to trick people into clicking links they might not otherwise click on).
6. You’re using too many images (or not enough text with images)
Images can also get you into trouble with spam filters.
There are two ways that this can happen:
First off, if you have a large image in your email and little to no text, that can trigger spam filters. This one ties to the “spam words” point from above. To avoid getting hit with spam filters for using spammy words, some spammers moved to including all of the text in a single image file, rather than as actual text.
Because of this, sending a single image looks suspicious to spam filters.
You can also run into problems in the other direction, though. If you use a lot of images and very little text, that can also get you into trouble.
Basically, using images as a replacement for text can get you into trouble, don’t do that!
7. You’re sending too many attachments
Because attachments are used for distributing malware or other malicious activities, they’re always going to attract attention from spam filters, especially certain file types (like an .exe file).
8. Your recipient marked you as spam (maybe accidentally)
In many email clients, users have an option to manually mark emails as spam.
If the person who you’re trying to email previously marked your emails as spam, new emails that you send will also likely end up in the spam folder as well.
Additionally, if you’re sending out bulk emails, too many people marking your emails as spam can negatively affect your reputation as a sender. This can increase the chances of your emails ending up in spam even when you send to people who didn’t mark you as spam.
I hope you have understood
thanks
Hi Nayeem
I’m not sure I understand your comment Which <div> are we talking about the main templates div? or is it the div that surrounds the Shortcode.
My content template had the following divs
<div class=”container main_cont”>
<div id=”the_content”>
<?php if (isset($author)){ echo “<p class=’author’>By ” . $author . “</p>”; } ?>
<?php if ( $lead ) : ?>
<?php echo “<div class=’first-paragraph’>” . $lead . “</div>”; ?>
<?php endif; ?>
<div class=”content-back-white”>
<?php the_content() ?>
</div>
</div>
</div>
the output from you shortcode is:
<div class=”container-fluid” id=”wpdm-all-packages”>
<table id=”wpdmmydls-558e44bebbeb83c94a238e746acd9399″ class=”table table-striped wpdm-all-packages-table”>
<thead>
<tr>
<th class=””>Title</th>
<th class=”hidden-sm hidden-xs”>Categories</th>
<th class=”hidden-xs”>Create Date</th>
<th style=”width: 100px;”>Download</th>
</tr>
</thead>
<tbody>
<tr>
<td style=”background-image: url(‘https://www.tetramap.com/wp-content/plugins/download-manager/assets/file-type-icons/zip.png’);background-size: 32px;background-position: 5px 8px;background-repeat: no-repeat;padding-left: 43px;line-height: normal;”>
<b>Develop people and business the way nature intended</b><br><p>TetraMap book (EPUB and MOBI formats)</p>
<small><i class=”fa fa-folder”></i> 1 files
<i class=”fa fa-download”></i> 256 downloads<br>
<span class=”hidden-md hidden-lg”>eBook<br></span>
<span class=”hidden-md hidden-lg hidden-sm”>January 9, 2018</span>
</small>
</td>
<td class=”hidden-sm hidden-xs”>eBook</td>
<td class=”hidden-xs” data-order=”1515456000″>January 9, 2018</td>
<td><i class=””></i>Download Now</td>
</tr>
<tr>
<td style=”background-image: url(‘https://www.tetramap.com/wp-content/plugins/download-manager/assets/file-type-icons/pptx.png’);background-size: 32px;background-position: 5px 8px;background-repeat: no-repeat;padding-left: 43px;line-height: normal;”>
<b>eBook PowerPoint slides</b><br><p>eBook slide to add to PowerPoints</p>
<small><i class=”fa fa-folder”></i> 1 files
<i class=”fa fa-download”></i> 161 downloads<br>
<span class=”hidden-md hidden-lg”>eBook<br></span>
<span class=”hidden-md hidden-lg hidden-sm”>January 9, 2018</span>
</small>
</td>
<td class=”hidden-sm hidden-xs”>eBook</td>
<td class=”hidden-xs” data-order=”1515456000″>January 9, 2018</td>
<td><i class=””></i>Download Now</td>
</tr>
</tbody>
</table>
<div class=”text-center”></div>
</div>
so i cannot see any naming or code that is wrong for that matter so your answer has confused me more? sorry could you be moree specific please?
Hi,
Please use the dropbox add-on https://www.wpdownloadmanager.com/download/dropbox-explorer/ instead of using direct dropbox URL
thanks
Hi,
I have checked that with this package, https://www.eftex.dk/downloader/wpdm-test/, WPDM Cart is working fine. When you attach files from media library as URL WPDM simply redirect to that URL when a user clicks on the download button, but when you upload a file directly or attach a file from server as server path, WPDM handles the download process and so there it can decide whether the file will open in browser or force download. So, if your file is already in the media library, and you want them to download instead of open in browser, please attach those files using the server file browser instead of the medial library file selector. Moreover,
When attaching a file from the media library, it is added as URL, for URL ( local or remote ), only single file download will work, I think you would better use uploading file from select files option, it is working fine for file-cart option
Thanks.