Advertisement:

Author Topic: FluxBB to SMF  (Read 7017 times)

Offline NexusFlux

  • Newbie
  • *
  • Posts: 1
FluxBB to SMF
« on: December 02, 2010, 10:00:11 PM »
Is there a converter to go from FluxBB to SMF?

Offline Norv

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 18,313
  • Blue Wolf
Re: FluxBB to SMF
« Reply #1 on: December 03, 2010, 06:20:40 AM »
Hey there,
There wasn't a converter specifically for FluxBB. As based on PunBB, the PunBB converter was working for FluxBB as well.

Please find attached here a converter for FluxBB. (to SMF 2.0 RC4).
To-do lists are for deferral. The more things you write down the later they're doneā€¦ until you have 100s of lists of things you don't do.
File a security report | Developers' Blog | Bug Tracker

Also known as Norv on D* | Norv N. on G+ | Norv on Github

Offline emzeweb

  • Newbie
  • *
  • Posts: 4
Re: FluxBB to SMF
« Reply #2 on: February 28, 2012, 11:15:32 AM »
if I want to have the following conversion scripts run along the others by convert.php.
after adding it to fluxbb_to_smf.sql file, I guess I must add some kind of call in convert.php?

also, the scripts must be wrong somewhere, cause when i run them directly on mysql server, with proper dbname+prefix instead of the variables {$from_prefix} {$to_prefix}, it doesn't seem to fill the smf_personal_messages and smf_pm_recipients tables. can anyone have a look please?

thanks in advance

Code: [Select]
/******************************************************************************/
--- Converting pm...
/******************************************************************************/

TRUNCATE {$to_prefix}personal_messages;

---* {$to_prefix}personal_messages

SELECT
pm.id AS id_pm, pm.id AS id_pm_head, pm.sender_id AS id_member_from, pm.sender AS from_name,
pm.posted AS msgtime,
SUBSTRING(pm.subject, 1, 255) AS subject,
SUBSTRING(REPLACE(pm.message, '<br>', '<br />'), 1, 65534) AS body
FROM {$from_prefix}messages AS pm
INNER JOIN {$from_prefix}users AS u ON (u.id = pm.sender_id);
---*

TRUNCATE {$to_prefix}pm_recipients;

---* {$to_prefix}pm_recipients

SELECT
pm.id AS id_pm, pm.owner AS id_member,
pm.showed AS is_read, pm.status AS deleted,
SUBSTRING(pm.subject, 1, 60) AS labels
FROM {$from_prefix}messages AS pm
INNER JOIN {$from_prefix}users AS u ON (u.id = pm.owner);
---*

Offline emzeweb

  • Newbie
  • *
  • Posts: 4
Re: FluxBB to SMF
« Reply #3 on: May 03, 2012, 12:39:53 PM »
hi all !

still no idea about this issue?

thanks in advance for your help :)

Offline BangoFace

  • Newbie
  • *
  • Posts: 1
Re: FluxBB to SMF
« Reply #4 on: December 08, 2012, 12:39:31 PM »
Hey there,
There wasn't a converter specifically for FluxBB. As based on PunBB, the PunBB converter was working for FluxBB as well.

Please find attached here a converter for FluxBB. (to SMF 2.0 RC4).
I'm getting the error:
Quote
Unable to find the settings for FluxBB 1.4.x. Please double check the path and try again.

How do I resolve this? I'm using 1.5.1 of FluxBB so I want to know what to change for a workaround really.