replacing permission-deny.txt by login page or modal

in Download Manager Free

Viewing 11 posts - 1 through 11 (of 11 total)
Aug 12, 2024 at 1:41 pm
#197874
Participant
Tomas Dalebjörk
OP

Hi,

I want to show which files exist, but required authorization in order to gain access to the files.
I added therefor added this under Download->Settings->Permission Denied Message for Packages:
[wpdm_login_form]

But that does not work to redirect the user to a login form, etc.
Instead I get a “permission-deny.txt” attachment.

Please guide me how to enable (preferable) modal or login page redirect.

Regards Tomas

Aug 12, 2024 at 2:55 pm
#197878
Moderator
Nayeem Riddhi
Staff

Hello Tomas Dalebjörk,

Hope you are well. Thanks for writing to us. Can you please elaborate more what you are trying to achieve? You can share screenshots, related URLs. Please kindly check and let me know.

Thank you and regards

Aug 12, 2024 at 3:12 pm
#197879
Participant
Tomas Dalebjörk
OP

This gets the text “permission-deny.txt

Aug 12, 2024 at 3:13 pm
#197880
Participant
Tomas Dalebjörk
OP

It works for users who has authenticated and belongs to the right role.

Aug 12, 2024 at 3:15 pm
#197881
Participant
Tomas Dalebjörk
OP

Permission Denied Message for Packages:
[wpdm_login_form]

Login Required Message:
[wpdm_login_form]

Aug 12, 2024 at 3:19 pm
#197882
Participant
Tomas Dalebjörk
OP

Settings Front Access
Login Page : Login Form
[x] Enable modal login page <– I even tried de-selecting it, same issue

Aug 12, 2024 at 3:21 pm
#197883
Participant
Tomas Dalebjörk
OP

All Files (selecting one of the files)
Add Forms : [wpdm_login_form] <– not sure if this is needed here?

Package Settings:
================
Allowed Access: Paid Member

Aug 12, 2024 at 5:00 pm
#197889
Participant
Tomas Dalebjörk
OP

I have tried many different ways, but none is working
Setting permissions on the file in MEdia library to the group : Paid Member
That generates “permission-deny.txt”

But one can also set the same on file under Download->Files
Should that part be removed?

Aug 12, 2024 at 5:52 pm
#197891
Participant
Tomas Dalebjörk
OP

I think I have to uninstall download manager if this cant be resolved

Aug 12, 2024 at 6:09 pm
#197893
Participant
Tomas Dalebjörk
OP

If I do a Quick Edit, than there is a [ ] privacy checkbox. If I enable that box, than the error message appears directly in the browser instead of as an attachment, which is much better.
But still no login redirect.

Aug 13, 2024 at 4:18 am
#197899
Moderator
Nayeem Riddhi
Staff

Sorry for any inconvenience. Please kindly share the related URLs. if possible, please, give your temporary wp-admin login details in a private reply to check the issue.

Thank you and regards

Viewing 11 posts - 1 through 11 (of 11 total)

The topic "replacing permission-deny.txt by login page or modal" is closed to new replies.