MyBB to phpBB Conversion problem

Converting from other board software? Good decision! Need help? Have a question about a convertor? Wish to offer a convertor package? Post here.
Suggested Hosts
MaFeSa
Registered User
Posts: 175
Joined: Wed Feb 11, 2009 7:48 am

Re: MyBB to phpBB Conversion problem

Post by MaFeSa »

Tested version 0.0.4, the problem of attachments is still present and as I suggested earlier is better to leave phpBB smilies because those are really ugly.
Image

There seems to be some problem with groups and users, the most important is that the new user (administrator group and no one knows password) "Anonymous" is the only founder, new imported administrators can't manage all forum and users.
MaFeSa
Registered User
Posts: 175
Joined: Wed Feb 11, 2009 7:48 am

Re: MyBB to phpBB Conversion problem

Post by MaFeSa »

With this patch I was able to convert all attachments.
Now remain two problems...
User Anonymous must not be administrator and founder but guest :roll:
Is possible leave phpBB smiles as default on editor?
Thanks
User avatar
vbdata
Registered User
Posts: 6
Joined: Mon Jul 28, 2014 11:19 pm
Location: Paris, France

Re: MyBB to phpBB Conversion problem

Post by vbdata »

prototech wrote:Did you check the server error log? Were there any errors? Did you already install phpBB, or were you only just getting around to doing that? The main installation page doesn't load any of the convertor files, so it's certainly strange that you would be getting a blank page there.

The 1.6.x convertor is attached below. :)
Permissions are not converted. If you're using an encoding other than utf8, you'll need to edit
$encoding = 'utf8'; on line 33 of functions_mybb16.php and change that to your encoding.
I would like to thank you prototech. You saved me from my previous tries. All failed. :D

Édit : just a problem with topics / messages counts. Not match with mybb... Not so much even after recount and rebuild... Maybe a conversion problem !?
User avatar
vbdata
Registered User
Posts: 6
Joined: Mon Jul 28, 2014 11:19 pm
Location: Paris, France

Re: MyBB to phpBB Conversion problem

Post by vbdata »

vbdata wrote: Édit : just a problem with topics / messages counts. Not match with mybb... Not so much even after recount and rebuild... Maybe a conversion problem !?
Hum, find the solution. Rebuild topics, posts and cache before converting to phpBB with the prototach's script. :D Many thx again for your support and this script.
MaFeSa
Registered User
Posts: 175
Joined: Wed Feb 11, 2009 7:48 am

Re: MyBB to phpBB Conversion problem

Post by MaFeSa »

Hi, there is a problem with ip and myBB 1.8.1
Image

How I can fix?
Thanks
User avatar
prototech
Former Team Member
Posts: 5406
Joined: Mon Mar 19, 2007 2:04 pm
Location: Southern California

Re: MyBB to phpBB Conversion problem

Post by prototech »

MaFeSa wrote:Hi, there is a problem with ip and myBB 1.8.1
I'll look into it sometime this week and get an update ready. I'll also possibly work on getting it to convert MyBB 1.8.x to phpBB 3.1.x.
Need help with MOD/style installations or other phpBB problems? Contact me for a quote.
MaFeSa
Registered User
Posts: 175
Joined: Wed Feb 11, 2009 7:48 am

Re: MyBB to phpBB Conversion problem

Post by MaFeSa »

Thanks ;)
User avatar
prototech
Former Team Member
Posts: 5406
Joined: Mon Mar 19, 2007 2:04 pm
Location: Southern California

Re: MyBB to phpBB Conversion problem

Post by prototech »

MyBB 1.8.x to phpBB 3.1.x convertor is available here: viewtopic.php?f=486&t=2278541
Need help with MOD/style installations or other phpBB problems? Contact me for a quote.
sinse73
Registered User
Posts: 17
Joined: Fri Feb 13, 2015 4:33 am

Re: MyBB to phpBB Conversion problem

Post by sinse73 »

Thanks for the convertor.

