Simple Machines Community Forum

SMF Support => Converting to SMF => phpBB => Topic started by: 3fifty on January 30, 2011, 01:03:20 PM

Title: phpbb to SMF to SMF 2.0 RC4 Images not showing
Post by: 3fifty on January 30, 2011, 01:03:20 PM
Previous admin convert back to SMF and none of the images are showing in previous posts on the forum.  If I click on edit and the save the post will show the pictures.  Thats a lot of threads to go through.  Is there any way to correct this?

Thanks in advance.
Title: Re: phpbb to SMF to SMF 2.0 RC4 Images not showing
Post by: 3fifty on January 30, 2011, 10:08:48 PM
Bump for the night crew.
Title: Re: phpbb to SMF to SMF 2.0 RC4 Images not showing
Post by: ThorstenE on January 31, 2011, 01:59:51 PM
can you check one of these "broken" posts via phpMyAdmin (table is smf_messages, row "body")? I'd be interested in the original content (before you click the edit button). Maybe we can fix it via SQL statement.
Title: Re: phpbb to SMF to SMF 2.0 RC4 Images not showing
Post by: 3fifty on January 31, 2011, 02:37:04 PM
As soon as the server move is done.  Switching DNS today.  I will do that and update this post.
Title: Re: phpbb to SMF to SMF 2.0 RC4 Images not showing
Post by: ThorstenE on February 03, 2011, 01:31:09 PM
3fifty, do you still need assistance with this issue?
Title: Re: phpbb to SMF to SMF 2.0 RC4 Images not showing
Post by: 3fifty on February 03, 2011, 08:34:58 PM
Yes.  The person switching hosts has not done it yet.  Im waiting on everyone to get their act together and there is nothing I can do to speed it up unfortunately.
Title: Re: phpbb to SMF to SMF 2.0 RC4 Images not showing
Post by: rufee on February 06, 2011, 12:25:54 PM
I have the same issue
Here is the code from db before the edit (don't mind the language):
Čia aš parašiau kaip pakeisti lemputės spalvą.

1. Susikurkite žemėlapį.

2. Įdėkite lemputę:

[img]http://img291.imageshack.us/img291/7797/lempa1.jpg[/img]

After edit:
Čia aš parašiau kaip pakeisti lemputės spalvą.<br /><br />1. Susikurkite žemėlapį.<br /><br />2. Įdėkite lemputę:<br /><br />[img]http://img291.imageshack.us/img291/7797/lempa1.jpg[/img]

EDIT:
After tinkering around i have come up with a sql query that fixed my problems
Try running these 2 queries:

UPDATE `smf_messages` SET `body` = replace(`body`,'&#46;','.')
UPDATE `smf_messages` SET `body` = replace(`body`,'&#58;',':')
Title: Re: phpbb to SMF to SMF 2.0 RC4 Images not showing
Post by: busydugong36 on February 17, 2011, 07:38:59 PM
I have the same issue, too.

Thanks for the two queries rufee!
As there may be hyperlinks in signatures, I would also do this one:


UPDATE `smf_members` SET `signature` = replace(`signature`,'&#46;','.');
UPDATE `smf_members` SET `signature` = replace(`signature`,'&#58;',':');
Title: Re: phpbb to SMF to SMF 2.0 RC4 Images not showing
Post by: michael.z on May 19, 2012, 12:46:35 PM
I'm having the similar issue converting from phpBB3 to SMF 2.0.2. After looking around almost one day for solution, finally i found this. I have tried and it works! Thank you so much
Title: Re: phpbb to SMF to SMF 2.0 RC4 Images not showing
Post by: littleblue on May 31, 2013, 05:39:30 AM
Thanks so much for the queries. I had the same issue with images after converting my forum, and I'd figured out what was wrong, but needed a bit of help with SQL syntax.

Images now displaying :)