{"id":1555,"date":"2012-07-09T00:01:10","date_gmt":"2012-07-09T04:01:10","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2012\/07\/09\/copy-user-profile-plugin\/"},"modified":"2021-08-16T23:39:37","modified_gmt":"2021-08-17T03:39:37","slug":"copy-user-profile-plugin","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-2-5\/copy-user-profile-plugin\/","title":{"rendered":"Add Custom User Profile Fields in Joomla  Step 1\/3"},"content":{"rendered":"<p class=\"alert\">Joomla 2.5 has reached its end of life as for 12\/31\/2014. Please be advised this may be a security risk to your website. You can view more information about the end of life <a href=\"https:\/\/docs.joomla.org\/Joomla!_CMS_versions\">here<\/a>.<\/p>\n<p>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 <a href=\"\/support\/edu\/joomla\/joomla-2-5\/view-profile\/\">fields included by default within the Joomla 2.5 user plugin<\/a>.<\/p>\n<p>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&#8217;re running a website about baseball, you may want to allow people to input their favorite baseball team or what position they play.<\/p>\n<p>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&#8217;re going to show you how to create a custom user profile plugin so you can add additional custom profile fields.<\/p>\n<p>In this first tutorial, we&#8217;re going to make a copy of the current user profile plugin. We&#8217;re not going to edit the current profile plugin because we may lose any changes we make if Joomla updates the files.<\/p>\n<h2>Steps to create a copy of the current user profile plugin in Joomla 2.5<\/h2>\n<ol class=\"article_list\">\n<li><strong>Create<\/strong> a folder on your desktop named <em>profile10<\/em>.<\/li>\n<li><strong>Connect<\/strong> to your Joomla server via <a href=\"\/support\/website\/ftp\/getting-started-guide\/\" target=\"_blank\" title=\"Click here for info\" rel=\"noopener noreferrer\">FTP<\/a>.<\/li>\n<li><strong>Copy<\/strong> all files in the <em>plugins\/user\/profile<\/em> folder into the <em>profile10<\/em> plugin folder on your desktop.<\/li>\n<li>Copy the following files from <em>\/administrator\/language\/en-GB<\/em> to the <em>profile10<\/em> folder on your desktop.\n<p style=\"margin-left:20px;\">en-GB.plg_user_profile.ini<br \/>\nen-GB.plg_user_profile.sys.ini<\/p>\n<\/li>\n<li>In the <em>profile10<\/em> folder, <strong>Rename<\/strong> the following files:\n<p style=\"margin-left:20px;\"><em>en-GB.plg_user_profile.ini<\/em> to <em>en-GB.plg_user_profile10.ini<\/em><br \/>\n<em>en-GB.plg_user_profile.sys.ini<\/em> to <em>en-GB.plg_user_profile10.sys.ini<\/em><\/p>\n<\/li>\n<li>The  following steps will require that we change several references of &#8220;<em>profile<\/em>&#8221; to &#8220;<em>profile10<\/em>&#8220;, the name of our new user profile plugin. Find the following lines in the following files, and make the necessary changes.\n<p style=\"margin-left:20px;\"><strong>profile.xml<\/strong><\/p>\n<p>Rename <em>profile.xml<\/em> to <em>profile10.xml<\/em> in the code of the file.<\/p>\n<pre style=\"margin:10px 0px 10px 20px; padding:5px;\">LINE 3:  &lt;name&gt;plg_user_profile10&lt;\/name&gt; LINE 14: &lt;filename plugin=\"profile10\"&gt;profile10.php&lt;\/filename&gt; LINE 19: &lt;language tag=\"en-GB\"&gt;en-GB.plg_user_profile10.ini&lt;\/language&gt; LINE 20: &lt;language tag=\"en-GB\"&gt;en-GB.plg_user_profile10.sys.ini&lt;\/language&gt;<\/pre>\n<\/li>\n<li>Rename <em>profile.php<\/em> to <em>profile10.php<\/em>.\n<pre style=\"margin:10px 0px 10px 20px; padding:5px;\">LINE 18: class plgUserProfile10 extends JPlugin<\/pre>\n<\/li>\n<li><strong>Zip<\/strong> the <em>profile10<\/em> folder on your desktop to <em>profile10.zip<\/em>.<\/li>\n<li>Check the <em>User &#8211; Profile<\/em> Plugin. If it is enabled, <strong>disable<\/strong> the standard <em>User &#8211; Profile<\/em> plugin<\/li>\n<li>Just like any other plugin, <a href=\"\/support\/edu\/joomla\/joomla-2-5\/how-to-install-a-plugin\/\">install the profile10.zip plugin<\/a>.Our next step is to <a href=\"\/support\/edu\/joomla\/joomla-2-5\/front-end-form\/\">update the user facing user profile form<\/a> so that users can type in a value for the new field that you will be adding.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Joomla 2.5 has reached its end of life as for 12\/31\/2014. Please be advised this may be a security risk to your website. You can view more information about the end of life here. The default Joomla 2.5 user profile plugin allows your site users to input more information about themselves than what is by<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-2-5\/copy-user-profile-plugin\/\"> Read More ><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4403,82],"tags":[2113],"class_list":["post-1555","post","type-post","status-publish","format-standard","hentry","category-joomla","category-joomla-2-5","tag-joomla-v2-5"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Add Custom User Profile Fields in Joomla Step 1\/3 | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"The first step in creating custom user profile fields is to copy the current user profile plugin. This will help ensure you don&#039;t lose your changes if a Joomla 2.5 update overwrites the files.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-2-5\/copy-user-profile-plugin\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Add Custom User Profile Fields in Joomla Step 1\/3 | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"The first step in creating custom user profile fields is to copy the current user profile plugin. This will help ensure you don&#039;t lose your changes if a Joomla 2.5 update overwrites the files.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-2-5\/copy-user-profile-plugin\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2012-07-09T04:01:10+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-17T03:39:37+00:00\" \/>\n<meta name=\"author\" content=\"Brad Markle\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Brad Markle\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-2-5\/copy-user-profile-plugin\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-2-5\/copy-user-profile-plugin\/\"},\"author\":{\"name\":\"Brad Markle\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5ae05d1210b0ef63c437ccedce2799bf\"},\"headline\":\"Add Custom User Profile Fields in Joomla Step 1\/3\",\"datePublished\":\"2012-07-09T04:01:10+00:00\",\"dateModified\":\"2021-08-17T03:39:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-2-5\/copy-user-profile-plugin\/\"},\"wordCount\":463,\"commentCount\":19,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"keywords\":[\"Joomla v2.5\"],\"articleSection\":[\"Joomla\",\"Joomla 2.5\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-2-5\/copy-user-profile-plugin\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-2-5\/copy-user-profile-plugin\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-2-5\/copy-user-profile-plugin\/\",\"name\":\"Add Custom User Profile Fields in Joomla Step 1\/3 | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"datePublished\":\"2012-07-09T04:01:10+00:00\",\"dateModified\":\"2021-08-17T03:39:37+00:00\",\"description\":\"The first step in creating custom user profile fields is to copy the current user profile plugin. This will help ensure you don't lose your changes if a Joomla 2.5 update overwrites the files.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-2-5\/copy-user-profile-plugin\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-2-5\/copy-user-profile-plugin\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-2-5\/copy-user-profile-plugin\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Add Custom User Profile Fields in Joomla Step 1\/3\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5ae05d1210b0ef63c437ccedce2799bf\",\"name\":\"Brad Markle\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/bradm\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Add Custom User Profile Fields in Joomla Step 1\/3 | InMotion Hosting","description":"The first step in creating custom user profile fields is to copy the current user profile plugin. This will help ensure you don't lose your changes if a Joomla 2.5 update overwrites the files.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-2-5\/copy-user-profile-plugin\/","og_locale":"en_US","og_type":"article","og_title":"Add Custom User Profile Fields in Joomla Step 1\/3 | InMotion Hosting","og_description":"The first step in creating custom user profile fields is to copy the current user profile plugin. This will help ensure you don't lose your changes if a Joomla 2.5 update overwrites the files.","og_url":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-2-5\/copy-user-profile-plugin\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2012-07-09T04:01:10+00:00","article_modified_time":"2021-08-17T03:39:37+00:00","author":"Brad Markle","twitter_card":"summary_large_image","twitter_creator":"@InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"Brad Markle","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-2-5\/copy-user-profile-plugin\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-2-5\/copy-user-profile-plugin\/"},"author":{"name":"Brad Markle","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5ae05d1210b0ef63c437ccedce2799bf"},"headline":"Add Custom User Profile Fields in Joomla Step 1\/3","datePublished":"2012-07-09T04:01:10+00:00","dateModified":"2021-08-17T03:39:37+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-2-5\/copy-user-profile-plugin\/"},"wordCount":463,"commentCount":19,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"keywords":["Joomla v2.5"],"articleSection":["Joomla","Joomla 2.5"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-2-5\/copy-user-profile-plugin\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-2-5\/copy-user-profile-plugin\/","url":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-2-5\/copy-user-profile-plugin\/","name":"Add Custom User Profile Fields in Joomla Step 1\/3 | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"datePublished":"2012-07-09T04:01:10+00:00","dateModified":"2021-08-17T03:39:37+00:00","description":"The first step in creating custom user profile fields is to copy the current user profile plugin. This will help ensure you don't lose your changes if a Joomla 2.5 update overwrites the files.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-2-5\/copy-user-profile-plugin\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-2-5\/copy-user-profile-plugin\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-2-5\/copy-user-profile-plugin\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"Add Custom User Profile Fields in Joomla Step 1\/3"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5ae05d1210b0ef63c437ccedce2799bf","name":"Brad Markle","url":"https:\/\/www.inmotionhosting.com\/support\/author\/bradm\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":null,"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/1555","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=1555"}],"version-history":[{"count":4,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/1555\/revisions"}],"predecessor-version":[{"id":85842,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/1555\/revisions\/85842"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=1555"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=1555"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=1555"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}