Quote:
Originally Posted by Kane@airrifle
A work around for the PB issue. edit /includes/cron/iei_cron; after line 268 add:
Code:
if (is_numeric(stripos($url, 'photobucket')))
{
curl_setopt($ch, CURLOPT_REFERER, 'http://www.photobucket.com/');
}
I have tested it on a few known blocked PB images and it imports them just fine.
*not my code, was posted elsewhere by "IA1"
|
For my clarity ...
I donated via PayPal and have run y2ksw's for many many years. It's been fantastic and one of the most popular add-ons our members comment on.
My question ... since it's been running for so long and we already have thousands of PB pics imported onto our server, am I correct in assuming that this code change permits members to continue IMG'ing PB pics and they will still import?
In other words, this code fix works around PB's block and returns us to the status quo of what it used to be?
Thanks for any feedback?
Regards,
Doug
Edit: I don't have a line counter in my editor, so what does the code that appears before this look like so I'm sure to put this in the right place, if I do i... thanks ..