Current time: 04-20-2014, 06:29 PM Hello There, Guest! (LoginRegister)


 
Thread Rating:
  • 1 Votes - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
(SMF) Conversion problems
03-28-2008, 10:55 AM
Post: #1
(SMF) Conversion problems
Ok, a few more problems I stumbled upon:

1) Thread and post titles turned out to be HTML-encoded - e.g. an < was displayed as &lt; (same for >, &, and "). Either there's some extraneous HTML escaping happening, or SMF stores thread/post subjects as HTML escaped in the db (*boggle*).

2) Single ticks (') were stored as \x03 in the database. Sounds a bit weird to me. Might be SMF is storing it that way internally? (*reboggle*)

I fixed both by editing the db directly.

Otherwise, no problems so far - the conversion script even survived my ISP disconnecting me for a few hours in the middle of the post import, and resumed happily after that. Nice work, thanks a lot :-)
Find all posts by this user
03-28-2008, 02:58 PM
Post: #2
RE: (SMF) Conversion problems
Continuing on from this, didn't you say in IRC last night that the script times out when trying to calculate the dimensions of external avatars that don't exist anymore?

Visit this user's website Find all posts by this user
03-28-2008, 03:58 PM
Post: #3
RE: (SMF) Conversion problems
DrPoodle Wrote:Continuing on from this, didn't you say in IRC last night that the script times out when trying to calculate the dimensions of external avatars that don't exist anymore?

As reported here, and deemed as a problem on my side.


Another problem I encountered:

Imported private messages are stored in HTML format, so their formatting is all "broken" (includes <br> etc.). I suspect this is a similar problem to the post/thread subjects.
Find all posts by this user
03-28-2008, 05:26 PM
Post: #4
RE: (SMF) Conversion problems
I suspect you have some sort of mod to pre-parse posts/threads/private messages?

If not then I suspect SMF does that by itself. I'm unsure but I thought I already unhtmlentitied them in the code. I'll have to take a look to verify.
Visit this user's website Find all posts by this user
03-29-2008, 03:30 AM
Post: #5
RE: (SMF) Conversion problems
Tikitiki Wrote:I suspect you have some sort of mod to pre-parse posts/threads/private messages?

My MyBB and merge system installation doesn't have anything extra installed.

Sadly, I have no idea what the SMF installation had (it had a lot - some 3-4 year old, with a LOT of stuff). I just got the sql dump.
Find all posts by this user
06-08-2008, 06:44 PM
Post: #6
RE: (SMF) Conversion problems
Hi all, using MYBB Merge System lots of posts are incomplete or not completely converted.
Have i to wait for stable release?
Find all posts by this user
06-17-2008, 09:29 PM
Post: #7
RE: (SMF) Conversion problems
(06-08-2008 06:44 PM)michx Wrote:  Hi all, using MYBB Merge System lots of posts are incomplete or not completely converted.
Have i to wait for stable release?

I would unless you have a small amount of posts that you can edit by hand.

Are you an avatar movie fan?
[Image: avatarzd.png]
Visit this user's website Find all posts by this user


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication