• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

SMF to NodeBB

Scheduled Pinned Locked Moved Feature Requests
9 Posts 6 Posters 3.2k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    BitBass
    wrote on last edited by
    #1

    Re: SMF to NodeBB

    Per the last comment here, I have a similar question. Is it possible to import from a SQL dump? Or is the DB connection required?

    If the live DB connection is required, can I run the importer against SMF without affecting SMF? In other words, I'd like to be able to continue operating on SMF while I sort out configuration issues in NodeBB, but I'd like to do it with actual data. I'm not talking about live data in NodeBB, just the full historical DB.

    I'm having a little bit of a struggle with this because I installed the importer plugin in a fresh 0.9.3 NodeBB system to see what it all looks like. Then I saw that it's not supported. I'm guessing the interface isn't present for me for that reason.

    ? 1 Reply Last reply
    0
  • ? Offline
    ? Offline
    A Former User
    replied to BitBass on last edited by
    #2

    @BitBass you could create another user in MySQL and import the dump into it. Then you can connect to that user over NodeBB.

    1 Reply Last reply
    0
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    wrote on last edited by
    #3

    Seems @a_5mith wrote an exporter for SMF 😄

    GitHub - a5mith/nodebb-plugin-import-smf: Gets SMF posts ready for import into NodeBB.

    Gets SMF posts ready for import into NodeBB. Contribute to a5mith/nodebb-plugin-import-smf development by creating an account on GitHub.

    favicon

    GitHub (github.com)

    Either ask him or @bentael for their advice?

    1 Reply Last reply
    2
  • A Offline
    A Offline
    a_5mith
    wrote on last edited by a_5mith
    #4

    I did mine as a 3 step process. I exported my live SMF Database to my local machine, I then ran a WAMP server and emulated my live production into a pre-prod environment. I made any changes I wanted to make there, such as removing custom BBcode and anything else that wasn't going to be transferred over, on this site somewhere, I did post the script I used on my SMF database.

    I then automated that script (pasted all of the commands into a notepad document and saved that for bulk usage as a SQL Query.)

    I then did several trial runs of converting from SMF to NodeBB to make sure everything went smoothly.

    Once I was happy with that, I put my SMF site into maintenance mode, exported the DB. Ran my queries, ran the exporter into the new NodeBB, and as that was happening, changed the nameservers to point to my new server with a custom be back soon message until NodeBB was ready to be started.

    I did then have to spend a bit of time going through and making small changes. But the exporter isn't one size fits all, I had a number of custom plugins running.

    B 1 Reply Last reply
    2
  • B Offline
    B Offline
    bentael Plugin & Theme Dev
    replied to a_5mith on last edited by
    #5

    so @BitBass - YES you can. The importer will NOT WRITE against your SMF database, it will only READ.
    That said, it's gonna hit it hard (depending on how large it is) - so I recommend creating a copy database of SMF and use that for testing, then when you're ready use the production one, just like what @a_5mith did.

    1 Reply Last reply
    0
  • B Offline
    B Offline
    BitBass
    wrote on last edited by
    #6

    Thanks! It shouldn't be too hard to spin up SMF on my test system and import the DB into that to get started. At least I can work out the process from there.

    Is the import tool supported on 0.9.3? Or will that be coming soon?

    Thanks, again!

    ? B 2 Replies Last reply
    0
  • ? Offline
    ? Offline
    A Former User
    replied to BitBass on last edited by
    #7

    @BitBass it is available in 0.9.3. At least it appears to be installable.

    1 Reply Last reply
    0
  • B Offline
    B Offline
    bentael Plugin & Theme Dev
    replied to BitBass on last edited by
    #8

    @BitBass no. It's at 0.9.2 you dont need 0.9.3 to import, just import to 0.9.2 then

    git checkout v0.9.3
    ./nodebb upgrade
    
    1 Reply Last reply
    0
  • I Offline
    I Offline
    itistoday
    wrote on last edited by
    #9

    Hey just wanted to say "thanks" to @a_5mith for creating the SMF importer/exporter thing! Haven't tried it out yet but it's nice to see that it exists (even if you do have to upgrade in a roundabout way).

    Also adding these terms to the thread so that people can find it when searching (turns out nobody said "SimpleMachines" or "Simple Machines", just SMF).

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development