SW:Rebellion NetworkHosted by the SW:Rebellion Network
Welcome to Evaders Squadron Coding [ESC]
phpNuke, phpBB, and other scripts Expert - Evaders Squadron Coding - Coding Services
Home Forums Nuke Patched Core Coding Services Webmaster Services Personal
  Login/Create an Account    

Forums
· Forums FAQ
· Search
· Usergroups
· Profile
· Private Messages

Support Us
This site runs with your support. Please donate:

User Info/Login
Welcome, Anonymous
Nickname
Password
Security Code: Security Code
Type Security Code

(Register)
Membership:
Latest: Talshiar02
New Today: 1
New Yesterday: 0
Overall: 9663

People Online:
Visitors: 9
Members: 0
Total: 9

Link to Us

Affliates
RPG Boards Hosting

Evaders Squadron Coding [ESC] :: View topic - phpBB2phpNuke
phpBB2phpNuke
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
 
Post new topic   Reply to topic    Evaders Squadron Coding [ESC] Forum Index -> Coding Services
View previous topic :: View next topic  
Author Message
fade2gray
Newbie
Newbie


Joined: Mar 27, 2006
Posts: 6

PostPosted: Thu Apr 06, 2006 9:15 pm    Post subject: Reply with quote

Evaders99 wrote:
Yes, you'd need to go to the Forums Configuration and change it. It won't detect it automatically, because it doesn't actually know where you put your files

Re-reading it, I think your previous comment covers it.

Evaders99 wrote:
However, as stated in the script - it does delete all existing user and forums data in phpNuke

Sorry about that. Embarassed
Back to top
View user's profile Send private message
ShotoKan
Newbie
Newbie


Joined: Sep 20, 2006
Posts: 13

PostPosted: Wed Sep 20, 2006 10:38 pm    Post subject: Reply with quote

Evaders99 wrote:
You can try out my phpBB2phpNuke script.. at least it has worked for me
http://evaders.swrebellion.com/forums/postt25.html


Evaders, i am quoting your answer on hukefoorum to let you know i am continue it here since i am not going to talk about your script OK.

I have 2 questions:
1-Does your script will import ALL phpBB data into the PHP-Nuke databases? Including forums, users, everything?
2 -Does the script delete or modify anything in the phpBB database during this process? Or it just reads the data from there and that's it? I really can't delete or touch the phpBB data.

Please let me know what to do OK.
Thanks,
Here is my phpbb2phpnuke-config:
$dbhost = "localhost";
$dbuname = "database";
$dbpass = "password";
$dbname = "phpBBtest"; (I wasn't sure if here goes the phpBB or Nuke DB)
$nuke_prefix = "nuke";
$user_prefix = "nuke";
$phpbb_prefix = "phpbb";

The problem is that when I run phpbb2phpnuke.php i got the below message:
"Cannot connect to phpNuke's bbconfig table. Please check your phpNuke prefix settings in phpbb2phpnuke_config.php"

I have o say that my php-nuke databse is not NUKE soi don't know if you script is expecting this as the name.
Back to top
View user's profile Send private message
Evaders99



Joined: Jan 11, 2002
Posts: 3064
Location: USA

PostPosted: Wed Sep 20, 2006 10:54 pm    Post subject: Reply with quote

1) It imports all relevant data except themes and smilies

2) It does not delete any phpBB data

As stated in the readme
Code:

TO USE:
1) You must have your phpBB and phpNuke tables in the same database
   If not, use phpMyAdmin to export your tables into one database

_________________
Evaders99
SW:Rebellion Fans! Webmaster
Star Wars roleplaying community! Administrator

Fighting is terrible, but not as terrible as losing the will to fight.
- SW:Rebellion Network - Evaders Squadron Coding -

The cake is a lie.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
ShotoKan
Newbie
Newbie


Joined: Sep 20, 2006
Posts: 13

PostPosted: Wed Sep 20, 2006 11:01 pm    Post subject: Reply with quote

Well i think I do have them both in the same database. I mean the same MySql database. Or you mean that the phpBB and PHP-Nuke tables must all be together in one database?

If you look into my phpbb2phpnuke config i setup the $dbname = my phpbb database is that correct it should have been the php-buke database?

Just one more question: Should i make all the changes you asked on the first posts concerning the use of the underscore on the phpBB and php-nuke prefix? Or that was especific for the other person?
Back to top
View user's profile Send private message
Evaders99



Joined: Jan 11, 2002
Posts: 3064
Location: USA

PostPosted: Thu Sep 21, 2006 8:13 am    Post subject: Reply with quote

"phpBB and PHP-Nuke tables must all be together in one database"
Correct

You don't need to make the changes to the underscore if you are using the default values from the phpBB and phpNuke installations.
_________________
Evaders99
SW:Rebellion Fans! Webmaster
Star Wars roleplaying community! Administrator

Fighting is terrible, but not as terrible as losing the will to fight.
- SW:Rebellion Network - Evaders Squadron Coding -

The cake is a lie.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
ShotoKan
Newbie
Newbie


