News:

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

Main Menu

[SMF Converter] phpBB3

Started by JayBachatero, January 23, 2008, 04:49:39 AM

Previous topic - Next topic

JayBachatero

Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Toadicus

My one thought on the in-line [attachment] tags would be to convert them to [/code]

Toadicus

Still a lot of leftover UIDs on the bbcode.  Was there a new convert.php to go with that, or just the new phpbb3_to_smf.sql?

JayBachatero

[pre][color=#228B22]Herein lie the signups for the raid on 12/08/06.

[list][*]Kargin
[*]Trixi
[*]Mir
[*]Sheowa
[*]Aranthar
[*]Danhunter
[*]Gangofgreen
[*]Penchance
[*]Sinnara
[*]Rinker
[*]Acalon[/list][/color][/pre]


Seems to work just that the color tags are out of place.  In SMF you can't put a block element in a non-block element.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Toadicus

Excellent!  That's probably all from me for today, but I will be playing with it more tomorrow and will let you know if I run in to anything else.

Thanks for the great support!

JayBachatero

Ok glad to hear things seems better now.  Any suggestions or comments are welcomed :).
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Toadicus

OK, just a couple things I got from looking at a particularly messy post:

It looks like, before some [list] tags, an extra ] is being inserted.  That might have been an artifact of the editor, though, as I haven't seen it elsewhere.

[size] tags in phpbb omit the "pt" after the number.  Would it be possible to tack that "pt" at the end to make size tags work out of the box?

Then, just a general question about SMF: do nested lists work well?  In phpbb we could nest list items like so:

[list]
[*]text
[list]
[*]indented text
[/list][/list] to get nested lists.  The lists I'm looking at out of the box from the converter aren't doing that.  Is this just a syntax issue, or is it not supported?

Thanks![/list]

JayBachatero