It works but not completely. I don't have any error but when I go inside some thread, some attachment are not well imported.
Some works, some others not. Some are even replaced by other ones. And not all the attachments can be seen in the attachments list at the bottom of phpbb.

I will try locally and also with your convertor for mybb 1.8 but if you have any idea until that.

Edit:

The problem is on the number assigned for attachments included in a post.
For example one image in attachment include in a post could be like that :

Code: Select all

[attachment=3]image_6.png[/attachment]
instead of

Code: Select all

[attachment=1]image_6.png[/attachment]
.
sinse73
Registered User
Posts: 17
Joined: Fri Feb 13, 2015 4:33 am

Re: MyBB to phpBB Conversion problem

Post by sinse73 »

The MyBB 1.8 converter is not working, so I'm back on MyBB 1.6 convertor.

I still have this issue about the attachments. Does anybody have an idea about that ?

It would be really annoying to check all topic and editing if there i a problem concerning the image insertion in post.
MaFeSa
Registered User
Posts: 175
Joined: Wed Feb 11, 2009 7:48 am

Re: MyBB to phpBB Conversion problem

Post by MaFeSa »

I have the same problem with image :cry:
sinse73 wrote:The MyBB 1.8 converter is not working, so I'm back on MyBB 1.6 convertor.
If you use the old converter all stored IP addresses are unreadable.
viewtopic.php?f=65&t=2227251&p=13959041#p13807581
sinse73
Registered User
Posts: 17
Joined: Fri Feb 13, 2015 4:33 am

Re: MyBB to phpBB Conversion problem

Post by sinse73 »

Oh. This convertor can be used for MyBB 1.8 too.
Is it only the stored IP which have a problem for the conversion using this convertor for MyBB 1.8 tp phpBB 3.0 or also the images ?
Stored IP are a negligible problem compare to the images for me, just have to clean the IP table.

Edit :
Ok, after some changes in the files for conversion it works for MyBB 1.8 but yep, the same error concerning the images :/
sinse73
Registered User
Posts: 17
Joined: Fri Feb 13, 2015 4:33 am

Re: MyBB to phpBB Conversion problem

Post by sinse73 »

@MaFeSa, you should keep an eye on this topic : viewtopic.php?f=486&t=2278541
I've contacted prototech and he already done an update. I have some problem with it but you should give it a try, more feedback is better ;-)
MaFeSa
Registered User
Posts: 175
Joined: Wed Feb 11, 2009 7:48 am

Re: MyBB to phpBB Conversion problem

Post by MaFeSa »

Many thanks ;)
sinse73
Registered User
Posts: 17
Joined: Fri Feb 13, 2015 4:33 am

Re: MyBB to phpBB Conversion problem

Post by sinse73 »

Ok, after a lot of time I finally solved the problem regarding the attachment pictures inserted in posts (or at least I hope ^^"). The modification is really minor but I spend too much time on this and I think it is really disappointing to see that for this huge community there is no support for conversion. It would take less than half an hour for somebody use to sql query to do what I've done... Nevertheless, I note that Prototech was really nice to come after I send him an email regarding the conversion for Mybb1.8 to phpBB 3.1.

So, now, concerning the conversion, on line 732 of the functions_mybb16.php file contained in mybb16_convertor_0.0.4.zip,, changed:

Code: Select all

// We need to grab some info from the database :-/
		$sql = 'SELECT aid, filename
			FROM ' . $convert->src_table_prefix . 'attachments
			WHERE pid = ' . (int) $post_id . '';
		$result = $src_db->sql_query($sql);
		$i = 0;
to

Code: Select all

// We need to grab some info from the database :-/
		$sql = 'SELECT aid, filename
			FROM ' . $convert->src_table_prefix . 'attachments
			WHERE pid = ' . (int) $post_id . '
			ORDER BY dateuploaded DESC, aid ASC';
		$result = $src_db->sql_query($sql);
		$i = 0;

Now I will see how to convert the internal links in some posts.
Last edited by sinse73 on Mon Mar 30, 2015 2:30 am, edited 2 times in total.

Return to “[3.0.x] Convertors”