Joined: Sep 20, 2006
Posts: 13

PostPosted: Thu Sep 21, 2006 1:58 pm    Post subject: Reply with quote

Mr. Evaders

I just run the script after your last post and now i could run... GREAT... there was just two issues as you can see below.
Please let me know how can i fix them.

Inserting phpBB forums data into phpNuke
Error inserting data from phpbb_privmsgs to nuke_bbprivmsgs - Column count doesn't match value count at row 1

I notice the private messages text is all there but the other table private messages only is tottaly empt because this error above.

I also notice some users did not had theirs signature and avatar uploaded. It seems there is a size limit maybe different from the original phpBB.
Back to top
View user's profile Send private message
Evaders99



Joined: Jan 11, 2002
Posts: 3064
Location: USA

PostPosted: Thu Sep 21, 2006 6:34 pm    Post subject: Reply with quote

Did you make sure your phpNuke forums version was the same as your phpBB?

It would not have converted your private messages over. It does not copy any files over, you would have to do that yourself.
_________________
Evaders99
SW:Rebellion Fans! Webmaster
Star Wars roleplaying community! Administrator

Fighting is terrible, but not as terrible as losing the will to fight.
- SW:Rebellion Network - Evaders Squadron Coding -

The cake is a lie.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
ShotoKan
Newbie
Newbie


Joined: Sep 20, 2006
Posts: 13

PostPosted: Thu Sep 21, 2006 6:57 pm    Post subject: Reply with quote

Yes they're both 2.0.20. I used BBtoNuke before to get it from 0.17 to 0.20 base on your recommendation from other post.

So the script does not move the private messages over? But it did move the private_messages_text table and only the private_messages got the error and the data did not went through.

How would i get the private messages converted then?
Back to top
View user's profile Send private message
Evaders99



Joined: Jan 11, 2002
Posts: 3064
Location: USA

PostPosted: Thu Sep 21, 2006 8:45 pm    Post subject: Reply with quote

Maybe an update did not work correctly. Use phpMyAdmin and post the structure of both privmsgs tables
_________________
Evaders99
SW:Rebellion Fans! Webmaster
Star Wars roleplaying community! Administrator

Fighting is terrible, but not as terrible as losing the will to fight.
- SW:Rebellion Network - Evaders Squadron Coding -

The cake is a lie.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
ShotoKan
Newbie
Newbie


Joined: Sep 20, 2006
Posts: 13

PostPosted: Fri Sep 22, 2006 5:41 am    Post subject: Reply with quote

OK

Here is the nuke_bbprivmsgs

Code:

 Field Type Collation Attributes Null Default Extra Action
  privmsgs_id mediumint(8)   UNSIGNED No  auto_increment               
  privmsgs_type tinyint(4)   No 0               
  privmsgs_subject varchar(255) latin1_swedish_ci  No 0               
  privmsgs_from_userid mediumint(8)   No 0               
  privmsgs_to_userid mediumint(8)   No 0               
  privmsgs_date int(11)   No 0               
  privmsgs_ip varchar(8) latin1_swedish_ci  No                 
  privmsgs_enable_bbcode tinyint(1)   No 1               
  privmsgs_enable_html tinyint(1)   No 0               
  privmsgs_enable_smilies tinyint(1)   No 1               
  privmsgs_attach_sig tinyint(1)   No 1               
 Check All / Uncheck All With selected:       
--------------------------------------------------------------------------------
Print view Propose table structure
  Add  field(s)At End of Table At Beginning of Table After privmsgs_id privmsgs_type privmsgs_subject privmsgs_from_userid privmsgs_to_userid privmsgs_date privmsgs_ip privmsgs_enable_bbcode privmsgs_enable_html privmsgs_enable_smilies privmsgs_attach_sig 
--------------------------------------------------------------------------------

  Indexes:   Keyname Type Cardinality Action Field
PRIMARY  PRIMARY 0       privmsgs_id 
privmsgs_from_userid  INDEX None       privmsgs_from_userid 
privmsgs_to_userid  INDEX None       privmsgs_to_userid 
Create an index on  columns   
Space usage Type Usage
Data 0 Bytes
Index 1,024 Bytes
Total 1,024 Bytes
Row Statistics Statements Value
Format dynamic
Collation latin1_swedish_ci
Rows 0
Next Autoindex 1
Creation Sep 21, 2006 at 02:58 PM
Last update Sep 21, 2006 at 02:58 PM


Here is the phpBB_privmsgs

