Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

[SOLVED] Possibility to import user data using CSV or excel table?

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
8 years 11 months ago - 8 years 10 months ago #273485 by timstohr
Hey guys,
My co-developper has insisted on collecting user data and putting them in an excel table. Is it possible to import that data into community builder or do we need to hire some monkey that does the Ctrl + C, Ctrl + V step?
Last edit: 8 years 10 months ago by krileon.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48465
  • Thanks: 8280
  • Karma: 1443
8 years 11 months ago #273498 by krileon
CB Juice can export user data as CSV. You could also use a direct database query in phpmyadmin and export the results as CSV. CB it self does not have any import/export features at this time (planned in a later release). There's also reporting extensions that accept a database query and export it as a table of data that can be exported (check JED as think there's a few such extensions).


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • octaviobh
  • octaviobh
  • OFFLINE
  • Posts: 17
  • Thanks: 0
  • Karma: 0
8 years 10 months ago - 8 years 10 months ago #274952 by octaviobh
:woohoo: I have found this paliative first solution to import CSV to Community Builder Users.

First go to www.lightleaves.com/8-ll-users-migrate-export-import.html and download this extension. You will be asked to register to do it.

Secondly install it in your Joomla Backend. After install you will need to set the component "LL User Migrate Import Export" options database access parameters. Also in " User ID's:" option select "New Id" and in "Joomla Version:" the proper Joomla version you have installed.

Before trying an import I recommend that you export users and check the CSV file created. Note that it is a text file but in your system could be linked directly to open with Excel. The first line have the fields names. Note that some fields maybe have no sense in Excel. In particular dates could have other regional settings than yours locale settings, and passwords are coded.

Then create a text csv file, or if you like, in Excel but be careful and save it AS a CSV file.

In text the file must be look as below:

Name,Username,Email,UserGroup,Password,Block,SendEmail,RegisterDate,LastvisitDate,Activation,Params,LastResetTime,ResetCount,OTPKey,OTEP,RequireReset
Taco,taco,taco@ooo.com,Dealer,12345,0,0,,,,,,,,,
Tico,tico,tico@ooo.com,SalesConsultant,12345,0,0,,,,,,,,,
Teco,teco,teco@ooo.com,Client,54321,0,0,,,,,,,,,

BUT !! take into account that the first line, the one with the fields name, MUST NOT be present in the actual file to import. It is posted here only to clarify fields order detail.

Note that the ID first field that exists in the exported file do not exist. Also note that Password is in plain text, not coded, and after Password the other fields could be blank, but the ,,, are needed.

The final step is to go to menu Community Builder / Tools and click on Synchronize Users.

And that's all !. But you still have to manually enter some CB fields for all imported users...

Well, this is a first solution. If you know or will have another more "CB like" solution, please contact me at octaviobh@gmail.com

Thanks in advance.

Octavio.
Last edit: 8 years 10 months ago by octaviobh. Reason: A needed BUT !!

Please Log in or Create an account to join the conversation.

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
8 years 10 months ago #274975 by nant

octaviobh wrote: :woohoo: I have found this paliative first solution to import CSV to Community Builder Users.

First go to www.lightleaves.com/8-ll-users-migrate-export-import.html and download this extension. You will be asked to register to do it.

Secondly install it in your Joomla Backend. After install you will need to set the component "LL User Migrate Import Export" options database access parameters. Also in " User ID's:" option select "New Id" and in "Joomla Version:" the proper Joomla version you have installed.

Before trying an import I recommend that you export users and check the CSV file created. Note that it is a text file but in your system could be linked directly to open with Excel. The first line have the fields names. Note that some fields maybe have no sense in Excel. In particular dates could have other regional settings than yours locale settings, and passwords are coded.

Then create a text csv file, or if you like, in Excel but be careful and save it AS a CSV file.

In text the file must be look as below:

Name,Username,Email,UserGroup,Password,Block,SendEmail,RegisterDate,LastvisitDate,Activation,Params,LastResetTime,ResetCount,OTPKey,OTEP,RequireReset
Taco,taco,taco@ooo.com,Dealer,12345,0,0,,,,,,,,,
Tico,tico,tico@ooo.com,SalesConsultant,12345,0,0,,,,,,,,,
Teco,teco,teco@ooo.com,Client,54321,0,0,,,,,,,,,

BUT !! take into account that the first line, the one with the fields name, MUST NOT be present in the actual file to import. It is posted here only to clarify fields order detail.

Note that the ID first field that exists in the exported file do not exist. Also note that Password is in plain text, not coded, and after Password the other fields could be blank, but the ,,, are needed.

The final step is to go to menu Community Builder / Tools and click on Synchronize Users.

And that's all !. But you still have to manually enter some CB fields for all imported users...

Well, this is a first solution. If you know or will have another more "CB like" solution, please contact me at octaviobh@gmail.com

Thanks in advance.

Octavio.


No idea what extention that is (the link you gave leads to an internal server error).

If process works for you that is great - thanks for sharing experience.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum