User Registration For Database Driven Membership Numbers Only
-
We have a medical site that requires the ability for doctors to register and view pages. However, only doctors will be allowed to register. To prevent non-medical professionals from registering, we thought about using their MP (medical practioner) number as a verification step. In other words, if the visitor wants to register – they need to enter a valid MP number. Failing to do so would prevent the visitor from being able to register. Here are the steps in more detail:
1. Doctor clicks link to register on the site
2. Usual details (Name, Surname, email, password) are required – but also an MP number, which they enter
3. The query scans a database located on the site, containing 12,000+ MP numbers. We thought about either regularly dumping a database list into the WP backend and using some SQL code to verify the numbers, else linking it via a SQL connection to a site that has the database stored and updated on a regular basis
4. Either that MP number just needs to match, or surname and MP number
5. Once successful, it will create the user in WordPress, and enable them to view doctor-specific content (which won’t be viewable to the public)
The topic ‘User Registration For Database Driven Membership Numbers Only’ is closed to new replies.