Check if a user is registered – redirect to register page if not

Viewing 3 posts - 1 through 3 (of 3 total)
#210335

Rob Emery
Participant

I have a small library of files available to either view or download – if the user clicks the download file button I want to check if they are registered and if not, send them to my WPDM Register page.

Very simple – is there an easy way to thisso that I can apply to all 20 files?

Thanks in advance

#210336

Tahasin
Moderator

Hello,

Thanks for reaching out.

Yes, it’s possible. To do this, set the access level for all files to Subscribers. If a user is not registered, a button like this will appear.

Both the message text Please login and the button label Login can be customized from the settings options.

When the red-marked Login button is clicked, the user will be redirected (a popup) to the login page. If the user is not already registered, they can sign up there and then access the page.

If you need any further assistance, feel free to ask.
Regards

#210337

Tahasin
Moderator

You can set the access level for all packages using the WPDM Default Values add-on, so you don’t have to configure the access level for each package individually.

WPDM Default Values

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

You must be logged in to reply to this topic.