Unfortunately, I discovered that the pages of the individual files are also active, visible to all and Google has already indexed.
I already tried with a rule on htaccess but it also blocks wpdm in administration
Very thanks!
If I restrict delete_posts, it applies to all post types and I can’t find a way to then allow delete_posts to WPDM only. Is this possible?
]]>I use the manual from here:
https://imsas.github.io/wpdm-rest-api-docs/#authentication
//No matter which of the methods I use, I always get the same error
$authorization = 'Authorization: Basic {base64("xxxx:yyyyyyy")';
//$authorization = 'Authorization: Bearer KEY_CREATED_IN_WPDM_API_PUGIN';
$url = "https://xxxxx.com/wp-json/wpdm/v1/packages/";
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_HTTPHEADER, $authorization );
curl_setopt($curl, CURLOPT_HTTPHEADER, "Content-Type: application/json" );
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
$resp = curl_exec($curl);
curl_close($curl);
var_dump($j_result);
Result = {"code":"rest_forbidden","message":"You cannot view the post resource.","data":{"status":401}}"
Does the API really work or where is my mistake?
Thank you for your help
Uli
]]>the problem is when a client wordpress is leaving the shop , he is redirecting to the WPDM page connexion : https://www.uniqandco.com/extranet/!? and not to the my account page : https://www.uniqandco.com/mon-compte/
is it possible to separate this ???
IF somebody can help ?
THank you very much
After upgrading to WordPress 6.0, the shortcode [wpdm_category]
began having big issues on all the pages where I use it.
It only shows one download on first row, at a random position (seemingly depending on shown category).
Using PHP 8.0
Wordpress 6.0
Shortcode sample : [wpdm_category id="logos" title="1" desc="1" toolbar="1" paging="0" items_per_page="9999" template="link-template-bsthumnail" cols=4 colspad=2 colsphone=1]
Fiddling with the shortcode attributes, or the displayed category never solved this.
Only rolling back to WordPress 5.97 solved the display problems.
If you go to downloads, edit an existing download, scroll down to custom fields, you should see already existing fields (like “location” or “label”). If you set a value for one of these custom fields, wpdm in earlier versions was able to display those in shortcodes, e.g.:
[wpdm_all_packages thumb=1 items_per_page="10" jstable=1 order_by="page_link" order="ASC" cols="page_link,package_size,location|categories|publish_date|download_link"]
This doesn’t work anymore. One could also create new custom fields*, set values and use those in shortcodes. This also doesn’t work anymore.
We are using wpdm 3.2.36 with wordpress 5.9. The use of additional metadata is very useful, so I would be really glad, if this could be fixed.
Unfortunately, I don’t have a live-site, I could provide. But I could post some screenshots if needed. Don’t hesitate to ask for this, if it should be helpful.
* Go to downloads, edit an existing download, scroll down to custom fields, under name choose enter new, enter a name (like: referencenumber) and a value (like: ab-1234) and click add custom field and of course update to save the changes. Now the download has an extra metadata-field, which could be used in older versions of wpdm in shortcodes like:
[wpdm_all_packages thumb=1 items_per_page="10" jstable=1 order_by="page_link" order="ASC" cols="page_link,package_size,location|categories|publish_date|download_link"]
Great plugin, keep up the great work
Just recently (maybe in a recent update?) the datatable no longer works on WPDM.
On closer inspection it appears bootstrap.min.js.map in /plugins/download-manager/assets/bootstrap/js cannot be found and throws the error ‘TypeError: $(…).dataTable is not a function’ in the browser console for /wp-includes/js/jquery/jquery.min.js.
I’ve tried clearing cache, swapping themes and even looking for bootstrap.min.js.map in an older backup but cannot find it to resolve the problem.
My shortcode:
[wpdm_all_packages jstable=1 items_per_page=20 …]
Has anyone else experienced the same issue or know how to fix?
Thank you
]]>