Arrow Home arrow Forums
larger font smaller font default font Fixed screen resolution Auto adjust screen size

Joomlapolis Forums  


<< Start < Prev 1 2 3 4 5 6 Next > End >>
Importing User Databases
Date: 2005/11/26 17:38 By: jojomd Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 5
graphgraph
New to joomla and community builder. Lots of possibilities with both software and I congratulate the developers.

I'd like to import flat file database of users. How's the best way to do it.

Thanks!
Click here to see the profile of this user The topic has been locked.

Re:Importing User Databases
Date: 2005/11/27 18:15 By: airdee Status: User  
Karma: -2  
Fresh Joomlapolitan

Posts: 8
graphgraph
You can do it this way:

In your PhpMyadmin, select your Mambo database and point your table to mos_users. On the SQl tab you can copy and paste your sql with the below pattern:

INSERT INTO `mos_users` (`id`, `name`, `username`, `email`, `password`, `usertype`, `block`, `sendEmail`, `gid`, `registerDate`, `lastvisitDate`, `activation`, `params`) VALUES
(68, 'juan delacruz', 'juan', 'juan@email.com', 'e10adc5949ba59abbe56e057f20f883e', '', 0, 0, 29, '2005-08-23 16:16:37', '2005-09-07 16:12:41', '', ''),
(69, 'pedro penduko', 'pedro', 'pedro@email.com', 'e10a6c3949ba59abbe56e057f20f883e', '', 0, 0, 18, '2005-09-25 18:13:10', '2005-09-25 18:13:38', '', '');

Ofcourse the above infos are jsut examples. Do not forget to backup your database first before doing anything.
Click here to see the profile of this user The topic has been locked.

Re:Importing User Databases
Date: 2005/11/27 18:20 By: airdee Status: User  
Karma: -2  
Fresh Joomlapolitan

Posts: 8
graphgraph
After succesful importing, you can then go to Components>>Community Builder>>Tools and select Synchronize Users It will then synch mos_users to mos_comprofiler
Click here to see the profile of this user The topic has been locked.

Re:Importing User Databases
Date: 2005/11/28 03:55 By: jojomd Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 5
graphgraph
Salamat airdee

What do i do for the passwords? I actually have their actual unhashed passwords.
Click here to see the profile of this user The topic has been locked.

Re:Importing User Databases
Date: 2005/11/28 09:23 By: trail Status: Admin  
Karma: 640  
Admin

Posts: 472
graphgraph
make it a php script and use the md5 alogarithm to create the hash .. i believe its a php standard function .. maybe even as simle as md5('normal pass') but do check www.php.net/md5 for precise usage..
DJ Trail.
CB Co-Founder & Test-Lead.
Plugins: My Age, Starsign Matchmaking Horoscope, My Visitor, My Highscores, My ProfileID,
My Components: Import & Invite Karma Casino (Use Test / Test)
My Modules: Many
Click here to see the profile of this user The topic has been locked.

Re:Importing User Databases
Date: 2005/11/28 09:51 By: cyberspeed Status: User  
Karma: 1  
Fresh Joomlapolitan

Posts: 4
graphgraph
Would the user import script in this thread work with CB?

http://forum.mamboserver.com/showthread.php?t=17358&highlight=user+import

you have to go down about three replies.
Click here to see the profile of this user The topic has been locked.

<< Start < Prev 1 2 3 4 5 6 Next > End >>

Documentation

Documentation Subscription Service
(updated for CB 1.2 RC2)

What?

Why?

Where?

Just click here for answers!

Click here for a yearly subscription: subscribe now

Download Latest Release

The latest stable Community Builder Release is version 1.1 for Joomla 1.0 and Mambo.
You need to be a registered member of Joomlapolis to download.

The latest release candidate of Community Builder is version 1.2 RC3, native for Joomla 1.0, 1.5 and Mambo.
It is available as "thank you" to all CB documentation subscribers at this time.

CB Login