![]() |
Registration - using another ID
I'd like to remove the vBulletin registration altogether, and replace it with a bespoke system.
However, I'd still like to use the vB generated cookie, and other board functionality. The process I envisage is thus: Bespoke registration page filled in. Most data saved in new custom table. Insert ID (for cross referencing) and essential data passed to vB database - > standard registration confirmation email sent. What I'd really like to know is: a: What is the "essential" info that vB needs. I'm thinking username, password and email address - anything else? b: Since I'm handling the registration through a direct connection with the database, how might I envoke the email confirmation bit? c: Any obvious flaws in the plan? Many tia. |
a. well you always have to create a userfield row for each user, or you can't edit the user from your acp.
also usergroupid should be specified (2 for registred) that should be all what is really needed.. |
Quote:
I'd still like to authenticate email addresses ala vB. Should I try and get the vB engine to do this (if so, how?), or should I write a new bit to the script that updates that field by sending a unique link? I suspect I'd like it to default to "awaiting vailidation", then somehow send the confirmation and update link. Cheers, had forgotten about usergroup. |
usergroupid is 3 when you want to validate em :)
then you have to rewrite this code a bit: PHP Code:
|
Yay - thanks muchly, I'll work on that and let ya know how it goes :)
|
I've used the above code as a guide and written a new script for this. Still testing at the moment but all seems to be ok. Thanks very much for your help :)
|
All times are GMT. The time now is 02:42 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|