#27
They work fine in SMF but you need the [li] tag.  I can change the [*][/*] to [li][/li].  Also can you post the HTML code for the post that is messed up?  I want to see what's going on.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Toadicus

<div class="post"><span style="color: #228B22;">Hey all, after getting some inquiries on the subject, I thought I'd put up a quick sticky regarding our rank structure here in Solace. &nbsp;Enjoy!<br /><br /></span><ul style="margin-top: 0; margin-bottom: 0;"><li>Initiate</li></ul><ul style="margin-top: 0; margin-bottom: 0;">Initiate is our recruiting rank (see the </ul><a href="http://solace.hawkbats.com/forum/viewtopic.php?f=6&amp;t=384" target="_blank">Recruiting Policy</a> for more). &nbsp;Initiates have access to guild chat and the public forums, and no voting privileges in guild affairs. &nbsp;Fortunately, you can't stay an initiate for long.<br /><br />Requirements for promotion:<br /><ul style="margin-top: 0; margin-bottom: 0;"><li>Completing the recruiting process.</li></ul><ul style="margin-top: 0; margin-bottom: 0;"><li>Protector</li></ul><ul style="margin-top: 0; margin-bottom: 0;">Protectors are usually newer members who have achieved full membership in the guild. &nbsp;They have access to the public and private forums, but do not have voting privileges in guild affairs. &nbsp;Protectors are considered for promotion to Guardian in the first week of every odd month.<br /><br />Requirements for promotion:<br /><li>Possession of an active forum account. &nbsp;Regular checking of the guild forums is important to staying apprised of current guild affairs.</li><li>Active guild contributor. &nbsp;While we have no playtime requirements in Solace, we expect our voting members to be relatively active players. &nbsp;Chatting in guild chat and grouping with fellow members is also strongly encouraged, and is taken in to consideration.</li></ul><ul style="margin-top: 0; margin-bottom: 0;"><li>Guardian</li></ul><ul style="margin-top: 0; margin-bottom: 0;">The &quot;everyman&quot; of our guild, Guardians are voting members and play a vital role in the formation of guild policy.</ul><br /><br /><ul style="margin-top: 0; margin-bottom: 0;"><li>Sentinel</li></ul><ul style="margin-top: 0; margin-bottom: 0;">Sentinels are our guild officers, who act as the authors and enforcers of guild policy and attempt to steer the vision of Solace as a whole. &nbsp;Sentinels are almost always available to answer questions (regarding the guild or the game in general) and resolve disputes (within the guild or with other players). &nbsp;We currently have six Sentinels.<br /><br />Sentinels are hand-selected from among the Guardian ranks by unanimous vote of the existing Sentinels and only when a position is available or created.</ul>[/list][/color]</div>

That's the HTML out of the post, fresh out of the converter.

One thing I noticed that was particularly irksome was the </ul> preceeding the <a> tag for the link near the top.  Is there a way around that?

Other than that, I was able to clean it up with a little work.

JayBachatero

Ok thanks.  That is from SMF right?  Can you get me the phpBB one?
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Toadicus

<div class="content"><span style="color: #228B22">Hey all, after getting some inquiries on the subject, I thought I'd put up a quick sticky regarding our rank structure here in Solace.  Enjoy!<br /><br /><ul><li>Initiate<br /><ul>Initiate is our recruiting rank (see the <a href="http://solace.hawkbats.com/forum/viewtopic.php?f=6&amp;t=384" class="postlink">Recruiting Policy</a> for more).  Initiates have access to guild chat and the public forums, and no voting privileges in guild affairs.  Fortunately, you can't stay an initiate for long.<br /><br />Requirements for promotion:<br /><li>Completing the recruiting process.</li></ul><br /></li><li>Protector<br /><ul>Protectors are usually newer members who have achieved full membership in the guild.  They have access to the public and private forums, but do not have voting privileges in guild affairs.  Protectors are considered for promotion to Guardian in the first week of every odd month.<br /><br />Requirements for promotion:<br /><li>Possession of an active forum account.  Regular checking of the guild forums is important to staying apprised of current guild affairs.</li><li>Active guild contributor.  While we have no playtime requirements in Solace, we expect our voting members to be relatively active players.  Chatting in guild chat and grouping with fellow members is also strongly encouraged, and is taken in to consideration.</li></ul><br /></li><li>Guardian<br /><ul>The &quot;everyman&quot; of our guild, Guardians are voting members and play a vital role in the formation of guild policy.</ul><br /></li><li>Sentinel<br /><ul>Sentinels are our guild officers, who act as the authors and enforcers of guild policy and attempt to steer the vision of Solace as a whole.  Sentinels are almost always available to answer questions (regarding the guild or the game in general) and resolve disputes (within the guild or with other players).  We currently have six Sentinels.<br /><br />Sentinels are hand-selected from among the Guardian ranks by unanimous vote of the existing Sentinels and only when a position is available or created.</ul></li></ul></span></div>

JayBachatero

Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Toadicus

<div class="post"><span style="color: #228B22;">Hey all, after getting some inquiries on the subject, I thought I'd put up a quick sticky regarding our rank structure here in Solace. &nbsp;Enjoy!<br /><br /></span><ul style="margin-top: 0; margin-bottom: 0;"><li>Initiate<br /><ul style="margin-top: 0; margin-bottom: 0;">Initiate is our recruiting rank (see the </ul><a href="http://solace.hawkbats.com/forum/viewtopic.php?f=6&amp;t=384" target="_blank">Recruiting Policy</a> for more). &nbsp;Initiates have access to guild chat and the public forums, and no voting privileges in guild affairs. &nbsp;Fortunately, you can't stay an initiate for long.<br /><br />Requirements for promotion:<br />[li]Completing the recruiting process.</li></ul><br />[/li]<br />[li]Protector<br /><ul style="margin-top: 0; margin-bottom: 0;">Protectors are usually newer members who have achieved full membership in the guild. &nbsp;They have access to the public and private forums, but do not have voting privileges in guild affairs. &nbsp;Protectors are considered for promotion to Guardian in the first week of every odd month.<br /><br />Requirements for promotion:<br /><li>Possession of an active forum account. &nbsp;Regular checking of the guild forums is important to staying apprised of current guild affairs.</li><li>Active guild contributor. &nbsp;While we have no playtime requirements in Solace, we expect our voting members to be relatively active players. &nbsp;Chatting in guild chat and grouping with fellow members is also strongly encouraged, and is taken in to consideration.</li></ul><br />[/li]<br />[li]Guardian<br /><ul style="margin-top: 0; margin-bottom: 0;">The &quot;everyman&quot; of our guild, Guardians are voting members and play a vital role in the formation of guild policy.</ul><br />[/li]<br />[li]Sentinel<br /><ul style="margin-top: 0; margin-bottom: 0;">Sentinels are our guild officers, who act as the authors and enforcers of guild policy and attempt to steer the vision of Solace as a whole. &nbsp;Sentinels are almost always available to answer questions (regarding the guild or the game in general) and resolve disputes (within the guild or with other players). &nbsp;We currently have six Sentinels.<br /><br />Sentinels are hand-selected from among the Guardian ranks by unanimous vote of the existing Sentinels and only when a position is available or created.</ul>[/li][/list][/color]</div>]

Getting closer, but not quite!

JayBachatero

Weird.  I tested the same quote and it worked fine.  I did miss the span tag.  Give this one a try.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

chris_b0ss

Quote from: JayBachatero on January 24, 2008, 06:37:17 PM
[pre][color=#228B22]Herein lie the signups for the raid on 12/08/06.

[list][*]Kargin
[*]Trixi
[*]Mir
[*]Sheowa
[*]Aranthar
[*]Danhunter
[*]Gangofgreen
[*]Penchance
[*]Sinnara
[*]Rinker
[*]Acalon[/list][/color][/pre]


Seems to work just that the color tags are out of place.  In SMF you can't put a block element in a non-block element.

Thank you for this converter! it works excelent..except the bbcodes..

so,if i have problems with the codes(links,quotes) i should use that file ?

JayBachatero

Yea use the latest file from my last post.  I haven't updated the main file yet until I get all the bbc bugs squashed.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Toadicus

<div class="post"><span style="color: #228B22;">Hey all, after getting some inquiries on the subject, I thought I'd put up a quick sticky regarding our rank structure here in Solace. &nbsp;Enjoy!<br /><br /></span><ul style="margin-top: 0; margin-bottom: 0;"><li>Initiate<br /><ul style="margin-top: 0; margin-bottom: 0;">Initiate is our recruiting rank (see the </ul><a href="http://solace.hawkbats.com/forum/viewtopic.php?f=6&amp;t=384" target="_blank">Recruiting Policy</a> for more). &nbsp;Initiates have access to guild chat and the public forums, and no voting privileges in guild affairs. &nbsp;Fortunately, you can't stay an initiate for long.<br /><br />Requirements for promotion:<br />[li]Completing the recruiting process.</li></ul><br />[/li]<br />[li]Protector<br /><ul style="margin-top: 0; margin-bottom: 0;">Protectors are usually newer members who have achieved full membership in the guild. &nbsp;They have access to the public and private forums, but do not have voting privileges in guild affairs. &nbsp;Protectors are considered for promotion to Guardian in the first week of every odd month.<br /><br />Requirements for promotion:<br /><li>Possession of an active forum account. &nbsp;Regular checking of the guild forums is important to staying apprised of current guild affairs.</li><li>Active guild contributor. &nbsp;While we have no playtime requirements in Solace, we expect our voting members to be relatively active players. &nbsp;Chatting in guild chat and grouping with fellow members is also strongly encouraged, and is taken in to consideration.</li></ul><br />[/li]<br />[li]Guardian<br /><ul style="margin-top: 0; margin-bottom: 0;">The &quot;everyman&quot; of our guild, Guardians are voting members and play a vital role in the formation of guild policy.</ul><br />[/li]<br />[li]Sentinel<br /><ul style="margin-top: 0; margin-bottom: 0;">Sentinels are our guild officers, who act as the authors and enforcers of guild policy and attempt to steer the vision of Solace as a whole. &nbsp;Sentinels are almost always available to answer questions (regarding the guild or the game in general) and resolve disputes (within the guild or with other players). &nbsp;We currently have six Sentinels.<br /><br />Sentinels are hand-selected from among the Guardian ranks by unanimous vote of the existing Sentinels and only when a position is available or created.</ul>[/li][/list][/color]</div>

Seems to be about the same issue.  Is this a syntax limitation based on the bbcodes I was using in a way not supported by SMF?

JayBachatero

Ok give this a try.  Also SMF supports the  tag in case you want to use raw HTML like that.  It can only be used by admins only due to its security risks.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Augh

Quote from: JayBachatero on January 23, 2008, 12:53:48 PM
Augh can you check and make sure that entities where converter correctly?  phpBB uses utf8_bin for text fields so hopefully everything transfers correctly.

Yep, everything went smoothly, only some minor errors with phpbb smileys but nothing else.

honda2008

Hi,
since SMF and phpBB3 Databases are in my hosting on different MySQL servers, conversion seems to be impossible. Is this correct?.

Thanks for helping me!

Advertisement: