Page 2 of 3

Re: MyBB to phpBB Conversion problem

Posted: Sat Mar 01, 2014 1:15 pm
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.

Re: MyBB to phpBB Conversion problem

Posted: Sun Mar 02, 2014 3:27 pm
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

Re: MyBB to phpBB Conversion problem

Posted: Mon Jul 28, 2014 11:31 pm
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 !?

Re: MyBB to phpBB Conversion problem

Posted: Tue Jul 29, 2014 6:16 pm
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.

Re: MyBB to phpBB Conversion problem

Posted: Fri Nov 14, 2014 4:28 pm
by MaFeSa
Hi, there is a problem with ip and myBB 1.8.1
Image

How I can fix?
Thanks

Re: MyBB to phpBB Conversion problem

Posted: Sun Nov 16, 2014 5:10 am
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.

Re: MyBB to phpBB Conversion problem

Posted: Sun Nov 16, 2014 1:07 pm
by MaFeSa
Thanks ;)

Re: MyBB to phpBB Conversion problem

Posted: Thu Nov 27, 2014 1:28 am
by prototech
MyBB 1.8.x to phpBB 3.1.x convertor is available here: viewtopic.php?f=486&t=2278541

Re: MyBB to phpBB Conversion problem

Posted: Fri Feb 13, 2015 5:43 am
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]
.

Re: MyBB to phpBB Conversion problem

Posted: Tue Feb 17, 2015 4:26 am
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.

Re: MyBB to phpBB Conversion problem

Posted: Tue Feb 17, 2015 8:21 pm
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

Re: MyBB to phpBB Conversion problem

Posted: Tue Feb 17, 2015 10:29 pm
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 :/

Re: MyBB to phpBB Conversion problem

Posted: Fri Mar 13, 2015 11:16 pm
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 ;-)

Re: MyBB to phpBB Conversion problem

Posted: Sat Mar 14, 2015 2:51 pm
by MaFeSa
Many thanks ;)

Re: MyBB to phpBB Conversion problem

Posted: Sat Mar 28, 2015 7:57 am
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.