How to override registration form in joomla 3.3 such as adding custom fields for example without hacking the joomla core files? - joomla

I am having a problem with overriding the registration form in joomla 3.3, I need to add some extra fields such as mobile number, please if any one have an idea about this, please reply the question .
thanks

In the Joomla backend, go to the Plugin Manager and open a plugin called User - Profile. This contains some additional fields that will appear on the default Joomla registration form. The fields it provides are:
Address 1
Address 2
City
Region
Country
Postal / ZIP Code
Phone
Web site
Favourite Book
About Me
Terms of Service
Select TOS Article
Date of Birth
Select which fields you wish to use and enable the plugin.
Hope this helps

Related

How to add user custom fields to the edit profile form?

I had to add a series of custom fields to the joomla registration form. Thanks to the guide I managed to do it, both for the registration form and for the administrator form.
The process I followed for this are the following:
Added the fields to the users table
Added the fields in joomla user entity /library/src/user/user.php
Added the fields and definition to /components/com_users/model/forms/registration.xml file to update the registration form
Added the fields and definition to administrator/components/com_users/model/forms/user.xml file to update the user edition form for user with administrator role
Now I require the user to be able to change their profile data with the inthe fields that were created manually. To do this I added a link to the menu
form to edit profile, here I expected to see all user fields, both native and custom created, but instead I obtain only the native fields, although upon inspecting the object (user) I can access all the user fields.
I created the fields by hand and then I expected that when they were saved they would persist, but it is not, when sending the form only the native data is updated and not the custom fields.
When I inspect, I see that a component named k2 is the one that facilitates this profile editing form, I am new to joomla and its ecosystem
Could you please give me guidance on how to implement this task?
Greetings and thanks in advance
Do not edit core components.
There is a way to do the same using Profile plugin.
https://docs.joomla.org/Creating_a_profile_plugin
Go through above link and create a new profile plugin.
This is not the way to add extra user fields. What will you do if you need to update Joomla. Joomla releases security updates at regular intervals. First you need to create a user plugin and then you add whatever user fields you need. I found a detailed description here, you also can have a look. if still you get any doubts you can ask me here in comments.
https://smartyblog.com/adding-custom-fields-to-joomla-registration-using-profile-plugin/

Joomla User Registration Component

I am new to this forum and also new in using joomla. I have a joomla3.4 site where I would like add extra fields to user registration form. I have searched over this for entirely two days now and got few options like
1)Override registration component
2)modifyng and adding new fileds in root/libraries/joomla/user/user.php
3)using extensions
I am not a joomla expert, hence 1st and 2nd option is bit more complicated for me, since it also invloves core files getting rewritten during joomla upgrade.
I am left with the 3rd option, which makes use of other 3rd party extension. I am not sure how does this 3rd party plugins work. Do they automatically insert the extra fileds data into joomla user table or where it will be stored?
I would like to use captcha-recaptcha into the registration form.
Please guide me on some good extensions(freeor paid) that I can use for registration form.
Your help and support is appreciated.
Thanks,
mds2907
In theory you should be able to just enable the plugin "User - Profile" that you already have and select the fields you want added to the form. That's not actually working for me on Joomla 3.4 but that may be due to a different issue with some additional symptoms that I'm debugging (Joomla 3.x - Two factor authentication disabled but still working).

Store VM User First Name + VM User Last Name as Joomla Full Name

This is a Virtuemart specific question, and I have also posted this question on the official Virtuemart forum, but I have not yet had any replies. This is why I post my question here also, hoping someone might know the answer.
I´m using Virtuemart v.2.0.26d
It seems that when a customer creates a new profile via the Virtuemart registration form or via order creation then the user´s email is stored as Joomla user "Full Name"
Instead I would like it to store Virtuemart first name + last name as Joomla "Full Name"
Does anyone know how to accomplish this or which file I need to look into to solve this problem?
If you want to grab vendors name(see the table names below) to joomla full name the just fetch the vendor name and add it to '_users' table name and username are the needed column there. (joomla 2.5)
Or in opposite case,
Dont know about VM 2.0 but in VM 2.6 while a user uploads a product at table
'_virtuemart_vendors_en_gb' and '_virtuemart_vendors' stores data about product uploader.So either make a column there and find out the registration functionality add the full username there or at update the vendor_name in '_virtuemart_vendors' and vendor_store_name in '_virtuemart_vendors_en_gb'.
Thanks

Joomla (Add New Contact Parameters to Contact in Jooma1.5)

I am New to Joomla and this is my First Project I am working on in JOOMLA
Well I have Template Named News Line by Youjoomla ( Most of you Might Have heard about it)
here is my Questions
Well My Client gave me a sudden change in the requirement that he needs some additional parameters in a every contact
Which are Like
Registration Number
Company Name
and More.....
Well Can Anybudy Teach me how to add new parameters to contact in Joomla 1.5
it is a Little Bit Urgent
If you are using the default Joomla contact system then adding custom parameters is rather hard. You will be better off using a Contact Component such as aiContactSafe. You can find more here aswell. Hope this helps and good luck with your first Joomla project

Change Registration form in Joomla 1.5

I am developing a website where I need to create two user types. One is "member" and the other is "merchant". Both have different areas to be accessed. I am really confused on how can I achieve this.
Also I am trying to add my custom fields of First name and Password in the default Joomla registration form. As soon as I add a new TR with field first name the registration form stops working.
Can you guys help me in doing this?
If you have some troubles with default Joomla registrtion, you could use Community Builder. It is pretty easy to add fields to users profile and users registration. To separate members and merchants you could add field to the registration form called for example Account type. And then according to its value assign new user as registered(members) or author(merchant).
First, adding user types in 1.5 is not going to accomplish the access requirements you have described. You would need to install an access control component to control different user types accessing different content.
Next, Joomla 1.5 is nearing end of life, April 2012 to be exact. Version 1.7.x released last week so you should very seriously consider moving the site to the latest version. An added bonus is that Joomla 1.7.x has built in access control levels that would accomplish what you are trying to do.
Regarding different access levels best thing to do would be upgrade to Joomla 1.6/1.7 It has this functionality built in. It may be possible to achieve this in 1.5 with third party components, but I don't have any experience with this.
Regarding custom registration fields, again, if you upgrade to 1.6/1.7 it has User - Profile plugin which allows to add additional fields to your registration form.
In 1.5 you can use third party components such as ExtendedReg (commercial).
Or alternately edit core files: http://www.mysysadmintips.com/index.php/web/100

Resources