Joomla Users

Joomla Users export

| Joomla Users

Requirements

Joomla Users
Export User

Creating the export template

A template can be created by following these steps:

  1. Go to Components -> RO CSVI -> Templates
  2. Click New
  3. Give the template a name
  4. Set Action to Export
  5. Set Component to Joomla Users
  6. Set Operation to User
  7. Click Next: Select Source
  8. Destination is set default to Download. No need for change.
  9. Click Next: Select options
  10. The default values are OK, change if needed.
  11. Click Next: Select fields
  12. Fields must be added otherwise there is nothing for CSVI to export. Click Edit template fields.
  13. A new window opens with the Template fields page. You can add new fields by clicking New or Quick Add.
  14. When all fields are added you can close the window
  15. Click Next: Finalize
  16. All done here
  17. Click Close to return to the list of templates or Edit if you want to fine-tune the template further.

Joomla user export create template

Add the fields to export

Template fields can be added by following these steps:

  1. Go to Components -> RO CSVI -> Templates
  2. Click on Template fields
  3. In the Search Tools select your template
  4. Click on New to add a single field or click on Quick Add to add multiple fields.

Quick Add

The Quick Add Option allows you to quickly add multiple fields to a template. It is not possible to set any settings per field here but that can be done after the fields have been added to the template. Joomla user export create template fields

Run the export

The export can be run by following these steps:

  1. Go to Components -> RO CSVI -> Export
  2. Select the template created earlier
  3. Click Export
  4. The export is run
  5. The Log details page will be shown with information regarding the export if the Enable logging is enabled in the template

Joomla user run export

Further reading

CSVI also supports exporting of Joomla user custom fields with Joomla user export. The custom fields for an user will be available as a template field to export as other normal template fields. If you dont see the custom field in template fields list, make sure to update available fields.

As an example, say if there is a custom field User location added to Joomla Users. This field can be exported by adding to the export fields.

 joomla user export customfields

Read more ...

Joomla Users supported operations

| Joomla Users

In RO CSVI we offer a number of import and export routines to manage your Joomla data. This is the complete list of Joomla Users supported operations. The majority of operations are available for both import and export although some are for a specific task so they can only be used for either import or export.

Read more ...

Joomla User Groups import

| Joomla Users

Creating the template

A template can be created by following these steps:

  1. Go to Components -> CSVI Pro -> Templates
  2. Click New
  3. Give the template a name
  4. Set Action to Import
  5. Set Component to Joomla Users
  6. Set Operation to User Groups
  7. Click Next: Select Source
  8. Source is set default to Load from your computer. No need for change.
  9. Click Next: Select options
  10. The default values are OK, change if needed.
  11. Click Next: Select fields
  12. Nothing needed here as we set to Use column headers as configuration in step 10.
  13. Click Next: Finalize
  14. All done here
  15. Click Close to return to the list of templates or Edit if you want to fine-tune the template further.

Joomla user groups import create template

Adding the template fields

Template fields can be added by following these steps:

  1. Go to Components -> CSVI Pro -> Templates
  2. Click on Template fields
  3. In the Search Tools select your template
  4. Click on New to add a single field or click on Quick Add to add multiple fields.

Quick Add

The Quick Add Option allows you to quickly add multiple fields to a template. It is not possible to set any settings per field here but that can be done after the fields have been added to the template.

Joomla user groups import create template fields

Required fields

  • title / title_path

Criteria

These fields make up the criteria to determine if the record is going to be updated or added. If all the criteria fields match an existing record, the record will be updated. If not all the criteria fields match, the record will be added.

 

  • title / title_path

Creating the import file

When importing a user group, the needed fields are either title or title_path. The field title is the unique name of the group. if the group has a parent group then it is needed to use parent_name field in import.

While with title_path field, parent group name can be used in path like for example Registered/Special Users where Registered is the parent group name and Special Users is the child group which goes under parent group Registered.

Run the import

The import can be run by following these steps:

  1. Go to Components -> CSVI Pro -> Import
  2. Select the template created earlier
  3. Click Select file
  4. Select the file to import
  5. Click Preview
  6. You now see a preview of the file as to how CSVI sees the file
  7. Click Start import
  8. The import is run
  9. The Log details page will be shown with information regarding the import if the Enable logging is enabled in the template

