Import users and passwords

Permalink
I am trying to set up a site that will require members to login. I need to register/create about 350 users. The data is already available via spreadsheets but I can't see any way to import? I don't want people to be able to create their own accounts either. Is there any way? Enjoying the product greatly although more documentation would be wonderfull, Dear Santa ....

View Replies: View Best Answer
Mnkras replied on at Permalink Reply
Mnkras
currently there is no way to import anything yet i may be able to make a really simple import script from another cms or something and adapt it to the c5 tables, im not very good with that kinda stuff tho :) i can give it a try if you want.

Mike
kino replied on at Permalink Reply
kino
It is helpful if you can do around here.
/concrete/single_pages/dashboard/users/add.php
at line 80.
$data = array('uName' => $username, 'uPassword' => $password, 'uEmail' => $_POST['uEmail']);
$uo = UserInfo::add($data);


and
/concrete/models/userinfo.php
sewfan99 replied on at Permalink Reply
Kino many thanks, but sadly the main reason for using c5 was because I'm NOT a coder. Sadly the wall seems to be begging higher though.
sewfan99 replied on at Permalink Reply
Oh dear that really is a shame, and something of a problem too, thanks for responding though.
okhayat replied on at Permalink Reply
okhayat
It's really not as bad as you imagine. Doing this is not very common and thus isn't available in most CMSs I've used, including Joomla and Drupal.
Yes, there might be a plugin/extension that does it but it's not built-in.
Anyway, I'll look into this, as I wrote a script before to import users, maybe I can make it a little bit automated.
PhilYoung replied on at Permalink Reply
PhilYoung
Hi, I have exactly the same issue as I have 250 users to import with addresses etc. I too am not any kind of coder or developer so if someone can come up with a packaged solution I am in!
kino replied on at Permalink Reply
kino
Completed in a little later.
However, the version without error checking.
bcarone replied on at Permalink Reply
bcarone
Kino did you mean to attach a file?

Your one fast programmer.

And since I haven't said it yet, AWESOME job on those themes!!

Bill
kino replied on at Permalink Reply
kino
registration package for bulk users could concrete5.
User accounts, and check e-mail address has been duplicated.

Expand the file attachment / package / installation please go to the place.
the user & groupe importusers adds.

More ...
I thank you everyone.
kino replied on at Permalink Reply 1 Attachment
kino
sample csv is attached.

csv format
-------------------------------------
username1,email1,password1
username2,email2,password2
mario replied on at Permalink Reply
mario
thank you very much! I'm sure this will come in handy for the future.
kino replied on at Permalink Reply
kino
Thank praise.

maketplace also want to register, so I've attached a hurry because everyone though.
bcarone replied on at Permalink Reply
bcarone
KINO

THIS IS AWESOME!!!!!

BUT, is this via a comma deleminated txt file? or does it matter.

Bill
Remo replied on at Permalink Reply
Remo
Bill, looks like he's looking for a comman..

Kino, what's the problem with the marketplace? I haven't tested this addon but the code looks nice. Would be cool if you could find this in the marketplace.
kino replied on at Permalink Reply
kino
The problem is I do not.
(If it feels comfortable enough with English Yes.)

However, we are so attached so quickly and it requires a lot of people.

I think I'm getting maketplace to register.

Thanks.
kino replied on at Permalink Reply
kino
/packages/importusers/controllers/dashboard/users/importusers.php
/packages/importusers/single_pages/dashboard/users/importusers.php
/packages/importusers/controller.php

admin page->Add Functionality
install [Import Users]

admin page->Users and Groups->Importusers
select filename for userslist.
Remo replied on at Permalink Reply
Remo
katz515 replied on at Permalink Reply
katz515
Remo,

Kino meant that he is going to submit this block to marketplace.

But looks like sewfan99 wants it immediately, so he decided to post it here first.

That's what he wanted to say.


