UseBB Community

The official board for UseBB help and discussion

UseBB Community » Resources & Customization » phpBB Convertor

phpBB Convertor

Moderators: Gaia.

Page: 1

Author Post
Developer
Registered: Apr 2004
Posts: 2224
Location: Belgium
As 1.0 is nearing, I'd like to have a phpBB convertor developed, even when there aren't any plans for a convertor system until 2.0.

A lot people have asked me for a convertor but there isn't any yet. An SMF convertor was made a long time ago but due to SMF's different password encoding algorithm it doesn't fully work.

If anyone volunteers to create a convertor for phpBB 2.0.x -> UseBB, that would be great. In the other case, I'll create one when 1.0 RC1 is ready. :)
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
Developer
Registered: Apr 2004
Posts: 2224
Location: Belgium
Alpha 1 of the phpBB to UseBB convertor is now ready.

This convertor program will convert members, categories, forums, topics, posts and topic subscriptions of your phpBB 2.0.x install to UseBB. It will, however, NOT (yet) keep:

* the permissions of the boards (all boards become default UseBB permissions = world-readable);
* the permissions of members, except for admins which will also be admins on UseBB;
* any other content such as bans, instant messages, ...

Please keep this in mind before converting your forum. Converting a phpBB board will not delete or alter the content in phpBB's database, so you have nothing to lose.

TODO
Convert...
* forum authorization settings;
* forum ban lists;
* word censors;
* forum moderators.

Note: to run this convertor, you probably need to increase your PHP memory limit.
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
« Last edit by Dietrich on Sun May 21, 2006 6:24 pm. »
Developer
Registered: Apr 2004
Posts: 2224
Location: Belgium
Released alpha 2:

Quote
Alpha 2 Changelog
-------------------------

- Fix anonymous posts
- Fix url=www... tags
- Fix admin levels
- Fix huge memory usage
- Fix not all emptied tables
- Correctly set started stat value


It now works within PHP's memory limit, although it needs UseBB 1.0 RC3 (which you can download from CVS).

Download here (below).
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
Developer
Registered: Apr 2004
Posts: 2224
Location: Belgium
Again an updated version was uploaded:

Quote
Alpha 3 Changelog
-------------------------

- Convert bans
- Convert disallowed names
- Convert word censors
- Convert moderator permissions
- Fix entities in code tags
- Optimize database queries
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
Member
Registered: Jun 2006
Posts: 4
Guess I'm the first to comment on this :)

Well, I just performed a conversion with this and everything went quite well.

The only problem I faced was the fact that both the UseBB and phpBB tables had to be in the same database.

To expand on that, the convertor will look in the phpBB database (as defined by the user) for both the UseBB and phpBB tables.

Before beginning the conversion, I was under the impression that the UseBB/phpBB tables could be in different databases since the convertor prompted for the path to the UseBB directory and phpBB tables...
Developer
Registered: Apr 2004
Posts: 2224
Location: Belgium
I have tested it with different databases, even different user names (but not different SQL servers). Are you getting an error of some sort?
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
Member
Registered: Jun 2006
Posts: 4
I did get an error along the lines of "dbname.usebb_badwords does not exist" where dbname was the name of the phpBB database I entered into the form.
Developer
Registered: Apr 2004
Posts: 2224
Location: Belgium
Did you follow the installation instructions well?

It's impossible the database object for UseBB's database gets phpBB's database's info, unless you have put it into UseBB's config.php.
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
Member
Registered: Jun 2006
Posts: 4
Ok, i tried to do this and get these errors:

Warning: main(/gce/forumsconfig.php): failed to open stream: No such file or directory in /data/6/0/79/93/405419/user/412968/htdocs/usebb.php on line 124

Fatal error: main(): Failed opening required '/gce/forumsconfig.php' (include_path='.:/usr/services/vux/lib/php') in /data/6/0/79/93/405419/user/412968/htdocs/usebb.php on line 124
Developer
Registered: Apr 2004
Posts: 2224
Location: Belgium
Path to UseBB installation must be including trailing slash, as said on the page itself. And note if you use an absolute path, it must be complete (start from the server root, which is obviously not the case here).
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
Member
Registered: Dec 2006
Posts: 1
Whenever I run the converter I am redirected to my main website for some reason. I am little confused here as to why it is doing this.

The phpBB forums are located at http://www.dandyandcompany.com/forums
UseBB is located at http://www.dandyandcompany.com/forums_test
Converter is located at http://www.dandyandcompany.com/forums_test/phpbb_to_usebb.php/

I fill out all the necessary information click Start Converter and are promptly forwarded to http://www.dandyandcompany.com
Member
Registered: Feb 2007
Posts: 22
Just converted my Forum (about 10000 posts) from phpBB, a few problems but otherwise OK.
Member
Registered: Apr 2007
Posts: 1
Hello, i want to converter phpbb forum to usebb to test it, it look more fast than phpbb. Im installed first usebb forum and works ok but when i run phpbb_to_usebb script alpha 3 with all bd username, db names... all ok sure it says:

Busy converting:

Creating database connections...
Fatal error: Call to a member function get_config() on a non-object in /home/miweb/domains/miweb.com/public_html/modules/UseBB/sources/db_mysqli.php on line 98

and not work, im searched in this forum with search but not found about this, thanks!
Member
Registered: Nov 2006
Posts: 1
I have a same problem as selce.. please help!

Creating database connections...
Fatal error: Call to a member function get_config() on a non-object in /home/generbiz/public_html/forum/sources/db_mysqli.php on line 98
Developer
Registered: Apr 2004
Posts: 2224
Location: Belgium
I will check the convertor soon to fix it for mysqli. As a workaround you could use mysql instead of mysqli if you can authenticate using "old password" in MySQL.
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog

Page: 1

UseBB Community » Resources & Customization » phpBB Convertor

UseBB Community is powered by UseBB 1 Forum Software