hooking into user registration, how to?

ewonde-pz

Joined: 2010-10-27
Posts: 2
Posted: Wed, 2010-10-27 18:14

Hi, i try to hook into the UserAdmin core plugin to add some extra fields to the user registration form. I understand that i need to use the performFactoryRegistration() function in module.inc of my plugin, but which function or class i need to declare as the first parameter? Is this "UserAdmin"?

Thanks in advance!

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Wed, 2010-10-27 18:34

Have a look at the captcha module.

--
dakanji.com

 
ewonde-pz

Joined: 2010-10-27
Posts: 2
Posted: Thu, 2010-10-28 06:52

Thanks for your quick reply, much appreciated! I did, but the captcha module hooks into the validationplugin. The only thing i want to do is adding some fields to the registration form, got nothing to do with validation. Knowing this, is this the right way?