![]() |
Nebula... good work dude. I have a phpBB2 forum which I'm looking to convert over to vBulletin so decided to test your script out on a test server. The import worked fine with the exception of the following...
a) For some reason there was a post with a poll that caused it to crash out. The Jelsoft importer fell over at the same point. Once I deleted that post the import carried on successfully. I'm not sure why it was falling over, but the sql query it was executing was trying to select null id's. b) Private Messages seem to have all imported OK, but just looking at my own in and out boxes there are quite a few that are identified with the wrong username. i.e. the message is meant for me but the from user displayed is incorrect. This is strange because some are in fact correct.?!?! This is not a biggie, as others have said I can just delete the PM's before import, but would be nice to see it work too :) c) Avatars don't seem to be importing at all. No errors reported. Again, good job. Keep it up :banana: Cheers Z |
I've worked out the problem with the Private Messages import. At some stage in the history of my phpBB2 I've deleted a user which left a gap in the sequence of userid's. In this case it was userid 18. The import script doesn't allow for this so phpbb userid 19 gets entered into the vbulletin as userid 18 as 18 is the next available spot...the field must be set to auto increment and the script doesn't "notice" the jump in phpbb's userid's.
I created a dummy user on the phpbb2, and then changed it's userid to 18 to fill in the gap in the sequence. Then ran the import script again. All the private messages are now associated with the correct user ids. This explains why some had problems with the PM import while others didn't. I haven't delved into Nebula's code to find out why it does this, but I'm sure it will be a simple fix. Hope this helps. :banana: Z |
Wow . I REALLY appreciate this script. Many blessings to you!
|
Quote:
|
An official phpBB2 importer has been released at http://www.vbulletin.com/members/
|
Err.. yeah, but it's not as full featured as Nebula's, which I think was the point of this thread.
BTW, I've also come up with a small script that converts the quote="username" format of phpBB2 to vBulletin's standard format if anyone's interested in it. It's stand alone and can be run after the import. Cheers Z |
The one in the members area does Members, Forums, Threads and Polls
|
But still, I think you are missing the point. If you read through this thread you will see everyone that has used the official one thought it was horrible. I can vouch for that. I tried it first, and I was very dissapointed. I purchased vb a week back and my biggest concern was converting my phpBB board over to vb. I would have to say if the only thing available at the time was the offical convertor script, I would have been kicking and screaming to vb asking why they could call a script an 'official phpBB convertor' when it does a horrible job. The script posted here works great. Sure, a couple of things my have issues, but the end result of this script vs the official script is 1000 times better. To be honest, I would have not purchased vb if I had not found this thread. Reading how bad the official script is and what state it leaves your forums in, I would not have wasted my time. But I have to thank Nebula for putting in the time to do something correct. After reading how well his script works, and using it myself, I can now convert over with out any major issues.
Thanks :) |
Quote:
Thanks. |
OK... but please please PLEASE backup your database before running this. I'm a builder, so my PHP skills are rudimentary at best. The script did run fine on my 2.2.6 vB.
Here's the code... just put it anywhere on your server and run it. BACKUP YOUR DATABASE FIRST. This hasn't been tested anywhere other than on my solitary box. Your database is YOUR responsibility. PHP Code:
Hope it works OK. Cheers Z |
How would I go about using this script if I have two seperate logins for mysql. ie:
phpBB2 username: phpBB database: phpBBforums passwd: phpBBpass Vbulletin username: vbulletin database: vbulletinforums passwd: vbulletinpass As you can see when I try to perform the import It can not connect to my phpBB database because it uses a different username/pass then what is listed in vbulletin's config.php thanks in advance |
I have tried this 3 times now, I keep recieving this error!
Quote:
|
Oh, I get the error while importing topics!
|
Here is what I suggest. First make a backup of your phpBB database. Then find the topic that it is hanging on and delete it. On my main site which I am getting ready to convert, I have had to delete at least 4 topics now to get it working. Once I make sure everything is ok, I will then wipe out my vb database and start from scratch. When I tested this on another one of my test boards, I had 2 topics that needed removed before the script would run. But after getting rid of those 2 topics, it worked fine.
|
seeing a weirdness, I am getting timeouts errors also... I am not sure it is the same topic... digging more
*** Edit *** Same post... going to dump it and see how it goes... |
Sorry I've been away for so long.
Or, you could set the amount of topics it parses per cycle even lower... |
Version 0.9.5 is out. This version fixes the problem with avatars not importing. They now import without a problem, though if you choose to import avatars, it may take extra time during the process, since vBulletin has to grab every image file, which can take some time ;)
I also updated the BBCode routine to support the 'reply with quote' tag. Basicially, it now converts [ quote=Nebula] into [ quote]Topic originally posted by Nebula. Also, I submitted this version to JelSoft, and they are considering merging this with their official one. We'll see how it goes ;) |
Quote:
thanks William :banana: :bunny: |
...I'm curious what the posts were that you had to delete...did they have anything in them, like a poll or something?
|
Great to hear about the avatars. I am getting ready to convert my production board over this weekend so I will be doing another test run on it probably tomarrow. I will post links to the threads which cause any hangups so you can check them out.
Thanks again for all your work :) p.s. Has anyone figured out how to transfer user groups over yet? |
good luck, I hope everything goes well. Also, if you have a lot of announcements, BBCode is not parsed (little bug I found today. Doesn't mean BBCode won't work, but some may not show up correctly.)
I may release a new version soon. Nope, haven't figured out how user groups work. Too stupid of a system ;) |
OK, I actually read through all 7 pages and I figured out that I am NOT the only person getting timed-out. Seems to be something occuring recently or what?
Anyway, this importer does a much better job than the official one; if only it didn't time out like it does... :) |
nope mine are bad... and Nebula was looking at a copy of my database, but I have not hear back in a while...
|
mine worked eventually... it was just one post with bbcodes for [color] and [size]
|
the problem is that I have 75% of my post are like that...
|
The [size] convert routine has been bad since the start...and I've been considering removing it. It appears I will have to, since it's causing problems for people.
|
there anyway you can just strip it and the color tags out?
|
That's what I was planning on having it do. I will see what I can do ;)
|
GREAT!!!! that will help as lot as the old phpBB tags are just garbage after being imported to vB
|
I have a problem with this script - although it worked perfectly from phpBB to vB 2.2.7, the end moderator column has assigned every moderator to every forum.
Also I used the same username when setting up my vB, as the one I had on phpBB, so now there are "2" of me - which one is safe to delete? Thanx for a great hack btw |
Actually no need!
Works like a Charm! - Thanx! |
Nebula: this hack just r0x! :D i need to thank you a lot for this work and for distribuiting it freely. great!
I report only a problem with the [size] translation: in large posts it timeouts at the row with the main regexp :( (as reported by other people in these pages). So i had to comment that line and re-import. Thx anyway |
This hack doesn't work too well.
When converting posts, it is not counting them correctly. For instance, I had 875 threads & 6100 posts. However, the converter makes it say 875 threads & 875 posts. How does one fix that? |
first off, you probably didn't update counters. And if you did, then maybe you have a hacked phpBB??? it's worked fine for me countless times...
|
I keep coming up with this error:
Database error in vBulletin Control Panel 2.2.7: Invalid SQL: DELETE FROM session WHERE sessionhash='' mysql error: Table 'eclipse_phpbb.session' doesn't exist mysql error number: 1146 Date: Wednesday 09th of October 2002 11:21:15 PM Script: http://ADDRESS/bbimport_phpbb2.php?s...&anncExpire=30 Referer: But the thing is, there is not session table in phpBB. Where does it script get this? |
did someone try the importer on a production VB board?
I want to fusion a PHPbb board with mine and i was wondering if there is any kind of problem. I know it's better to import to a blank VB board. suggestions? |
Marshalus: that bug has to do with database switching...some versions of PHP/mySQL do not handle it well. It works fine for me, and I can't reproduce that error, though people seem to have it.
pdatoon: Importing into a board with users/posts already there works just as well as when you're importing into a blank board. There is only one concern: say a user registered on your phpBB as 'Nebula'. Then, you shut the phpBB down, move to vBulletin for a few weeks. Nebula creates a new account on the vBulletin. If he names that account 'Nebula', then my script will link all the old phpBB posts to his new username. However, if he registered as 'NebulaDJ', then my script would create a new user 'Nebula', instead of 'NebulaDJ'. The official importer has a step called 'Associate Usernames', where you specify a username on the phpBB, and it can link it to the current vBulletin one. All my script does is check if the usernames are the same. So, if this is important to you, use the official one. If this doesn't matter, you can use mine or the official one...;) |
What versions of PHP and MySQL are you running?
Also, on the autodetection of usernames, if they have different caps on them, like "marshalus" instead of "Marshalus" will it still compare them as the same user? |
I'm running the most recent versions of everything (OmniHTTPd (Apache doesn't work well for me), PHP, & mySQL). PHP is 4.2.3, and mySQL is 3.23.53.
Also, no, it is case sensitive. Sorry :ermm: |
Hello!
I will switch from phpbb2 version 2.02 to the newest vbb. But in the process of importing the post on most of the post it stops with the following problem message: Fatal error: Maximum execution time of 20 seconds exceeded in /usr/local/httpd/htdocs/***/***/forum/importers/bbimport_phpbb2.php on line 160 and my forum had 80.000 post, no way to do it post by post or skip it. Please help, the rest before works better then the official importer, this sucks more. I stand by, because I want to open my forum tomorrow again Andreas |
All times are GMT. The time now is 04:17 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|