Google

NukeCoder


View next topic
View previous topic
Post new topic   Reply to topic
Author Message
Cobra8007




Joined: May 05, 2005
Posts: 21
Location: Midwest City, Ok

PostPosted: Wed Jun 01, 2005 10:09 pm
Reply with quote

My squad is dropping their old website and forums. It is now redirected to my site. I need to insert all of the nuke_users from the old to my db. I have the list in an exported to csv file.

Is there a utility or script available to make this task a little bit easier?

Thanks,
Tom
 
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger ICQ Number
gotcha
Site Admin
Site Admin



Joined: Oct 25, 2004
Posts: 921

PostPosted: Thu Jun 02, 2005 12:09 am
Reply with quote

Well if you still have a chance, get a .sql dump and just use phpmyadmin to import it to the new site(assuming the 2 sites are using the same version of nuke). If not, I think phpmyadmin handles CSV files. But before you do anything, backup any info on the new site thats important.
 
View user's profile Send private message Visit poster's website
Cobra8007




Joined: May 05, 2005
Posts: 21
Location: Midwest City, Ok

PostPosted: Thu Jun 02, 2005 1:47 am
Reply with quote

Boy, you weren't kidding. I did a couple backups then tested the import. Turns out, the table order must be exact and the data types (such as dates) must match.

At any rate, after much editing of the csv file in MSACCESS, I was able to put the file in the proper structure and export to a new csv. The exort was from pnbb2 and importing to phpbb, so you can see I had to do a lot of manipulation. Some data such as user_regdate isn't in the same format. A lot of fields didn't even exist.
 
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger ICQ Number
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 5 Hours
Forums ©