Code:

 Field Type Collation Attributes Null Default Extra Action
  privmsgs_id mediumint(8)   UNSIGNED No  auto_increment               
  privmsgs_type tinyint(4)   No 0               
  privmsgs_subject varchar(255) latin1_swedish_ci  No 0               
  privmsgs_from_userid mediumint(8)   No 0               
  privmsgs_to_userid mediumint(8)   No 0               
  privmsgs_date int(11)   No 0               
  privmsgs_ip varchar(8) latin1_swedish_ci  No                 
  privmsgs_enable_bbcode tinyint(1)   No 1               
  privmsgs_enable_html tinyint(1)   No 0               
  privmsgs_enable_smilies tinyint(1)   No 1               
  privmsgs_attach_sig tinyint(1)   No 1               
  privmsgs_from_username varchar(25) latin1_swedish_ci  No                 
  privmsgs_to_username varchar(25) latin1_swedish_ci  No                 
  site_id mediumint(8)   No 0               
  room_id mediumint(8)   No 0               
 Check All / Uncheck All With selected:       
--------------------------------------------------------------------------------
Print view Propose table structure
  Add  field(s)At End of Table At Beginning of Table After privmsgs_id privmsgs_type privmsgs_subject privmsgs_from_userid privmsgs_to_userid privmsgs_date privmsgs_ip privmsgs_enable_bbcode privmsgs_enable_html privmsgs_enable_smilies privmsgs_attach_sig privmsgs_from_username privmsgs_to_username site_id room_id 
--------------------------------------------------------------------------------

  Indexes:   Keyname Type Cardinality Action Field
PRIMARY  PRIMARY 13216       privmsgs_id 
privmsgs_from_userid  INDEX None       privmsgs_from_userid 
privmsgs_to_userid  INDEX None       privmsgs_to_userid 
room_id  INDEX None       room_id 
site_id  INDEX None       site_id 
Create an index on  columns   
Space usage Type Usage
Data 608,380 Bytes
Index 530,432 Bytes
Total 1,112 KB
Row Statistics Statements Value
Format dynamic
Collation latin1_swedish_ci
Rows 13,216
Row length ø 46
Row size ø 86 Bytes
Next Autoindex 29,666
Creation Sep 21, 2006 at 03:18 PM
Last update Sep 21, 2006 at 03:19 PM
Back to top
View user's profile Send private message
Evaders99



Joined: Jan 11, 2002
Posts: 3064
Location: USA

PostPosted: Fri Sep 22, 2006 9:03 am    Post subject: Reply with quote

Use phpMyAdmin to delete these fields from nuke_bbprivmsgs

privmsgs_from_username
privmsgs_to_username

Run the conversion script again and it should work
_________________
Evaders99
SW:Rebellion Fans! Webmaster
Star Wars roleplaying community! Administrator

Fighting is terrible, but not as terrible as losing the will to fight.
- SW:Rebellion Network - Evaders Squadron Coding -

The cake is a lie.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
ShotoKan
Newbie
Newbie


Joined: Sep 20, 2006
Posts: 13

PostPosted: Fri Sep 22, 2006 11:13 am    Post subject: Reply with quote

Mr. Evaders

You asked me to delete the fields privmsgs_from_username and privmsgs_to_username from nuke_bbprivmsgs but these fields only exist in the phpBB_privmsgs.

Should I delete them from phpBB_privmsgs?

Thanks,
Back to top
View user's profile Send private message
Evaders99



Joined: Jan 11, 2002
Posts: 3064
Location: USA

PostPosted: Fri Sep 22, 2006 7:51 pm    Post subject: Reply with quote

Sorry, right phpBB_privmsgs
_________________
Evaders99
SW:Rebellion Fans! Webmaster
Star Wars roleplaying community! Administrator

Fighting is terrible, but not as terrible as losing the will to fight.
- SW:Rebellion Network - Evaders Squadron Coding -

The cake is a lie.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
ShotoKan
Newbie
Newbie


Joined: Sep 20, 2006
Posts: 13

PostPosted: Sat Sep 23, 2006 8:41 am    Post subject: Reply with quote

Mr. Evaders

I did delete the fields and re-run the script but still the same error. See below.

Inserting phpBB forums data into phpNuke
Error inserting data from phpbb_privmsgs to nuke_bbprivmsgs - Column count doesn't match value count at row 1
Back to top
View user's profile Send private message
ShotoKan
Newbie
Newbie


Joined: Sep 20, 2006
Posts: 13

PostPosted: Sat Sep 23, 2006 9:30 am    Post subject: Reply with quote

Ok. After i got the same error again i thoug why does he asked me to elete those fields... maybe because they does not exist in Nuke structure then i realize there was two more in phpBB that wasn't in Nuke either.

site_id mediumint
room_id mediumint


Well idelete them too and run the script again. Guess what got NO ERROR.

Now my question is: Did i screw up anything by doing that? I got no error but maybe it wasn't the right thing to do?

The only thing i realized so far is that majority of the AVATARs did not get imported and i don't know why. It seems that all avatars using URL is ok but the ones pointing to a picture did not went through.

Please let me know
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Evaders Squadron Coding [ESC] Forum Index -> Coding Services All times are GMT - 5 Hours
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
Page 2 of 10

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

^Top
Home Your Account Forums Downloads F.A.Q. Submit News Hosting Contact Us

© 2005 - 2007 by Evaders99. All Rights Reserved.
All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters.
You can syndicate our news using the file backend.php
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL.
PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 5.59 Seconds