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

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

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/

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

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

Magento adding a new filed on the registration panel

Hi guys i'm trying to add a new field in magento registration panel named hospital address and i need to add more fields... i've done this with some changes in magento core files like register.phtml AccountController.php config.xml Grid.php Account.php CustomerController.php edit.phtml everything has been working but at the end i have found that admin can edit the hospital address but customers can't edit this when they login to account edit page is any one here know this issue and have a solution ? here is the full script http://goo.gl/EBMzM
Thanks
Since magento is based on entitiy attribute model. You can not manage the attribute of the registration field directly. If you are a software developer you can create attribibute in database and change in your code in the same way. If you are not a software developer you can install a module which provide facelity to manage your resistration page. You can search on google by keyword "magento registration field manager" and found verious module for the registration field management.

magento attributes on back end

Hey guys
I have a problem, that is I have a d.o.b attribute
displayed on the front-end but the info that gets written
by the customer, I don't get on the back-end or the magento dashboard
can I please get help on how to get the d.o.b info on the back-end customer info
please help.....
In the latest Magento 1.5, there is a Date of Birth attribute for the Customer entity. This attribute is on the Account Information section of the Customer Information tab in the admin. I'm not sure if this is the case prior to 1.5 as I currently don't have access to an earlier install. But this attribute is not available for entry on the front end (in customer/account/create/ or customer/account/edit/) in the latest or previous versions.
Which leads me to believe that you're using a pre 1.5 version of Magento and that you or someone you know may have modified a core design template to add that field to the front end. If this is the case, then that field needs to be an actual attribute of the Customer entity. Once it is so, you can rewrite the content block for the Account Information section of the Customer Information tab to a block in a new module of yours to display that field.

joomla module that references the users component and contact component

I am looking to create a module for registering a new user for my joomla! website. So basically, I want to create a form that ask for all types of information (first name, last name, username, pw, address, phone, etc... ) and store information like the username, password, and email, in my using the joomla! com_users component and the address, phone, first name, and last name using the joomla! com_contacts component. I don't understand how/if I am able to do this. I don't know how I can reference components in my module. I don't want to rewrite either component. Thank you.
Have a look at Community Builder (http://www.joomlapolis.org). This is a great free Joomla component that adds all sorts of stuff to the user registration and management process, amongst other things.
The easiest thing to do would be to use ChronoForms. It has a built in bridge to allow custom user registration forms that would get the info you collect in to com_users. You could then set up the form to also insert the collected data in to the com_contacts table after it handles the registration. No code hacking required.

Resources