• Hi,

    For my first real WP-project, I was asked to build a site around a psychological test. Visitors should be able to buy one or more keys and use these to access the test themselves or give keys they have bought to others. (In case they are, for example, leading a workshop and want their participants to take the test.)

    So what I want to do is to set up the functionality of license manager to restrict access to the page the test starts on. After buying a license, users are referred to a page where they can enter a key and will be able to take the test. To make this clear: I want this to be a user-facing frontend process, right on one of my pages.

    From what I’ve read in the documentation, this is basically what the license manager does, I would just have to set up the ?locked“ authentication parts I would normally put in a Plugin on the page where the test starts.
    I am, however, completely lost with this, and have never done some authenticating work before. So my question is: could this actually work using the license manager? Where would I start? In case it doesn’t work: would you have an idea how to make this work?
    Any help from a dev or experienced user would be highly appreciated!

    Thank you very much!
    Paul

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Hi,

    So what I want to do is to set up the functionality of license manager to restrict access to the page the test starts on.

    I am wondering if a membership plugin would do a better job than License Manager for what you are trying to achieve? A membership plugin restricts a person from accessing a page or post. For example: You create different pages for different tests. A person cannot do test A until they have paid to have access to test A. Then you would apply the same principal for Test B, Test C etc.

    What do you think?

    • This reply was modified 6 years, 1 month ago by mbrsolution.
    Thread Starter powerpowl

    (@powerpowl)

    Hi,

    thanks for your fast reply! The suggestion itself is a good one, but I think a membership plugin wouldn’t fit my needs, as there are two drawbacks:

    1. I don’t necessarily want users to have to be logged in. The whole page evolves around the test and won’t provide any additional functionality beyond it. A Login might repel some users.
    And there’s problems in situations where a user wants to buy a code for other persons. (The test could e.g. be used in job interviews to assess a possible employee’s fit.)

    2. Users should only be allowed to take the test once per license they have acquired. I could however do some scripting and store information about the users who have already taken it.

    As already said: Thanks for that input! I’m considering memberships as a fallback plan, but they’re still not what I would want to do.

    Now that I have slept about this matter:
    Would your plugin allow me to have the validation server and the instance where keys can be inserted running on the same server? So I’ll just wrap the management of all active keys in some scripts and design a front-end field for customers to enter the key(s) they have received via mail?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Using License Manager to gate a site’ is closed to new replies.