» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 80
1 members and 79 guests
Hennry
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
Rimonabant - combat obesity and smoking at the same time
Football Betting - best nfl betting promotions at sportsbook.com.
Poker Chips - Clay and composite poker chips for home games.

Register Now! Contact Us

About this Page
This is a discussion on e107 > phpnuke within the Nuke 7.x - General forums, part of the PHP-Nuke 7.x category; Is there a way to convert a e107 database to phpnuke? I need to move over 150 users from my ...



Go Back   Nukemods Forum » PHP-Nuke 7.x » Nuke 7.x - General

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-06-2005, 08:05 AM
Junior Member
 
Join Date: Jun 2005
Location: Norway
Posts: 58
Send a message via MSN to raiisak
e107 > phpnuke
Is there a way to convert a e107 database to phpnuke?
I need to move over 150 users from my old e107 site to my new
phpnuke powered site.

Plz reply, all help are of intrest!

Cheers..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 08-08-2005, 10:01 AM
Junior Member
 
Join Date: Jun 2005
Location: Norway
Posts: 58
Send a message via MSN to raiisak
If its not doable plz post so
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 08-08-2005, 10:07 AM
Junior Member
 
Join Date: Jun 2005
Location: Norway
Posts: 58
Send a message via MSN to raiisak
Im almost beggin.. I have googled this issue for days now.. I really dont whant to manuall add all those users again.. Are there another solution?
Perhaps a mass add user module or block?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 08-08-2005, 05:48 PM
dar63's Avatar
Moderator
 
Join Date: Oct 2002
Location: UK
Posts: 473
Not promising anything but post up the structure for your e107 user table.

I may be able to make a basic converter.
__________________
http://phpnuke-uk.net
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 08-09-2005, 08:19 AM
Junior Member
 
Join Date: Jun 2005
Location: Norway
Posts: 58
Send a message via MSN to raiisak
I didnt wanted to post all of my users email adress and so on here so I PM you the table.. Sweet jezus I hope you can help me here...

Its alot of work doing this manually I tell you ..

Cheers mate..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 08-09-2005, 02:13 PM
dar63's Avatar
Moderator
 
Join Date: Oct 2002
Location: UK
Posts: 473
You're confused, I asked for the table structure, I don't want your user list.
__________________
http://phpnuke-uk.net
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 08-09-2005, 03:54 PM
Junior Member
 
Join Date: Jun 2005
Location: Norway
Posts: 58
Send a message via MSN to raiisak
LOL
lol, yeh you are right man! I am.. hehe

Here are the core_sql install file:

Code:
#
# Table structure for table `user`
#

CREATE TABLE user (
  user_id int(10) unsigned NOT NULL auto_increment,
  user_name varchar(100) NOT NULL default '',
  user_customtitle varchar(100) NOT NULL default '',
  user_password varchar(32) NOT NULL default '',
  user_sess varchar(32) NOT NULL default '',
  user_email varchar(100) NOT NULL default '',
  user_homepage varchar(150) NOT NULL default '',
  user_icq varchar(10) NOT NULL default '',
  user_aim varchar(100) NOT NULL default '',
  user_msn varchar(100) NOT NULL default '',
  user_location varchar(150) NOT NULL default '',
  user_birthday date NOT NULL default '0000-00-00',
  user_signature text NOT NULL,
  user_image varchar(100) NOT NULL default '',
  user_timezone char(3) NOT NULL default '',
  user_hideemail tinyint(3) unsigned NOT NULL default '0',
  user_join int(10) unsigned NOT NULL default '0',
  user_lastvisit int(10) unsigned NOT NULL default '0',
  user_currentvisit int(10) unsigned NOT NULL default '0',
  user_lastpost int(10) unsigned NOT NULL default '0',
  user_chats int(10) unsigned NOT NULL default '0',
  user_comments int(10) unsigned NOT NULL default '0',
  user_forums int(10) unsigned NOT NULL default '0',
  user_ip varchar(20) NOT NULL default '',
  user_ban tinyint(3) unsigned NOT NULL default '0',
  user_prefs text NOT NULL,
  user_new text NOT NULL,
  user_viewed text NOT NULL,
  user_visits int(10) unsigned NOT NULL default '0',
  user_admin tinyint(3) unsigned NOT NULL default '0',
  user_login varchar(100) NOT NULL default '',
  user_class text NOT NULL,
  user_perms text NOT NULL,
  user_realm text NOT NULL,
  user_pwchange int(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (user_id),
  UNIQUE KEY user_name (user_name)
) TYPE=MyISAM;
# --------------------------------------------------------

Phew.. Thats all.. I hope you will do this mate. There are several in the e107 forum that ask for the same, but this is the place to ask for it!! heh.
Kinda rude asking for a converter to another system over there, lol.

Thanks for trying to help me!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 08-09-2005, 05:03 PM
dar63's Avatar
Moderator
 
Join Date: Oct 2002
Location: UK
Posts: 473
Right, make a complete backup of your e107_user table, import it into your nuke database and then run this via the sql section. You should already have one user called anonymous in the nuke_users table and that needs to stay.

Code:
INSERT INTO nuke_users (username, user_password, user_email, user_from, user_icq, user_msnm, user_aim, user_website, user_regdate, user_sig)
SELECT n.user_name, n.user_password, n.user_email, n.user_location, n.user_icq, n.user_msn, n.user_aim, n.user_homepage, n.user_join, user_signature
FROM e107_user n
WHERE n.user_id > 0
Unfortunately I cant change the reg dates because 107 uses unixtime stamp and nuke uses normal Date/time, so afterwards run the query below to make all reg dates the same as the first entry, future registrations will be fine though.

Code:
UPDATE nuke_users SET user_regdate = "Jan 30 2005" ;
Maybe someone can do something better but I did say it would be basic.
__________________
http://phpnuke-uk.net
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 08-09-2005, 07:46 PM
Junior Member
 
Join Date: Jun 2005
Location: Norway
Posts: 58
Send a message via MSN to raiisak
Thank you so much for taking the time and showing me this!
I am sure this will be as much for help for me as for the others..
We who had this problem owe you bigtime mate..
THANK YOU!

One last question before I leave this tread to itself:
Is there a sql command for setting all of the members as Subscribed?
I need to mail them all in a hurry about the changes.. hehe

Again my friend, thanks...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 08-09-2005, 08:12 PM
dar63's Avatar
Moderator
 
Join Date: Oct 2002
Location: UK
Posts: 473
Code:
UPDATE nuke_users SET newsletter = "1" ;
__________________
http://phpnuke-uk.net
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:38 AM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31