Simple Machines Community Forum

SMF Support => Converting to SMF => Topic started by: NexusFlux on December 02, 2010, 10:00:11 PM

Title: FluxBB to SMF
Post by: NexusFlux on December 02, 2010, 10:00:11 PM
Is there a converter to go from FluxBB to SMF?
Title: Re: FluxBB to SMF
Post by: Norv 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).
Title: Re: FluxBB to SMF
Post by: emzeweb 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

/******************************************************************************/
--- 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);
---*
Title: Re: FluxBB to SMF
Post by: emzeweb on May 03, 2012, 12:39:53 PM
hi all !

still no idea about this issue?

thanks in advance for your help :)
Title: Re: FluxBB to SMF
Post by: BangoFace on December 08, 2012, 12:39:31 PM
Quote from: N. N. 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).
I'm getting the error:
QuoteUnable 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.