Page 1 of 1

modifying com_regestration

Posted: Wed Feb 06, 2008 2:25 pm
by Sadakazu
Hi @ all :-))

I have a little problem.
i want to add some fields for the regestration.

but i dont know how.
i found the folder /components/com_registration

but i dont find the right section to add my query code
Can anyone help me please?

Kind regards
Sada

Re: modifying com_regestration

Posted: Wed Feb 06, 2008 7:11 pm
by ianmac
If you're using J! 1.5, look for Kevin Devine's user meta extension.  If you're using 1.0, look at community builder.

Ian

Re: modifying com_regestration

Posted: Wed Feb 06, 2008 7:40 pm
by Sadakazu
hmmmmmmmm :-)))

i use 1.0.X
ehm.. but i need functions like this:

Code: Select all

$user['UUID'] = sprintf( '%04x%04x-%04x-%04x-%04x-%04x%04x%04x',
         mt_rand( 0, 0xffff ), mt_rand( 0, 0xffff ), mt_rand( 0, 0xffff ),
         mt_rand( 0, 0x0fff ) | 0x4000,
         mt_rand( 0, 0x3fff ) | 0x8000,
         mt_rand( 0, 0xffff ), mt_rand( 0, 0xffff ), mt_rand( 0, 0xffff ) );

$user['passwordSalt'] = md5(microtime() . mt_rand(0,0xffff));
$user['passwordHash'] = md5(md5($password) . ":" . $user['passwordSalt']);


i dont think so that i can use it with the community builder ^^
ehm anyway. it looks that i must write my own registration routine :-D