Add fields to registration
-
- Joomla! Fledgling
- Posts: 1
- Joined: Fri Aug 22, 2008 4:50 pm
Re: Add fields to registration
i tried the solution of bennyv's and i edit the/wwwroot/components/com_user/views/register/tmpl/default.php but nothing change. when i edit the administrator component all was ok.
can anyone help me...
can anyone help me...
-
- Joomla! Apprentice
- Posts: 15
- Joined: Fri Dec 04, 2009 12:35 pm
- Contact:
Re: Add fields to registration
Hi..
I am using joomla 1.5 I want to extend some user registration fields. I have tried JUser plugin but its asking for System-Legacy mode and there are lots of error in Juser configuration settings..
Is there any better plugin to extend user registrations fields?? Please help....
Thank you..
I am using joomla 1.5 I want to extend some user registration fields. I have tried JUser plugin but its asking for System-Legacy mode and there are lots of error in Juser configuration settings..
Is there any better plugin to extend user registrations fields?? Please help....
Thank you..
- dam-man
- Joomla! Exemplar
- Posts: 7961
- Joined: Fri Sep 09, 2005 2:13 pm
- Location: The Netherlands
- Contact:
Re: Add fields to registration
Community Builder is easier to configure. You can add as many fields as you want.
Robert Dam - Joomla Forum Moderator
Dutch Boards | Joomla Coding Boards | English Support Boards
Dutch Boards | Joomla Coding Boards | English Support Boards
-
- Joomla! Fledgling
- Posts: 3
- Joined: Tue Dec 22, 2009 8:57 pm
- Location: Iran, Tehran
- Contact:
Re: Add fields to registration
I'm beginner in joomla!bennyv wrote:This is actually really simple.
open your joomla database in your db manager. I generally do this in "PHPMYADMIN".
From there open the table "jos_users" and then add your additional fields that you require.
Then you go into libraries/joomla/database/table/user.php and declare you variables. So if you added a country field then you declair the varible like so:
var $Country = null;
The next step in the process is editing the actual registration form. This is done by going to components/com_user/views/register/tmpl/default.php.
I don't recomend copying and pasting the current form fields I have ran into issues when i have done that. Also note that everything you edit is case sensitive.
Feel free to PM me if you require additional assistance.
It's not work for first time , but I edit
administrator\components\com_users\views\users\tmpl\default.php
and
administrator\components\com_users\views\user\tmpl\form.php
and now it's work. so befor abow editing, I couldn't see any saving data in my db in phpmyadmin.
addition note: I use alpha register component. so I edit com_alpharegistration\views\register\tmpl\default.php to can view change in form.
and a question: why we don't need change components\com_user\views\user\tmpl\form.php
addition question: in editing form I add JText::_( 'Cellphone' ); and in language file (en-GB.com_user.ini) add Cellphone=cellphone, but it's not work. please help me
Mahdi Mojiry
-
- Joomla! Fledgling
- Posts: 4
- Joined: Mon Sep 14, 2009 8:39 am
Re: Add fields to registration
Hi Guys here is a cool video tutorial on adding extra fields in the registration form...
http://www.[youtube].com/watch?v=dk_86nHu3AM
Check it out this is really coooollll......
http://www.[youtube].com/watch?v=dk_86nHu3AM
Check it out this is really coooollll......
-
- Joomla! Apprentice
- Posts: 28
- Joined: Wed Apr 15, 2009 6:04 pm
Re: Add fields to registration
bennyv wrote:This is actually really simple.
open your joomla database in your db manager. I generally do this in "PHPMYADMIN".
From there open the table "jos_users" and then add your additional fields that you require.
Then you go into libraries/joomla/database/table/user.php and declare you variables. So if you added a country field then you declair the varible like so:
var $Country = null;
The next step in the process is editing the actual registration form. This is done by going to components/com_user/views/register/tmpl/default.php.
I don't recomend copying and pasting the current form fields I have ran into issues when i have done that. Also note that everything you edit is case sensitive.
Feel free to PM me if you require additional assistance.
I've done it exacly thje way you've discibed it but mu aditional field data is not stored in DB table.
Any idea how to check where it disapears?
-
- Joomla! Apprentice
- Posts: 9
- Joined: Thu Jan 01, 2009 3:10 pm
Re: Add fields to registration
I add in file /var/www/joomla/components/com_user/views/register/tmpl/default.phpbennyv wrote:This is actually really simple.
open your joomla database in your db manager. I generally do this in "PHPMYADMIN".
From there open the table "jos_users" and then add your additional fields that you require.
Then you go into libraries/joomla/database/table/user.php and declare you variables. So if you added a country field then you declair the varible like so:
var $Country = null;
The next step in the process is editing the actual registration form. This is done by going to components/com_user/views/register/tmpl/default.php.
I don't recomend copying and pasting the current form fields I have ran into issues when i have done that. Also note that everything you edit is case sensitive.
Feel free to PM me if you require additional assistance.
</tr>
<tr>
<td height="40">
<label id="usernamemsg" for="username">
<?php echo JText::_( 'Date of Birth' ); ?>:
</label>
</td>
<td>
<input type="text" id="username" name="birthDate" size="40" value="<?php echo $this->escape($this->user->get( 'birthDate' ));?>" class="inputbox required validate-date" maxlength="25" /> *
</td>
</tr>
Then by registration I can see the field Date of Birth but it is for text. I would like to have nearby the dropdown calender like in tinymce redactor to pick the date. What is wrong here? Help me next please.
P.S. In db I made querry
ALTER TABLE `jos_users` ADD `birthDate` DATETIME NOT NULL default '0000-00-00 00:00:00';
-
- Joomla! Apprentice
- Posts: 10
- Joined: Fri Jan 22, 2010 3:03 am
Re: Add fields to registration
I need someone to actually do this for me. I need someone experienced. I need to add two fields only (to registration form). I don't want to screw this up. Thank you.
-
- Joomla! Intern
- Posts: 65
- Joined: Thu Dec 17, 2009 11:42 am
Re: Add fields to registration
I am trying to add a new field called County in the registration form for a new user on my Joomla site.
I have following the video below
http://www.[youtube].com/watch?v=dk_86nHu3AM
and made the edits to all the files mentioned.
But when a new user registers the County field shows up blank both in the administrator backend and in the mysql database.
im clueless as to what to do. I would really appreciate any help.
Thank you.
Ciaran
Below are the changes I have made from the video.
Mysql Database
/libraries/joomla/database/table/user.php
components\com_user\views\register\tmpl\defaultphp
components\com_user\views\user\tmpl\form.php
administrator\components\com_users\views\user\tmpl\form.php
I have following the video below
http://www.[youtube].com/watch?v=dk_86nHu3AM
and made the edits to all the files mentioned.
But when a new user registers the County field shows up blank both in the administrator backend and in the mysql database.
im clueless as to what to do. I would really appreciate any help.
Thank you.
Ciaran
Below are the changes I have made from the video.
Mysql Database
/libraries/joomla/database/table/user.php
components\com_user\views\register\tmpl\defaultphp
components\com_user\views\user\tmpl\form.php
administrator\components\com_users\views\user\tmpl\form.php
-
- Joomla! Fledgling
- Posts: 4
- Joined: Fri Feb 12, 2010 7:59 am
Re: Add fields to registration
I have the exact same problem.
Everything is added in all the right places, when the user registers, the fields turn up blank.
Everything is added in all the right places, when the user registers, the fields turn up blank.
-
- Joomla! Intern
- Posts: 65
- Joined: Thu Dec 17, 2009 11:42 am
Re: Add fields to registration
Hi Poni, it has to be a database problem I feel. Does anyone out there have any ideas what our problem might be?
-
- Joomla! Fledgling
- Posts: 4
- Joined: Fri Feb 12, 2010 7:59 am
Re: Add fields to registration
I'm not sure, I've added the fields to the database; I think it might be something with the newer Joomla version, a change in the insert-query, or the way Joomla! gets the form field values? I'm just speculating, though
-
- Joomla! Apprentice
- Posts: 7
- Joined: Tue Mar 09, 2010 6:36 pm
Re: Add fields to registration
Tell me please where is file of user's profile?
A want to add new input+field here.
Thank you
A want to add new input+field here.
Thank you
-
- Joomla! Apprentice
- Posts: 6
- Joined: Tue Feb 23, 2010 9:37 pm
Re: Add fields to registration
I have the same prb!! whatever i edit in components/com_user/views/register/tmpl/default.php nothing is changed!!mpsomas wrote:i tried the solution of bennyv's and i edit the/wwwroot/components/com_user/views/register/tmpl/default.php but nothing change. when i edit the administrator component all was ok.
can anyone help me...
please any one has any idea about it!!?
-
- Joomla! Apprentice
- Posts: 6
- Joined: Tue Feb 23, 2010 9:37 pm
Re: Add fields to registration
thanks god i got it! it's bcoz of k2! when u install k2 to ur joomla the default register form won't b used but the k2 form which is
\components\com_k2\templates\register.php
\components\com_k2\templates\register.php
-
- Joomla! Fledgling
- Posts: 1
- Joined: Mon Jun 21, 2010 9:45 am
Re: Add fields to registration
Thanks this work good for me.bennyv wrote:This is actually really simple.
open your joomla database in your db manager. I generally do this in "PHPMYADMIN".
From there open the table "jos_users" and then add your additional fields that you require.
Then you go into libraries/joomla/database/table/user.php and declare you variables. So if you added a country field then you declair the varible like so:
var $Country = null;
The next step in the process is editing the actual registration form. This is done by going to components/com_user/views/register/tmpl/default.php.
I don't recomend copying and pasting the current form fields I have ran into issues when i have done that. Also note that everything you edit is case sensitive.
Feel free to PM me if you require additional assistance.
But do you know how i can validate the additional fields i add for correct inputs.
-
- Joomla! Fledgling
- Posts: 2
- Joined: Sun Jul 04, 2010 3:27 pm
Re: Add fields to registration
I too get the fields up and running, but the new fields is not saved in the database when registering, it's just blank. Did you guys find out what's wrong?
Thanks
Thanks
-
- Joomla! Apprentice
- Posts: 14
- Joined: Mon May 17, 2010 2:32 pm
Re: Add fields to registration
Hi,
i've added some custom fields to the registration form and it worked ok.
but i want to do an other thing to make it easier to write the birth date.
i've added 3 drop boxes, with day, month, year.
how can i concatenate these three into YYYY-MM-DD so in the database would be added correctly, using a date cell.
thanks,
Sebastian
i've added some custom fields to the registration form and it worked ok.
but i want to do an other thing to make it easier to write the birth date.
i've added 3 drop boxes, with day, month, year.
how can i concatenate these three into YYYY-MM-DD so in the database would be added correctly, using a date cell.
thanks,
Sebastian
-
- Joomla! Fledgling
- Posts: 1
- Joined: Tue Sep 07, 2010 6:24 pm
Re: Add fields to registration
One more thing is required that was not covered. The fields that you add in libraries\joomla\database\table\user.php must also be added in libraries\joomla\user\user.php. Without this, the new field values will not be stored in the database.
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sat Aug 28, 2010 10:56 am
Re: Add fields to registration
Hellokdevine wrote:
To add the fields to your registration page you can choose Show in Registration: Yes, however this might not work if you have a custom template for the registration form. If that is the case you can add the fields to your custom form as regular HTML input elements.
Here is a link to the latest version of UserMeta:
http://joomlacode.org/gf/project/userme ... ge_id=3420
Could you please tell me where can i find Show in Registration option. I have looked in the plugin through plugin manager but can't see that option.
Thank you
-
- Joomla! Intern
- Posts: 94
- Joined: Fri Nov 05, 2010 8:39 am
- Contact:
Re: Add fields to registration
hi
i'm on joomla 1.6, do any of those posts still work for 1.6?
for example, when on phpmyadmin, all i got in the jos_users is my account (super user), only that, nothing related to the fields for registration.
also, somewhere in this post somebody said that joomla 1.6 would allow to change that (that was why developpers didn't do much for that issue), is that correct? because i'm on 1.6.0 and can't find where to change that... and as community builder doesn't work for joomla 1.6, i'm kinda stuck here...
thanks
régis
i'm on joomla 1.6, do any of those posts still work for 1.6?
for example, when on phpmyadmin, all i got in the jos_users is my account (super user), only that, nothing related to the fields for registration.
also, somewhere in this post somebody said that joomla 1.6 would allow to change that (that was why developpers didn't do much for that issue), is that correct? because i'm on 1.6.0 and can't find where to change that... and as community builder doesn't work for joomla 1.6, i'm kinda stuck here...
thanks
régis
- lucato
- Joomla! Intern
- Posts: 99
- Joined: Fri Apr 10, 2009 8:13 am
- Location: Brazil
- Contact:
Re: Add fields to registration
Hey folks and dam-man, before going to CB, I wonder if these created fields are mapped to the jos_users table default from joomla or will this cd form have its own database?dam-man wrote:Community Builder is easier to configure. You can add as many fields as you want.
I just want a simple extra fields such as country, state, city, neighborhood in (jos_users). Does it worth to intall CB just for it?
Thanks in advance.
-
- Joomla! Apprentice
- Posts: 5
- Joined: Wed Feb 23, 2011 2:31 pm
- Location: Kathmandu
- Contact:
Re: Add fields to registration
It is difficult for me to even add a registration form using Joomla 1.6. I am new to Joomla and I recently downloaded and installed Joomla 1.6. But all the tutorials and guides on the internet are based on the earlier version of Joomla and this new one looks completely different. How can I easily add a registration form on my Joomla site?
I am an entertainment blogger at Mallu and write about Malayalam movies, Malayalam actors, actresses and more.
-
- Joomla! Apprentice
- Posts: 15
- Joined: Tue Mar 02, 2010 5:46 pm
Re: Add fields to registration
In 1.6 you can activate the User - Profile plugin that enables extra fields at registration.
http://docs.joomla.org/What_is_the_profile_plugin%3F
http://docs.joomla.org/What_is_the_profile_plugin%3F
-
- Joomla! Fledgling
- Posts: 2
- Joined: Fri Apr 22, 2011 2:27 am
- Contact:
Re: Add fields to registration
Hi, I think this joomla 1.6 is better. Because we can add extra fields. However I got many websites in joomla 1.5 and still I am using 1.5 version because it got more extensions. For add extra field to registration page I think is best to use community builder.
Please read forum rules regarding the use of signatures: http://forum.joomla.org/viewtopic.php?f=8&t=65
-
- Joomla! Fledgling
- Posts: 1
- Joined: Fri Apr 22, 2011 11:17 pm
Re: Add fields to registration
i want to add some extra field in my registration form in wordpress site how to add it.and made entry in database. hope some one help me. ...
- jibon57
- Joomla! Intern
- Posts: 50
- Joined: Tue Jun 21, 2011 10:10 am
- Location: Bangladesh
Re: Add fields to registration
I also need it . Please help mesebastian tm wrote:Hi,
i've added some custom fields to the registration form and it worked ok.
but i want to do an other thing to make it easier to write the birth date.
i've added 3 drop boxes, with day, month, year.
how can i concatenate these three into YYYY-MM-DD so in the database would be added correctly, using a date cell.
thanks,
Sebastian
-
- Joomla! Fledgling
- Posts: 1
- Joined: Fri Aug 19, 2011 4:33 pm
Re: Add fields to registration
I had to add additional registration fields as well. First of all bought ExtendedReg extension. It does the work and is extremely powerful. Problem was number of small hidden bugs, which some of them crippled the website completely. Developers are helpful, but after spending hours trying to fix new and new issues I gave up and uninstalled it.
Added couple of new fields following instructions on this website: http://www.mysysadmintips.com/index.php/web/100
Works absolutely fine. I know update may break this, but next update would be to 1.7 anyway so I don’t really worry.
For another 1.7 website problem was solved much easier. Simply used User – Profile plugin. Works great. Just had to change names of some fields in language files.
Added couple of new fields following instructions on this website: http://www.mysysadmintips.com/index.php/web/100
Works absolutely fine. I know update may break this, but next update would be to 1.7 anyway so I don’t really worry.
For another 1.7 website problem was solved much easier. Simply used User – Profile plugin. Works great. Just had to change names of some fields in language files.
-
- Joomla! Intern
- Posts: 55
- Joined: Mon Jul 06, 2009 11:51 am
Re: Add fields to registration
Where do you get this User – Profile plugin ??stbrts wrote:For another 1.7 website problem was solved much easier. Simply used User – Profile plugin. Works great. Just had to change names of some fields in language files.
Has anyone tried this: How-to add a few extra fields tutorial ? Let me know if you have tried it so far that's the only method I've found with NO core code hacks!
-
- Joomla! Fledgling
- Posts: 1
- Joined: Thu Oct 27, 2011 9:27 pm
Re: Add fields to registration
I add new field with User - Profile plugin (Phone field), but i want to every user have unique phone number in database.
When user register must put his phone number and cannot have more then one acc with this phone number.
Please can you help me...
Sorry about my bad english...
When user register must put his phone number and cannot have more then one acc with this phone number.
Please can you help me...
Sorry about my bad english...