Joomla user groups run import

Examples

"title";"title_path"
"Special Users";"Registered/Special Users"
"Subscribers";"Registered/Subscribers"

Example file

Joomla_usergroups_import.csv

Read more ...

Joomla Users import

| Joomla Users

Requirements

Joomla Users
Import User

Creating the template

A template can be created by following these steps:

  1. Go to Components -> RO CSVI -> Templates
  2. Click New
  3. Give the template a name
  4. Set Action to Import
  5. Set Component to Joomla Users
  6. Set Operation to User
  7. Click Next: Select Source
  8. Source is set default to Load from your computer. No need for change.
  9. Click Next: Select options
  10. The default values are OK, change if needed.
  11. Click Next: Select fields
  12. Nothing needed here as we set to Use column headers as configuration in step 10.
  13. Click Next: Finalize
  14. All done here
  15. Click Close to return to the list of templates or Edit if you want to fine-tune the template further.

Joomla user import create template

Adding the template fields

Template fields can be added by following these steps:

  1. Go to Components -> RO CSVI -> Templates
  2. Click on Template fields
  3. In the Search Tools select your template
  4. Click on New to add a single field or click on Quick Add to add multiple fields.

Quick Add

The Quick Add Option allows you to quickly add multiple fields to a template. It is not possible to set any settings per field here but that can be done after the fields have been added to the template.

Joomla user import create template fields

Required fields

  • email
  • username
  • usergroup_name / usergroup_path
  • password / password_crypt

Criteria

These fields make up the criteria to determine if the record is going to be updated or added. If all the criteria fields match an existing record, the record will be updated. If not all the criteria fields match, the record will be added.

 

  • email

Creating the import file

When importing user groups, use the field usergroup_name only if the usergroup has a unique name. If the groups are with same name but are under different parent group then it is adviced to use usergroup_path field. So usergroup_path field can have parent and child path of a group like Registered/Managergroup or Manager/Managergroup.

Run the import

The import can be run by following these steps:

  1. Go to Components -> RO CSVI -> Import
  2. Select the template created earlier
  3. Click Select file
  4. Select the file to import
  5. Click Preview
  6. You now see a preview of the file as to how RO CSVI sees the file
  7. Click Start import
  8. The import is run
  9. The Log details page will be shown with information regarding the import if the Enable logging is enabled in the template

Joomla user run import

Examples

"email";"username";"usergroup_name";"password";"usergroup_path"
"user1@localhost.loc";"User1";"Public";"letmein";"Registered/Managergroup"
"user2@localhost.loc";"User2";"Registered";"letmein";;"Registered/HRgroup"
"user3@localhost.loc";"User3";"Public";"letmein";"Registered/Workgroup"

To remove assigned user groups of a user, use usergroup_name_delete field with user group names seperated by | from which user needs to be removed from

"email";"username";"usergroup_name_delete"
"user1@localhost.loc";"Public|Registered" "user2@localhost.loc";"Registered|Administrator"

CSVI also supports appending usergroups to a user from what he has been currently added. To do that in import template settings on Options tab set Append Usergroups option to Yes and save the template. Now when you import users with usergroup_name field, imported user groups will be appended to the current user groups user is assigned to.

Example file

joomla_users_import.csv

Multi-Factor Authentication

In RO CSVI 8.5.0 we have added support for exporting and importing the multi-factor authentication data of users. You can recognize all these fields by their mfa_ prefix.

One word of caution, when migrating the multi-factor authentication form one site to another, this is dependent on the secret key of that specific site. The secret key can be found in the configuration.php of your site. As this should be unique per site, make sure to either remove the old site or change the secret key on the old site.

Further reading

Additionally CSVI also supports import of Joomla custom fields added for users. Each custom field will be available as an import field. If you dont see the field make sure that you update your available fields. Also note that alias of the custom field is used as import field as alias is unique. An example custom field import is explained below.

  1. Add an custom field from Joomla administrator menu > Users > Fields, For example add a custom field with Title User location
  2. Save the custom field
  3. Go to Components -> RO CSVI -> Available fields
  4. Update the available fields
  5. Go to Components -> RO CSVI -> Template fields
  6. Select your Joomla user import template
  7. Click on New button, search for the new custom field added. Save as a template field
  8. Run the import

 joomla user import customfields

Read more ...