Found the plugin that is incompatible suddenly. It’s an old plugin so some WPDM code made it incompatible. For now we disabled it to try and debug.
Changing to another theme has no effect, same error. We’ve never had this problem until latest WPDM updates (not sure what was the previous version). And our theme is the same for years.
Found it. Can you give me a link for directory add-on (archive page) aswell?
Thanks. Is there a way to upload my translations to wp translate website? I don’t want to copy paste every single line…
Still no answer until today and no solution. Still having also issues regarding multilingual etc.
Sorry to say but support could be better.
And another thing. When directory add-on is installed, there is no languages folder.
So I need to create languages folder and manually upload my language files. THen it works. But it has to be done after every update.
Oh, and everytime I update wpdm, first I need to go and resave license. THen I can update. Also, all my language files for wpdm get deleted so I need to reupload them.
Yes. However, I have just learned that everytime I do the add-on update thru WPDM, it actually deletes whole add-on. Clicking on INSTALL does not work. So I had to download it again and manually install it. THis was also a problem with 4.0.0
This isn’t working.
[wpdm_archive category=”zakonodaja-si” button_style=”info” items_per_page=25 link_template=”ena_vrstica_slovensko” cols=1 showcount=1]
Bostjan
And btw, 5.3.0 + directory add-on again breaks shortcodes.
What is now wrong with this: [wpdm_archive category=”si” button_style=”info” items_per_page=25 link_template=”one_custom” cols=1 showcount=1]
Thanks
I have the same issue, no cache turned on expect by default in browser. Perhaps the solution would be to add a random parameter at the end of url like ?random=04u3r10r032rweq to prevent browser from caching the link…
above suggested code works for my problem.
It seems the code has been severely rewritten in v 4.0.0?
Seems the problem is in your file WPDM\AddOn\ArchivePage\Templates\Starter
line:
if (wpdm_valueof($params, ‘showcount’, [‘default’ ► 0, ‘validate’ ► ‘int’]) === 1 && !is_user_logged_in())
return wpdm_login_form(array(‘redirect’ ► $_SERVER[‘REQUEST_URI’]));
which would mean that if I use SHOWCOUNT=1 then it checks if user is logged in. Which makes no sense. Perhaps this would be a correct line:
$login = wpdm_valueof($params, ‘login’, 0);
if (wpdm_valueof($params, ‘login’, [‘default’ ► 0, ‘validate’ ► ‘int’]) === 1 && !is_user_logged_in())
return wpdm_login_form(array(‘redirect’ ► $_SERVER[‘REQUEST_URI’]));
this is my exact shortcode:
[wpdm_archive category=”zakonodaja-si” button_style=”info” order_by=”post_title” order=”asc” items_per_page=25 link_template=”ena_vrstica_slovensko” cols=1 showcount=1]
if I add login=0 or login=1 it’s the same – page locked
One more issue with latest version: pages are locked to logged in users. login=0 attribute does not help.
How do I unlock the page as it was?
Thanks
new update of directory add on has missing “languages” folder. I’ve created it under plugins/wpdm-archive-page/ and copied my own translations and now it works again…
Also:
– now it properly does not show all-downloads until you select a category BUT breadcrubs still show “Home All downloads” (make no sense).
– my translation works on HOME ALL DOWNLOADS on initial page opening. BUT when I select a category and go back (click “HOME”), the translation does not work anymore for breadcrumbs.
languages folder of wpdm? (plugins/download-manager/languages) or elsewhere?
Ok, please let me know the location of translation files for wpdm-archive.
Also, just a note. Updating core wpdm never works thru wp plugins. I always have to manually update. addons updates work ok.
Found the problem. Shortcode change format! It’s not wpdm-archive anymore, it’s wpdm_archive now.
Any new attributes to use?
I have the exact same problem. Usually in my case it works on 2nd refresh of the page.
BTW it would be awesome if PDf preview would open up as popup optionally…
Bostjan
Btw, is there a way, thru css perhaps, to change category listing button width and height?
This would be very useful when there’s not many categories, but there is many downloads and especially with longer file titles.
This is our case: https://tehnicni.info/zakonodaja-eu/ (page is in Slovenia language but not important).
Bostjan
Great, thank you!
Hi, awesome.
Any option to make also nr. 2 and nr. 3 possible? Perhaps with a checkbox as an option in the settings?
Thanks
Bostjan