|
|
|
Not sure if it will work for others or for how long But I read on another forum that if you edit your post and type ~original after the URL your pics come back I've done it to a few and nearly all my pics have come back Now if you have a big build thread this may be of use to recover it
|
|
|
|
|
|
|
|
Not sure if it will work for others or for how long But I read on another forum that if you edit your post and type ~original after the URL your pics come back I've done it to a few and nearly all my pics have come back Now if you have a big build thread this may be of use to recover it I could try making it so it automatically does that on here. I've been trying to re-engineer my fix so it doesn't rely on the request passing through our servers, otherwise it is going to cost me a fortune if it is rolled out to a number of sites (already doubled my monthly hosting costs).
|
|
|
|
|
|
|
Nope forget that they have all gone now
|
|
|
|
|
|
|
Now they are back agin
Maybe someone with more brains than me can work out what's happening
|
|
|
|
fad
Posted a lot
Posts: 1,781
|
|
|
The only fix I can envisage working long term is the painful one. Binning Photo*uckedit for good.
|
|
|
|
steveg
Posted a lot
Posts: 1,565
|
|
|
I'm not that bright when it comes to computers so I am interested in this. When you say edit your post do you mean go to the forum that the pictures are missing from? Not all forums allow posts to be edited after a period of time. If thats the case mods elsewhere could allow thread editing.
Makes me wonder if Facebook have bought out photobucket to finally try and kill off all the forums !
|
|
|
|
Ryannn
Posted a lot
Posts: 2,421
|
|
Jul 23, 2017 12:48:55 GMT
|
Just tested it on one of my old threads, it works on mobile as well!
|
|
|
|
|
|
Jul 23, 2017 14:03:47 GMT
|
Code has been updated to do it automagically on desktop site. Let's see how long it works for Still can't execute code on mobile, but it is coming when the next big proboards update comes.
|
|
|
|
|
|
|
Oh other forum admins, this is what you want code wise. It presupposes you have jQuery running on your page, so you'll need this in your pages <head> tag somewhere : <script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
unless you already have it. Then somewhere near the bottom of your page (however you insert code into your particular forum platform) you'll want this: <script> $(document).ready(function () { $('img').each(function () { var $img = $(this); var imgsrc = $img.attr('src'); if (imgsrc.indexOf("photobucket.com") !== -1) { $img.attr("src", imgsrc + "~original"); } }); }); </script> I don't know how long this will last to be honest, it seems a very easy thing for them to stop working, however I'm running this site's PB fixing code like this at the moment so I know when it stops working ... hopefully in the mean time I can work out how to make my previous "fix" sustainable financially (as it sure wasn't even just running on this forum).
|
|
Last Edit: Jul 24, 2017 15:13:35 GMT by HoTWire
|
|
|
|
Jul 24, 2017 13:40:43 GMT
|
Many thanks to avengertec and HoTWire Fingers crossed that this continues to work! For those that use Google chrome browser and use several forums, all of which will be plagued by this but few will have this fix in place, I have a extra little helper. Download this Google chrome extension Install and make sure it is enabled. In it's options in the JavaScript box enter: $(document).ready(function () { if (window.location.href.indexOf("retrorides.proboards.com") == -1) { $('img').each(function () { var $img = $(this); var imgsrc = $img.attr('src'); if (imgsrc.indexOf("photobucket.com") !== -1) { $img.attr("src", imgsrc + "~original"); } }); } }); And hay presto at least for now any site you visit with broken photobucket pics will be restored
|
|
Last Edit: Jul 24, 2017 14:08:47 GMT by miniman31
|
|
|
steveg
Posted a lot
Posts: 1,565
|
|
Jul 24, 2017 15:06:02 GMT
|
I will say thanks even if I don't know how it works !
|
|
|
|
andyw
North East
Posts: 238
|
|
Jul 24, 2017 20:17:47 GMT
|
Oh other forum admins, this is what you want code wise. It presupposes you have jQuery running on your page, so you'll need this in your pages <head> tag somewhere : <script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
unless you already have it. Then somewhere near the bottom of your page (however you insert code into your particular forum platform) you'll want this: <script> $(document).ready(function () { $('img').each(function () { var $img = $(this); var imgsrc = $img.attr('src'); if (imgsrc.indexOf("photobucket.com") !== -1) { $img.attr("src", imgsrc + "~original"); } }); }); </script> I don't know how long this will last to be honest, it seems a very easy thing for them to stop working, however I'm running this site's PB fixing code like this at the moment so I know when it stops working ... hopefully in the mean time I can work out how to make my previous "fix" sustainable financially (as it sure wasn't even just running on this forum). Great that there is a 'fix' - I passed this onto our Admin on our club site but neither of us are 'technical experts' and he wonders where in the board he needs to put the codes.
|
|
|
|
ian65
Part of things
Posts: 276
|
|
Jul 24, 2017 20:47:39 GMT
|
Oh other forum admins, this is what you want code wise. Absolutely awesome work mate, it's brought all our photos back up on the RX7fb forum.... thanks so much for sharing this.
|
|
|
|
|
|
Jul 24, 2017 21:11:40 GMT
|
Oh other forum admins, this is what you want code wise. Absolutely awesome work mate, it's brought all our photos back up on the RX7fb forum.... thanks so much for sharing this. No worries,now you need to convince luckyseven that he doesn't need sleep and to come to The Gathering as payment
|
|
|
|
ian65
Part of things
Posts: 276
|
|
Jul 24, 2017 21:33:32 GMT
|
Absolutely awesome work mate, it's brought all our photos back up on the RX7fb forum.... thanks so much for sharing this. No worries,now you need to convince luckyseven that he doesn't need sleep and to come to The Gathering as payment Nik, we're relying on you to pay our debt for this awesome fix..... get some Redbull down ya and hit the road to The Gathering!
|
|
|
|
|
|
|
Many thanks to avengertec and HoTWire Fingers crossed that this continues to work! For those that use Google chrome browser and use several forums, all of which will be plagued by this but few will have this fix in place, I have a extra little helper. Download this Google chrome extension Install and make sure it is enabled. In it's options in the JavaScript box enter: $(document).ready(function () { if (window.location.href.indexOf("retrorides.proboards.com") == -1) { $('img').each(function () { var $img = $(this); var imgsrc = $img.attr('src'); if (imgsrc.indexOf("photobucket.com") !== -1) { $img.attr("src", imgsrc + "~original"); } }); } }); And hay presto at least for now any site you visit with broken photobucket pics will be restored You might also want to check for the forum.retro-rides.org domain, as that is what the notification emails direct you to. I think this: (though i am not a javascript person so there may be a neater solution to the IF OR statement) $(document).ready(function () { if (window.location.href.indexOf("retrorides.proboards.com") == -1) || (window.location.href.indexOf("forum.retro-rides.org") == -1) { $('img').each(function () { var $img = $(this); var imgsrc = $img.attr('src'); if (imgsrc.indexOf("photobucket.com") !== -1) { $img.attr("src", imgsrc + "~original"); } }); } });
|
|
|
|
|
|
|
You might also want to check for the forum.retro-rides.org domain, as that is what the notification emails direct you to. I think this: (though i am not a javascript person so there may be a neater solution to the IF OR statement) Good point I had forgot about that, have fixed it below. I was thinking of adding a timeout to wait a second or two after the page loaded and then checking for the ~original in the img url. That way if other sites start doing the same as RR then you don't have to keep adding to the list of urls to ignore. But for now the below should work fine. $(document).ready(function () { var url = window.location.href; if (url.indexOf("retrorides.proboards.com") == -1) && (url.indexOf("forum.retro-rides.org") == -1) { $('img').each(function () { var img = $(this); var imgsrc = img.attr('src'); if (imgsrc.indexOf("photobucket.com") !== -1) { img.attr("src", imgsrc + "~original"); } }); } });
|
|
|
|