thanks to both of you for sharing views.
Actually, Requirement is:
I need to add a custom property/field in
default registration form. It will be a checkbox asking whether the person who
is applying to register is a Dealer or not (checkbox asking "Are you a
Dealer?")
If user doesn’t check it, then
registration process should go on as it is.
But, If user check the Dealer checkbox
then I should not authorize him untill admin view it and manually authorize him
by giving him "Dealer" role.
Up till now:
I managed to add a custom profile property
"Is Dealer" with TrueFalse datatype and able to show in default registration
page.
Now I am looking and stuck at how would I
go - IF user select dealer than user should not be authorized directly
(UserPortals Table - Authorized Field).
I also looked that Admin can authorize
from user accounts.
But, how would I stop authorizing directly
while registration process (if user has selected Dealer checkbox).
Its pretty tiny module to
create.
ALSO, what would be the best approach for
this kind of requirement? Creating a completely custom module for registration?
or modify the existing one like I am discussing above.
Please share your view when you FREE 