WordPress Download Manager
WordPress Download Manager
  • Pricing
  • Demo
  • Extend
    • Full Access Pack Get access to all items on this site with a BIG DISCOUNT
    • WordPress Form Builder Plugin Try it even if you are using another one and you may thank me later :)
    • Attire All-in-One WordPress Theme, only theme you will ever need

    Add-ons

    • Add-ons
    • Cloud Storage
    • eCommerce Add-ons
    • Email
    • Featured
    • Free
    • Marketing
    • Payment Gateways
    • Social Networking
    • Tools
    • UI
    • Widgets

    Customization Service

  • Discount Packs
  • Docs
  • Support
    • Search in Forum
    • Download Manager Pro
    • Download Manager Free
    • Pro Feature Request
    • How To...
    • Tips and Tricks
    • Contact Us
  • Blog
Login | Register
Forgot Password?
— Don't have an account yet? Register Now —
Home / Topics / Download Manager Free / Modal login option for download url?

Modal login option for download url?

  • This topic has 1 reply, 2 voices, and was last updated 4 years ago by Tanvir.
Viewing 2 posts - 1 through 2 (of 2 total)
Jul 1, 2021 at 8:43 am #155974

Alison Harrison
Participant

I have a number of downloads that I want the user to be logged in for. I am finding very inconsistent behaviour with how they can login.

I’ve set a login page and turned on modal login, but in these are not used unless I specifically create a button for them. I want them to be used for download links. Where a download says “login to download this file” it gives a link to my backend login.

In fact it gave the wrong link, as my site has the backend in a folder, so I had to edit the functions file and the class package to fix this line in multiple places:
$package[‘download_url’] = home_url(‘/admin/wp-login.php?redirect_to=’ . urlencode($_SERVER[‘REQUEST_URI’]));

Clearly I could now edit this code specificy my set login page, but actually – what I want here is to use the modal login. How can I do that?

I don’t actually want to be editing any of the core files, as an update will break everything.

Jul 1, 2021 at 9:41 am #155978

Tanvir
Spectator

Hello @pixielation,

Sorry to hear about the issue.

Could you please elaborate the issue and send me relevant url to show the issue? also details about the modifications you did.If possible please share admin access of your website in a private reply.

However we have different addons for related purposes. You can check those:

Form Lock – Ask users to fill a form to get access to download

Advanced Access Control

Thanks

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

The topic ‘Modal login option for download url?’ is closed to new replies.

footer-logo

WordPress Download Manager

All in One Digital Asset Management & Complete eCommerce Solution for Selling Digital Products

Quick Access

  • Try Demo
  • Pricing
  • Affiliate
  • Contact

Blog

  • Updates
  • How-to
  • New Release
  • Tips

Support

  • Support Forum
  • Priority Support
  • Feature Request
  • Terms and Conditions