Hi,
I need an experienced PHP developer with aMember experience. Preferably, you will also be knowledgable in htaccess and rewrite rules
Scenario
Currently, aMember protects content by having the user login with a username and password. Each content restriction is tied to a user. You login, you are authenticated and then you get access to the content you are subscribed to
However, think about the scenario where a teacher buys a subscription to some educational content. They want to give access to their students without having every student having to create an account/login etc.
What is needed is an "access code" protection method that is required by the students to access the content. No individual logins, but a just specific access code for that content.
Your Job
Create the ability for an "access code" protection method in aMember and have the access codes generated for the subscription of the individual users. ie they can see what the access codes available for them and the required content are.
2 Parts
In the "Add a product/Subscription" area
1) Create a "generate access code" functionality.
This will allow the automatic generation of an "access code" that is tied to this subscription and can also can be used by the "protected folders" methods to give anonymous access to the content to any user who enters the "access code"
The "access code" will be randomly created from 10 words (ie circle, square, triangle, maths, etc) and three numbers ie circle345. This code will give access to [login to view URL]
The access code will be generated and attached to the content area and also will be attached to the "subscription" details of the user who is subscribed to this subscription.
"Protect Folder" Area
1) Create an "access code" protection method that allows access to the requested content when the correct code is entered. This method does not require an individual login, just the correct access code.
Notes:
The user who is subscribed to a subscription that has a folder that is protected by access code only, must be able to see the access code, so that he can give this to his students etc.
Thanks