The default Joomla 2.5 user profile plugin allows your site users to input more information about themselves than what is by default allowed. You can find more information here on the fields included by default within the Joomla 2.5 user plugin.

There are many users that would like to add more fields to the plugin to make it work better for them. For example, if you're running a website about baseball, you may want to allow people to input their favorite baseball team or what position they play.

To add new fields to the user profile plugin, you will need to edit the plugin itself. This is not always an easy task, so be sure to find a solid tutorial, such as this one, that walks you through all of the needed steps. In the next few tutorials, we're going to show you how to create a custom user profile plugin so you can add additional custom profile fields.

In this first tutorial, we're going to make a copy of the current user profile plugin. We're not going to edit the current profile plugin because we may lose any changes we make if Joomla updates the files.

Steps to create a copy of the current user profile plugin in Joomla 2.5

  1. Create a folder on your desktop named profile10.
  2. Connect to your Joomla server via FTP.
  3. Copy all files in the plugins/user/profile folder into the profile10 plugin folder on your desktop.
  4. Copy the following files from /administrator/language/en-GB to the profile10 folder on your desktop.

    en-GB.plg_user_profile.ini
    en-GB.plg_user_profile.sys.ini

  5. In the profile10 folder, Rename the following files:

    en-GB.plg_user_profile.ini to en-GB.plg_user_profile10.ini
    en-GB.plg_user_profile.sys.ini to en-GB.plg_user_profile10.sys.ini

  6. The following steps will require that we change several references of "profile" to "profile10", the name of our new user profile plugin. Find the following lines in the following files, and make the necessary changes.

    profile.xml

    Rename profile.xml to profile10.xml in the code of the file.

    LINE 3:  <name>plg_user_profile10</name>
    LINE 14: <filename plugin="profile10">profile10.php</filename>
    LINE 19: <language tag="en-GB">en-GB.plg_user_profile10.ini</language>
    LINE 20: <language tag="en-GB">en-GB.plg_user_profile10.sys.ini</language>
  7. Rename profile.php to profile10.php.
    LINE 18: class plgUserProfile10 extends JPlugin
  8. Zip the profile10 folder on your desktop to profile10.zip.
  9. Check the User - Profile Plugin. If it is enabled, disable the standard User - Profile plugin
  10. Just like any other plugin, install the profile10.zip plugin.

    Our next step is to update the user facing user profile form so that users can type in a value for the new field that you will be adding.
Like this Article?
daxl70 2013-05-09 11:13 pm
It is telling me the folder plugins/user/profile is already in use, deleting it just makes a new error saying the plugin profile10 already exists
Arn Community Support technician 2013-05-09 11:26 pm
Hello Daxl70,

Sorry you are having problems with these instructions. Are attempting to make changes with the folder on your desktop? Make sure that after you moved all of the files, that you disconnect the FTP site first, and then make changes to folder - you may need to close down the FTP application. Also, be sure that nothing else (application-wise) has those folders or files open. Also, I noted that yo state that plugins/user/profile is already in use. The instructions ask you rename the file to profile10.php. Also, try renaming it something else - like profile11. Try this first, please and then let us know if you continue to have problems.

If you have any further questions, please contact technical support available 24 hours a day / 7 days a week.

Arnel C.
InMotion Hosting
Community Support Team

Login to comment.

Your Opinion Matters

... but we need to know what you're thinking!

I'm Brad Markle, your friendly Community Support technician, and I wrote the article you're looking at now. I like to think it's perfect, but I'm sure you have some suggestions. Please, let me know what they are!

Feedback
Your Email Address
Because we'd like to talk with you!

Latest Questions

If you need some help, submit your question to our Community!
We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)
Ask a Question!
Recent Questions
  1. Unable to block .RU domains
  2. Email logs - where shall I find log on who, when, IP address, has open a connection
  3. Creating a Cname

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!