Image URLs messed up

Started by bredge, November 25, 2010, 07:56:57 AM

Previous topic - Next topic

bredge

After converting from phpbb3 to SMF all the posts with images in them say from photobucket the urls are messed up like below

http://http//i864.photobucket.com/albums/ab203/GTTURBO1084/Photo0721-1.jpg

with another http//

Any idea how to resolve this ?

Kind regards

Norv

What is your SMF version? Did you install SMF now?
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

kat

If this is with v1.1.12 and you're using the "Enhanced Quick reply" mod, that happens, I'm afraid.

bredge

Im using version 1.1.12 and have just installed it as itcame with no mods !!

kat


bredge

Also every stickied topic, every post says

Last Edit: December 31, 1969, 07:00:00 PM by

kat

To get around the double http:// thing, you can use a workaround, I believe.

"Censored words".

If you tell it to replace "http://http://" with "http://", you should be OK.

For that last thing, try going to Admin>Forum maintenance, "Find and repair any errors." and "Recount all forum totals and statistics.".

Illori

can you check for something like this?

Quote from: Ranter on December 01, 2009, 10:32:26 PM
Quote from: Rafferty on December 01, 2009, 10:16:27 PM
Would defineatly be much easier if I could just make the fix changes please.

Based on what I read in another topic the following may work for you.  Use a text editor that supports find/replace.

Make a backup copy of Sources/Subs.php in case it all goes horribly wrong.

Open the file Sources/Subs.php

Replace each line that matches
if (strpos($data, \'http://\') !== 0 || strpos($data, \'https://\') !== 0)

with
if (strpos($data, \'http://\') !== 0 && strpos($data, \'https://\') !== 0)

This suggestion is based on this post, I do not know if it is correct or not.
http://www.simplemachines.org/community/index.php?topic=351389.0

Advertisement: