News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

MyBB 1.8 Convertor

Started by vbgamer45, December 27, 2018, 07:01:48 PM

Previous topic - Next topic

vbgamer45

MyBB 1.8 Convertor Beta

https://github.com/SimpleMachines/converters/tree/master/SMF2.0/MyBB/1.8

Requires both files to be copied to your new empty SMF install.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

albertlast


vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

tinoest

Convert.php needs modifications to work on php7 as it uses the built in php mysql_ not the smcFunc one.

Massl

Many thanks vbgamer45 I'll try it these days and let you know  :)

vbgamer45

Quote from: tinoest on December 28, 2018, 11:33:03 AM
Convert.php needs modifications to work on php7 as it uses the built in php mysql_ not the smcFunc one.
It does. I think I made some changes.
I did run that convert.php on PHP 7.1 when I did my testing.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

tinoest

Quote from: vbgamer45 on December 28, 2018, 12:37:11 PM
Quote from: tinoest on December 28, 2018, 11:33:03 AM
Convert.php needs modifications to work on php7 as it uses the built in php mysql_ not the smcFunc one.
It does. I think I made some changes.
I did run that convert.php on PHP 7.1 when I did my testing.

Apologies I saw the one in convert_result, which you don't seem to be using now.

Massl

I'm trying to convert mybb 1.8.19 with wamp but for now I have two problems:
1. SQL_MAX_JOIN_SIZE error fixed following this;
2. Field 'message_labels' doesn't have a default value!


There is a way to solve the 2 problem?

PS. is not for the 1.4 version as it is written right?

Thanks

Massl

OK, I applied this to solve the second problem but now I have many errors and the conversion crashes.
I'm using PHP 7.1.22

vbgamer45

For the convertor grab the latest from https://github.com/SimpleMachines/converters/tree/master/SMF2.0/MyBB/1.8  that should fix all the issues in your first post.
I can't edit my posts unfortunately
Also what SMF version are you converting to?
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Massl

Thanks vbgamer45  ;)
I downloaded the new version from github, but I always have the error "Converting members...Field 'message_labels' doesn't have a default value"  :-\
I'm using SMF 2.0.15 and MyBB 1.8.19


vbgamer45

Change your smf_members table in phpmyadmin the column of "message_labels" to have a default value of "" an empty string
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Massl

message_labels seems already empty  :-\

vbgamer45

No check the database structure of the table make sure it allows null and or has a default value set.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Massl

Sorry but I do not know how to do, I solved with this mod.
Thanks for now, I'll let you know when the conversion has been completed.

Massl

Conversion completed without errors  :laugh:

I noticed three problems after the conversion:
1. Wrong ip addresses, mybb has changed something in the latest versions

2. Quote links do not work

3. Many bbcodes are not converted, as align, but this is not important and can be changed from phpmyadmin

Many thanks for your work vbgamer45  :D

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Massl

Sorry, now I'm trying in the online forum and I have this error.


Something has probably changed with the latest versions of mybb...

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

GigaWatt

"This is really a generic concept about human thinking - when faced with large tasks we're naturally inclined to try to break them down into a bunch of smaller tasks that together make up the whole."

"A 500 error loosely translates to the webserver saying, "WTF?"..."

Advertisement: