Advertisement:

Author Topic: MyBB 1.8 Convertor  (Read 10118 times)

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,492
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
MyBB 1.8 Convertor
« on: December 27, 2018, 07:01:48 PM »
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.
« Last Edit: January 01, 2019, 12:29:19 AM by GigaWatt »
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

Offline albertlast

  • Development Contributor
  • Full Member
  • *
  • Posts: 586
Re: MyBB 1.8 Convertor
« Reply #1 on: December 28, 2018, 02:24:22 AM »
To 2.0.15 i guess?

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,492
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: MyBB 1.8 Convertor
« Reply #2 on: December 28, 2018, 09:29:45 AM »
Yes
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

Offline tinoest

  • Development Contributor
  • Jr. Member
  • *
  • Posts: 246
Re: MyBB 1.8 Convertor
« Reply #3 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.

Offline Massl

  • Jr. Member
  • **
  • Posts: 256
Re: MyBB 1.8 Convertor
« Reply #4 on: December 28, 2018, 12:27:44 PM »
Many thanks vbgamer45 I'll try it these days and let you know  :)

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,492
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: MyBB 1.8 Convertor
« Reply #5 on: December 28, 2018, 12:37:11 PM »
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

Offline tinoest

  • Development Contributor
  • Jr. Member
  • *
  • Posts: 246
Re: MyBB 1.8 Convertor
« Reply #6 on: December 28, 2018, 01:45:52 PM »
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.

Offline Massl

  • Jr. Member
  • **
  • Posts: 256
Re: MyBB 1.8 Convertor
« Reply #7 on: December 30, 2018, 05:26:06 AM »
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

Offline Massl

  • Jr. Member
  • **
  • Posts: 256
Re: MyBB 1.8 Convertor
« Reply #8 on: December 30, 2018, 07:59:33 AM »
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

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,492
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: MyBB 1.8 Convertor
« Reply #9 on: December 30, 2018, 10:01:17 AM »
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

Offline Massl

  • Jr. Member
  • **
  • Posts: 256
Re: MyBB 1.8 Convertor
« Reply #10 on: December 30, 2018, 10:53:34 AM »
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


Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,492
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: MyBB 1.8 Convertor
« Reply #11 on: December 30, 2018, 11:06:43 AM »
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

Offline Massl

  • Jr. Member
  • **
  • Posts: 256
Re: MyBB 1.8 Convertor
« Reply #12 on: December 30, 2018, 11:12:31 AM »
message_labels seems already empty  :-\

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,492
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: MyBB 1.8 Convertor
« Reply #13 on: December 30, 2018, 11:32:46 AM »
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

Offline Massl

  • Jr. Member
  • **
  • Posts: 256
Re: MyBB 1.8 Convertor
« Reply #14 on: December 30, 2018, 11:45:51 AM »
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.

Offline Massl

  • Jr. Member
  • **
  • Posts: 256
Re: MyBB 1.8 Convertor
« Reply #15 on: December 30, 2018, 12:44:36 PM »
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

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,492
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: MyBB 1.8 Convertor
« Reply #16 on: December 30, 2018, 12:52:18 PM »
K glad it mostly works
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

Offline Massl

  • Jr. Member
  • **
  • Posts: 256
Re: MyBB 1.8 Convertor
« Reply #17 on: December 30, 2018, 02:34:35 PM »
Sorry, now I'm trying in the online forum and I have this error.


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

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,492
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: MyBB 1.8 Convertor
« Reply #18 on: December 30, 2018, 09:06:54 PM »
Try this file
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

Offline GigaWatt

  • The Smiley Guy
  • Support Specialist
  • SMF Hero
  • *
  • Posts: 2,104
  • Gender: Male
    • Macedonian electronics forum
Re: MyBB 1.8 Convertor
« Reply #19 on: December 30, 2018, 11:00:12 PM »
I can't edit my posts unfortunately

What would you like to edit :)?
"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?"..."