Thanks~!
sewfan99 replied on at Permalink Reply
Kino thank you, not tried it yet but thank you, thank you. Are you Santa in disguise? I only raised this issue this morning and to have the possibility of a solution so quickly is wonderfull.
kino replied on at Permalink Reply 2 Attachments
kino
I was glad they gave is happy, I tried to make of this.

/packages/pagemaker/controllers/dashboard/sitemap/pagemaker.php
/packages/pagemaker/single_pages/dashboard/sitemap/pagemaker.php
/packages/pagemaker/controller.php

admin page->Add Functionality
install [Import Users]

admin page->sitemap->pgemaker
select filename for pagelist.

pagelist.csv is sample pagelist.
------------------------------------------
page1, page_1, left_sidebar,default
page2, page_2, right_sidebar,default
page3, page_3, full,default
page4, page_4, left_sidebar,greensalad
page5, page_5, right_sidebar,greensalad
page6, page_6, right_sidebar,greensalad
katz515 replied on at Permalink Reply
katz515
I just made the detail explanation page for Kino's PageMaker here.

http://www.concrete5.org/community/forums/customizing_c5/csv-pagema...
PhilYoung replied on at Permalink Reply
PhilYoung
The package works great. Is there any simple way to extend it to import addresses and tel no. from a csv as well.
sam12345 replied on at Permalink Reply
Hi Kino,

You have done awsome work on importing users and page.I just want to know that is there any general script through which we can import any data from any csv to fit into the c5 table.

Thanks
synlag replied on at Permalink Reply
synlag
wow, kino, that's awesome!!!
i have to check this out.
Have you already submitted this to the marketplace?
kino replied on at Permalink Reply
kino
Maketplace still can not register, because I'm poor at English.
Takezo(http://www.concrete5.org/profile/-/1556/... ), so he asked for support.
I created theme packages and will stir up things I think will be registered in his name.
Takezo replied on at Permalink Reply
Takezo
Hi,guys.
Yesterday, I was asked for support around translation from Kino.
He is a great coder(all of you know),but he has some trouble with english.

So we've just started corporating.
Now we are checking the document how to submit add-ons.

Wait for a few days ..
synlag replied on at Permalink Reply
synlag
Sounds great!
Takezo replied on at Permalink Reply
Takezo
We have almost done it!
But we need to make documents.

Wait for a few days more..
myFullFlavour replied on at Permalink Reply
myFullFlavour
So this is headed towards the marketplace soon?
I have a client who will likely want to make use of this :)
synlag replied on at Permalink Reply
synlag
here too :)
kino replied on at Permalink Reply
kino
you have to buy when it becomes available in the marketplace.
Takezo replied on at Permalink Best Answer Reply
Takezo
This is a complement of Kino's post.

You can download and use it now.
But if you do so ahead of time,you should pay for it as soon as after he submit this add-on .
The price is $15.

We are now in the procedure of submitting.
Takezo replied on at Permalink Reply
Takezo
The add-on "Kino's import users" were successfully approved on market place.
http://www.concrete5.org/marketplace/addons/kinos-import-users/...

Thank you sendiks,for mentioning!
melat0nin replied on at Permalink Reply
melat0nin
Do you know if Kino plans to extend the importer? I bought it and it works, but I can't assign users to groups (c5 doesn't support this either).

I have ~450 users which I need to assign into groups :(
Takezo replied on at Permalink Reply
Takezo
I am sorry I forget to tell you about attribute.

We upgraded "import users" now!

http://www.concrete5.org/marketplace/addons/kinos-import-users/...

It enables you to import groups ,addresses or any other attributes as you like.

Please check it out !
sendiks replied on at Permalink Reply
Glad to see the add-on is on the marketplace. Does anyone have any idea if there is a limit to the number of users Concrete can handle? I am planning to use Concrete as an employee portal starting at around 1,300 users up to well over 2,000.
elyon replied on at Permalink Reply
elyon
If you didn't realize already, concrete5.org is running on Concrete. Judging by the URL for your user profile, I would say that you are user #14,497, so I'd say yes, Concrete can handle one or two thousand :)