-
Search Results
-
I’m using the wpdm all packages shortcode on a page that has an intro section above the Downloads table.
The table is only visible when you scroll down the page.
When you click on one of the category names to filter the results, the page reloads and opens back at the top of the page.
This means that the user has to scroll back down to see the results, which is not very user friendly.
Is there a way to maintain the scroll position on page reload?I’m using an edited version of wpdm-all-downloads.php and I’ve found the __dt.on(‘page.dt’, function() with scrollTop parameter, however this seems to apply to Ajax reloads, when ordering or searching, and not to page reloads, when filtering?
These methods seems useful, but I don’t know exactly how and where to add them to work with your shortcode:
https://stackoverflow.com/questions/17642872/refresh-page-and-keep-scroll-position
https://www.freecodecamp.org/news/location-reload-method-how-to-reload-a-page-in-javascript/I have a digital downloads store setup, I am using Download Manager Pro to handle the file purchasing and downloading.
The PayPal and Stripe payment methods are being used.
I have noticed this issue on guest purchases I have not tried purchases by logged in users.
Scenario 1:
A guest user purchases an item using Stripe, after purchase they are taken to the download page to download their product and receive a receipt email from Stripe and an email from my store which I have setup using the email template options, it contains a link to the download page and the information they need to download their product again if they wish.Scenario 2:
A guest user purchases an item using PayPal, after purchase they are taken to the download page to download their product and receive a receipt from PayPal, there is no email sent by the store telling them how to download the product again if they wish.
If I use PayPal IPN the receipt email from PayPal contains some product information. If I use the new PayPal API method the email from PayPal contains no product information.In Scenario 2 I expect the store to send an email in the same way as it does for Scenario 1 so that the customer receives an email from the store telling them how to download the product again if they want to.
I totally fail to understand how this functionality is either not implemented or has remained broken for so long.
Unimpressed
Hi there,
My client would like the option to filter packages by tags in the ‘wpdm_all_packages’ shortcode.
I’ve managed to add tag support by copying the ‘wpdm-all-downloads.php’ file to a ‘download-manager’ folder in my child theme and adding the following code:// CUSTOM ADDITION: TAGS $tags = get_the_tags(get_the_ID()); $ftags = array(); if (!empty($tags)) { foreach($tags as $tag){ //$taglink = get_tag_link($tag->term_id); $ftags[] = "<a class='sbyc' href='{$cfurl}{$tag->slug}'>{$tag->name}</a>"; } $tags = @implode(", ", $ftags); }and
case 'tags': echo "<span class='__dt_categories {$cxc}'>".$tags."</span>"; break;This works fine as far as displaying the tags in the table, but it does not allow us to filter the results using the tags.
When we click on a tag, the table shows ‘No results’.
I’m assuming that the dataTables files have to be edited in some way to add tag support there? Or is there another solution?
Could you point me in the right direction to get this to work?We have heard from multiple clients that they are receiving strange error messages whenever they try to publish a download package on their site using the WP Downloads Manger plugin:
Warning: rawurldecode() expects parameter 1 to be string, array given in /srv/users/serverpilot/apps/thinksite/public/test1/wp-content/plugins/mainwp-child/class/class-mainwp-child.php on line 1116
Warning: Cannot modify header information – headers already sent by (output started at /srv/users/serverpilot/apps/thinksite/public/test1/wp-content/plugins/mainwp-child/class/class-mainwp-child.php:1116) in /srv/users/serverpilot/apps/thinksite/public/test1/wp-includes/functions.php on line 6221
Warning: Cannot modify header information – headers already sent by (output started at /srv/users/serverpilot/apps/thinksite/public/test1/wp-content/plugins/mainwp-child/class/class-mainwp-child.php:1116) in /srv/users/serverpilot/apps/thinksite/public/test1/wp-admin/includes/misc.php on line 1259
Warning: Cannot modify header information – headers already sent by (output started at /srv/users/serverpilot/apps/thinksite/public/test1/wp-content/plugins/mainwp-child/class/class-mainwp-child.php:1116) in /srv/users/serverpilot/apps/thinksite/public/test1/wp-admin/post.php on line 231
Warning: Cannot modify header information – headers already sent by (output started at /srv/users/serverpilot/apps/thinksite/public/test1/wp-content/plugins/mainwp-child/class/class-mainwp-child.php:1116) in /srv/users/serverpilot/apps/thinksite/public/test1/wp-includes/pluggable.php on line 1281
Warning: Cannot modify header information – headers already sent by (output started at /srv/users/serverpilot/apps/thinksite/public/test1/wp-content/plugins/mainwp-child/class/class-mainwp-child.php:1116) in /srv/users/serverpilot/apps/thinksite/public/test1/wp-includes/pluggable.php on line 1284
I was able to replicate the issue, and after disabling all plugins, etc., I was able to find out that it was a conflict with the MainWP Child plugin, which we use on all our sites to link them to our MainWP hub, that causing the problem (https://mainwp.com/).
I have tested this on a dev site with only the MainWP Child and Download Manager plugins installed (https://thinksite.co.za/test1/) and I am seeing the exact same error messages. Disabling the MainWP Child plugin resolves the issue.
When one tries to publish a new download package, it redirects to the error screen, but the package does actually get posted – ie. if one clicks “back” and checks the download list it does appear there, but we can’t have clients seeing errors like this whenever they try to work.
Please let me know if you need admin access to our dev site to investigate.
Hi,
we have recently upgraded our site to WP 5.4 and WPDM 5.0.8.
We have email lock activated. Previously when the user clicked Download from the pop-up window displayed after entering name and email, the download would start. Now the user is taken to the download details page and enters an endless loop.
Example: ERP-Scale utility downloads
Can you please investigate what has changed with the recent upgrades. This is urgent as it is blocking all downloads from our site.
Thanks
Ian
