modifying com_regestration

Have a programming question regarding your component, plug-in, extension or core hacks? Have an interesting tidbit, FAQ or programming tip you’d like to share? This is the place for you.

Moderators: tjay, seadap, Rogue4ngel, matthewhayashida

Post Reply
Sadakazu
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Wed Feb 06, 2008 2:21 pm

modifying com_regestration

Post by Sadakazu » Wed Feb 06, 2008 2:25 pm

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

User avatar
ianmac
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 237
Joined: Sat Sep 24, 2005 11:01 pm
Location: Toronto, Canada

Re: modifying com_regestration

Post by ianmac » Wed Feb 06, 2008 7:11 pm

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
Help test my Component XML Generator Tool!
http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,1997/Itemid,35/
All feedback appreciated!

Sadakazu
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Wed Feb 06, 2008 2:21 pm

Re: modifying com_regestration

Post by Sadakazu » Wed Feb 06, 2008 7:40 pm

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


Post Reply