replacing permission-deny.txt by login page or modal

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

Tomas Dalebjörk
Participant

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

#197878

Nayeem Riddhi
Moderator

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

#197879

Tomas Dalebjörk
Participant

This gets the text “permission-deny.txt

#197880

Tomas Dalebjörk
Participant

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

#197881

Tomas Dalebjörk
Participant

Permission Denied Message for Packages:
[wpdm_login_form]

Login Required Message:
[wpdm_login_form]

#197882

Tomas Dalebjörk
Participant

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

#197883

Tomas Dalebjörk
Participant

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

#197889

Tomas Dalebjörk
Participant

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?

#197891

Tomas Dalebjörk
Participant

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

#197893

Tomas Dalebjörk
Participant

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.

#197899

Nayeem Riddhi
Moderator

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)

You must be logged in to reply to this topic.