Photobucket has screwed the world over, pushing people to paid subscriptions. This means many linked images no longer work.
To fix so many broken threads, the process would be something like:
Member X downloads their Photobucket images
Member X uploads those images to DO THE TON using the same Photobucket file name
DO THE TON executes a database update changing the IMG links for Member X to point to DO THE TON hosting
For example, an old message of mine where the IMG link points to:
http://i13.photobucket.com/albums/a275/CB550F/DO%20THE%20TON%20Alabama%202010/ZeeFotoDragon.jpg
Would need to be changed to something like:
http://www.dotheton.com/gallery/ZeeFotoDragon.jpg
The "i13" in front of "photobucket" changes, so we'd need to wildcard that as $$$.photobucket.com in a search string to replace those all with "www.dotheton.com" which would be simple enough. But the subsequent variable "/albums/a275/CB550F" in front of the filename will be a challenge to remove.
In a nutshell, we need to isolate the filename out of the string and prefix it with "http://www.dotheton.com/gallery/"
Thoughts? This is the text from the body field of the messages table as a simple example. In many cases there is more text etc following the image links, and multiple image links in a single message.
"{b}"Whoooohooo! First pro pics of my Dragon runs are up.
/>
{img width=762 height=1024}http://i13.photobucket.com/albums/a275/CB550F/DO%20THE%20TON%20Alabama%202010/ZeeFotoDragon.jpg{/img}"{/b}"
To fix so many broken threads, the process would be something like:
Member X downloads their Photobucket images
Member X uploads those images to DO THE TON using the same Photobucket file name
DO THE TON executes a database update changing the IMG links for Member X to point to DO THE TON hosting
For example, an old message of mine where the IMG link points to:
http://i13.photobucket.com/albums/a275/CB550F/DO%20THE%20TON%20Alabama%202010/ZeeFotoDragon.jpg
Would need to be changed to something like:
http://www.dotheton.com/gallery/ZeeFotoDragon.jpg
The "i13" in front of "photobucket" changes, so we'd need to wildcard that as $$$.photobucket.com in a search string to replace those all with "www.dotheton.com" which would be simple enough. But the subsequent variable "/albums/a275/CB550F" in front of the filename will be a challenge to remove.
In a nutshell, we need to isolate the filename out of the string and prefix it with "http://www.dotheton.com/gallery/"
Thoughts? This is the text from the body field of the messages table as a simple example. In many cases there is more text etc following the image links, and multiple image links in a single message.
"{b}"Whoooohooo! First pro pics of my Dragon runs are up.
/>
{img width=762 height=1024}http://i13.photobucket.com/albums/a275/CB550F/DO%20THE%20TON%20Alabama%202010/ZeeFotoDragon.jpg{/img}"{/b}"