
05-08-2005, 12:41 AM
|
|
|
Join Date: Apr 2005
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Another application using vBulletin registration and user modules. How do I do it?
I have a situation that I've not seen addressed elsewhere. Currently, my vBulletin application is open to all, but when a user registers, I validate him against a list of airline pilots from one specific airline and assign them to a custom usergroup. Once they are validated and assigned to this custom usergroup, they have access to the airline specific forums.
Now, I am writing severals applications in php/mysql that I would like to be accessible only by these previously validated members in this custom usergroup. As I see it, the easiest way to do this would be to hook into the vBulletin user database. There are several requirements for the system - If a user tries to log in to the new section, the vBulletin database is checked, and, if the username has been added to the custom usergroup, the user is granted access.
- If the user goes to the new area, is in the custom usergroup, and a vBulletin cookie exists, the user is automatically logged in.
- If the user logs into the new system, the vBulletin cookie is set, so that he is, in essence. also logged into the forums.
- If the user registers, it adds him to the vBulletin database and I am sent the sign up email so I know that I need to validate him.
- Any other vBulletin user signup and registration processes need to be incorporated.
So, what do I need to do to hook into the vBulleting registration system?
Thanks.
Alan Pollenz
|