Create page with [directorist_search_result] and go to this page.
Make a search in directorist plugin.
Error - [You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') AND wp_posts.post_type = 'at_biz_dir' AND ((wp_posts.post_status = 'publish...' at line 1]
The problem
The wpdm-archive catch my directorist WP_Query in this file (wordpress/wp-content/plugins/wpdm-archive-page/wpdm-archive-page.php)
function Where($where){
...
}
Multiple replace add wrong parentheses and failed my WP_Query.
My workaround
Add if (strpos($where, 'at_biz_dir') !== false) return $where; in function Where($where)
Example :
function Where($where){
global $wpdb;
// print_r($wpdb->prefix);
// Directorist workaround
if (strpos($where, 'at_biz_dir') !== false) return $where;
if( (!isset($_GET['wpdmtask']) || $_GET['wpdmtask'] != 'get_downloads') && !isset($_GET['q']) ) return $where;
if( (!isset($_GET['search']) || $_GET['search'] == '') && !isset($_GET['q']) ) return $where;
// Return because advanced search does not have a search keyword
if( isset($_GET['q']) && $_GET['q'] == '') return $where;
$where = str_replace(array("\n", "\r",""), "", $where);
$where = str_replace("AND ( ( ".$wpdb->prefix,"OR ( ( ".$wpdb->prefix, $where);
$where = str_replace(")) AND ".$wpdb->prefix, ") ) ) AND ".$wpdb->prefix, $where);
if(strpos($where, "post_type = 'wpdmpro'")) $where = str_replace("(((".$wpdb->prefix,"((((".$wpdb->prefix, $where);
return $where;
}
Chiming in to say I have the same issue – 1.7.5 is the version in my purchase downloads. My account is active. Updating Download Manager or attempting to update Form Lock completely removes the Form Lock plugin from the site! I was able to update Download Manager, but then had to reinstall Form Lock. Perhaps you should remove the update notification for 1.7.6 since it is not actually available and is causing the plugin to be deleted? This has been going on for at least two months.
Am I right in thinking if we are not comfortable in updating/modifying .php files etc, we have to pay $49 to simply be able to allow for any selected file download to open a new tab/window?
I’ve have just had this comment in from my client who is viewing the draft download page for her site: “Can the pdfs open in a new window – I find that I am always dropping out of websites when a close pdfs” and do not really want to go back and say she needs to fork out more money.
I upgraded from the free version for only being able to supply her with a better stats report to show who and how many downloads have taken place for particular files. We do not even need to use icons etc (see previous support question)
I have just update my clients site to the latest versions of wordpress and updated all plugins. However now, the download links on the downloads page are not working. Clicking on the link does nothing, whereas it was opening/downloading a pdf.
Yes, the cache issue will only happen for the device previously opened the page, also, that should be temporary, as eventually browser cache clears automatically.
“Unmask Download Link” only will affect the public download link and when you unmask link they are easily crawlable by bots. But private downloads are always secure.
Why is it all so complicated and involves so much effort? A box with “open in a new tab” in the settings would be much easier 😉
Is it possible to set that every new download is set with the default template or do I always have to specify this for every file?
with the previous 47 downloads I have to change it manually everywhere. 🙁
You can do it by applying to allow access options to the particular package. And from the Downloads > Settings > Basic, you can do Access Settings ► When user is not allowed to download ► Only Block Download Link. Thus only given access members can download the file.
I’m having the same issues with all desktop browsers. The download links worked before the latest update (3.1.02) when the link masking was turned on. I have turned off the link masking and now the downloads work. Will you fix the issue in the next update so we can go back to masking the links?
Can you please enabling/disabling style/scripts from Downloads > Settings > User Interface for checking. then let me know and also you delete install again the plugin, you won’t lose any data.
All downloads are given #-url’s instead of downloads. Adding a single file to a page with [wpdm_package id='4483'] code works for me (tested one document). Also notice that the title of the document is no longer a hyperlink but only a title.
All the previously working download buttons are broken in google chrome in a large professional site I manage. This happened after the latest update that I installed this morning. This is very urgent, as downloads are a major part of my clients site.
The download buttons still work in Microsoft edge
To enable the auto-update, login to your WPDM account from the Downloads > Settings > License tab. If login is successful and you have an active subscription then you can update the future releases right from your plugins page.
Importing Products: You can create a CSV file with product data following wpdm importable CSV file form and import them to wpdm in a click. Please follow the doc: https://www.wpdownloadmanager.com/doc/bulk-import/
Import Customers/Clients: If they are WordPress users, you don’t need to change anything here, otherwise, you may use user import plugin from wp.org
Assigning products to customers: there are 2 ways:
You may use Premium Packages Add-on, install and activate it, then go to Admin Menu ► Downloads ► Orders ► Create order manually and assign to existing customer. Customers will be able to download the products from User Dashboard ► Purchases Menu
Or, you may use Advanced Access Control add-on, and from edit package with you can assign a package to sepcific users. Customers will be able to download assigned items from User Dashboard ► My Downloads
Is there a simple way to add a product to a client’s account without having the client going through the steps of buying it?
I want to migrate my client list from an external digital download delivery system and manage everything from my own website. But I already have 300+ clients who have collectively bought 1000+ products. Once the client have registered on the website, is there a way for me to easily ad the products they already purchased so that they can have access to downloads and updates right from they account page?
Ideally I would like to import the clients + their purchases from CSV. Is that possible?
Hi, I’ve installed the WordPress Download Manager plugin with the Advanced Access Control add-on. I’ve seen that to show the packages shared with a particular user we use the [wpdm_my_downloads login=1] shortcode.
But I have a problem. I use it but it doesn’t show. Am I doing something wrong? I leave a picture of what’s going on.
Is it possible to “Link” downloads together, like a related products feature. I have one file available in 3 formats, so I would like to display all three format download buttons on one download page.
A month ago all downloads were working. In the past two weeks, three out of twelve downloads do not have complete download links.
A functioning link looks like https://irch.com/subscription-downloads/#pkg_7749_5ef23f1762790
The problem links look like https://irch.com/subscription-downloads/#
The downloads were using the FTP function. I relocated the FTP downloads to the public_html/wp-content/uploads/download-manager-files directory.
I recreated a download page for a problem download and the incomplete download link condition continues.
Please let me know if additional information is needed. Thank you and I appreciate your help with this.
Gary Brown
This topic was modified 5 years, 9 months ago by Gary Brown.
I’m adding the downloads to my page using the standard shortcode that only has the item ID in it. I would like to be able to ask the browser to open the pdf/download in a new browser window since many of the links we are opening are not on my website. I basically want the target=”_blank” functionality. I assume the best way to do that is with the shortcode. I don’t see any general settings for the plugin that would allow that.