<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.sandbox.joomla.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Kerst</id>
	<title>Joomla! Documentation - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.sandbox.joomla.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Kerst"/>
	<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/Special:Contributions/Kerst"/>
	<updated>2026-10-16T08:33:27Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Bulk_upload_users&amp;diff=269652</id>
		<title>Bulk upload users</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Bulk_upload_users&amp;diff=269652"/>
		<updated>2015-12-29T16:20:22Z</updated>

		<summary type="html">&lt;p&gt;Kerst: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;How to bulk import users&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
There are extensions that do this, but if you are just going to do it once or occasionally it&#039;s just as easy to import the information into the database from csv files&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Version 3&#039;&#039;&#039;&lt;br /&gt;
There are three tables that need to be updated when a user is created.&lt;br /&gt;
&lt;br /&gt;
jos_users, jos_usergroups, Jos_user_usergroup_map&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Version 1.5&#039;&#039;&#039;&lt;br /&gt;
There are three tables that need to be updated when a user is created.&lt;br /&gt;
&lt;br /&gt;
jos_users, &lt;br /&gt;
jos_core_acl_aro, &lt;br /&gt;
jos_user_usergroup_map&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&lt;br /&gt;
The following guidance was written for Joomla Version 1.5 but with simple adaptation can be applied to later versions.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In jos_users you need a record for each user that looks like this if you are using CSV:&lt;br /&gt;
&amp;quot;id&amp;quot;,&amp;quot;name&amp;quot;,&amp;quot;username&amp;quot;,&amp;quot;email&amp;quot;,&amp;quot;password&amp;quot;,&amp;quot;usertype&amp;quot;,&amp;quot;block&amp;quot;,&amp;quot;sendEmail&amp;quot;,&amp;quot;gid&amp;quot;,&amp;quot;registerDate&amp;quot;,&amp;quot;lastvisitDate&amp;quot;,&amp;quot;activation&amp;quot;,&amp;quot;params&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You can leave most of these blank but assuming you are creating registered users you need to set usertype to &amp;quot;registered&amp;quot; and &amp;quot;gid&amp;quot; to 18 and, of course, name, username, email and password you will want to fill in, especially if you are in a situation in which you need to tell people their initial passwords.&lt;br /&gt;
You will probably want to set activation to 1 for all users unless you plan to go through by hand and activate individuals.&lt;br /&gt;
Since all Joomla 1.5 installations have a user with &amp;quot;value&amp;quot; of 42, I would recommend starting id with a value of 43, assuming that you don&#039;t have any existing users.&lt;br /&gt;
&lt;br /&gt;
Jos_core_acl_aro looks like this:&lt;br /&gt;
&lt;br /&gt;
&amp;quot;id&amp;quot;,&amp;quot;section_value&amp;quot;,&amp;quot;value&amp;quot;,&amp;quot;order_value&amp;quot;,&amp;quot;name&amp;quot;,&amp;quot;hidden&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here you need to have a record for each user where &amp;quot;value&amp;quot; is the same as the id in the jos_users table. The other ones you can leave blank.&lt;br /&gt;
&lt;br /&gt;
In jos_user_usergroup_map you list each user and what group number they are in.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;user_id&amp;quot;,&amp;quot;group_id&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Typically this would be&lt;br /&gt;
&lt;br /&gt;
&amp;quot;user_id&amp;quot;,&amp;quot;18&amp;quot;&lt;br /&gt;
for all of your records&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
18 is the group for registered users.&lt;br /&gt;
19 is for authors&lt;br /&gt;
20 is for editors.&lt;br /&gt;
You can see the rest of the group types in jos_core_acl_aro_groups. If you want to use a group besides registered you will need to adjust the gid in jos_users to the appropriate value and change the usertype to &amp;quot;special.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you have a csv, sql or other compatible list of your users with these three tables properly set up you can easily import them using PHPMyAdmin.&lt;br /&gt;
[[Category:Tutorials]][[Category:User Management]]&lt;/div&gt;</summary>
		<author><name>Kerst</name></author>
	</entry>
</feed>