Tahasin

Forum Replies Created

Viewing 25 posts - 76 through 100 (of 3,864 total)
Jul 6, 2026 at 3:41 pm
#214949
Moderator
Tahasin
Staff OP

Try applying this code in function.php file. If it does not meet your requirement, then customization is the only solution.

add_filter('wpdm_get_files', 'hide_file_list_for_guests', 10, 2);

function hide_file_list_for_guests($files, $package) {
    if (!is_user_logged_in()) {
        return [];
    }

    return $files;
}

add_filter( 'wdm_before_fetch_template', 'hide_download_link_for_logged_in_users', 10, 3 );

function hide_download_link_for_logged_in_users( $vars, $template, $package ) {

    if ( is_user_logged_in() ) {
        $vars['download_link'] = '';
    }

    return $vars;
}
Jul 6, 2026 at 2:40 pm
#214948
Moderator
Tahasin
Staff OP
This reply has been marked as private.
Jul 6, 2026 at 1:43 pm
#214946
Moderator
Tahasin
Staff OP

You’d like to hide the main download button (which downloads the package as a ZIP file without stamp) to prevent ZIP downloads, while still allowing users to download the individual files within the package, am I correct?

Jul 6, 2026 at 10:29 am
#214942
Moderator
Tahasin
Staff OP

To hide file list from the download page, apply this hook in your themes function.php file

// hide file list for guests
add_filter('wpdm_get_files', 'hide_file_list_for_guests', 10, 2);

function hide_file_list_for_guests($files, $package) {
    if (!is_user_logged_in()) {
        return [];
    }

    return $files;
}
Jul 6, 2026 at 5:30 am
#214934
Moderator
Tahasin
Staff OP

I will provide you an update shortly.

Jul 4, 2026 at 6:59 am
#214920
Moderator
Tahasin
Staff OP
This reply has been marked as private.
Jul 4, 2026 at 1:06 am
#214916
Moderator
Tahasin
Staff OP
This reply has been marked as private.
Jul 3, 2026 at 11:04 pm
#214913
Moderator
Tahasin
Staff OP

Hello,

Thanks for the details.
Are you trying to display the package in this way?

Kindly check and let me know.
Regards

Jul 2, 2026 at 9:59 am
#214904
Moderator
Tahasin
Staff OP

If you found my support helpful, I’d truly appreciate a moment of your time to leave a 5-star review [here], your feedback means a lot to us and helps us keep doing what we love!

Thank you !! 😊

Jul 2, 2026 at 9:57 am
#214903
Moderator
Tahasin
Staff OP

Welcome !!

Jul 2, 2026 at 6:33 am
#214901
Moderator
Tahasin
Staff OP

First of all, the problem is not with WordPress Download Manager or file cart add-on. It’s the way your custom JavaScript binds the click event.

I have updated the pdf_viewer.js file and the pdf is opening in a popup.

Root cause(direct binding),

$("a.modalToggle").click(function() {...});

which only binds to elements that exist when the page loads. The WPDM All Packages output is rendered after that point, so those links never received the click handler.

Now, I used a delegated event binding to ensures that all current and future .modalToggle links work
$(document).on("click", "a.modalToggle", function (e) {.. }

Jul 1, 2026 at 1:40 pm
#214891
Moderator
Tahasin
Staff OP

Thanks for sharing the credentials. I will provide you an update shortly.

Jul 1, 2026 at 6:50 am
#214873
Moderator
Tahasin
Staff OP

Its working fine now. It was due to the characters in the file name and I have enabled the sanitize file name settings from settings > General > upload settings.
Kindly check.

Jul 1, 2026 at 6:20 am
#214868
Moderator
Tahasin
Staff OP

Don’t worry. I am checking the issue and will provide you with an update shortly.

Jun 30, 2026 at 3:16 pm
#214859
Moderator
Tahasin
Staff OP

From the symptoms, my primary suspicion would be a caching issue.
Could you please try clearing your browser’s Local Storage and then test the issue again?
You can do this by opening your browser’s Developer Tools (press F12), navigating to the Console tab, and running the following command:
localStorage.clear();

Kindly enable both the Live and Sandbox PayPal payment methods. Once you’ve set up the PayPal methods, please let me know, and I will check the issue again.

Jun 30, 2026 at 3:09 pm
#214858
Moderator
Tahasin
Staff OP

Yes, I have identified the issue.
It will be fixed in the next update.

Jun 30, 2026 at 9:14 am
#214847
Moderator
Tahasin
Staff OP

Welcome!!
Have a nice day.

Jun 30, 2026 at 8:43 am
#214844
Moderator
Tahasin
Staff OP

For that, send an order note from the order details page.
Here is the order notes tutorial.

Jun 30, 2026 at 8:37 am
#214842
Moderator
Tahasin
Staff OP

Hello,

Thanks for reaching out.

The Auto Renew: 1st cycle status means you’re currently in the first year of your subscription. If auto-renew remains enabled, your subscription will automatically renew on June 30, 2027.

Do you want to stop the auto renewal?
Looking forward to your response.

Regards

Jun 30, 2026 at 6:48 am
#214840
Moderator
Tahasin
Staff OP

Yes, wpdm archive page is separate add-on.

Jun 30, 2026 at 5:54 am
#214837
Moderator
Tahasin
Staff OP

Hello,

We spoke with two of our hosting providers, and neither found any issues with the plugin.

Could you please contact your hosting provider and ask them to clarify the exact issue they’re seeing? Having more specific details would help us identify the root cause and investigate it further.

Appreciate your support on this.

Jun 29, 2026 at 4:48 pm
#214836
Moderator
Tahasin
Staff OP

Thanks for sharing the information, we are checking the issue.

Jun 29, 2026 at 4:12 pm
#214832
Moderator
Tahasin
Staff OP

Sure! Give it a try, and let me know how it goes.
Have a nice day.

Jun 29, 2026 at 2:30 pm
#214824
Moderator
Tahasin
Staff OP

Now, I can see the lists. I am checking and provide you with an update shortly.

Jun 29, 2026 at 2:28 pm
#214823
Moderator
Tahasin
Staff OP
This reply has been marked as private.
Viewing 25 posts - 76 through 100 (of 3,864 total)