Quote:
Originally Posted by Kane@airrifle
Doug, the PB fix will work until such time as they find a means to obfusticate it again.
In the iei_cron.php file look for the following code and add the PB code directly after it:
Code:
@curl_setopt($ch, CURLOPT_REFERER, IEI_BBURL);
In the long run it would assist you greatly if you used something like Notepad++ to edit your files with: https://notepad-plus-plus.org/
|
Thank you partner....
Appreciate the quick response .. :up:
Regards,
Doug
ps: I'm on a MacBook Pro OSX operating system ..
pss: Ok, I've now inserted it for testing and it looks like this... seem like the right place?
Code:
if(USE_CURL)
{
$ch = @curl_init($url);
@curl_setopt($ch, CURLOPT_BINARYTRANSFER, 1);
@curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
@curl_setopt($ch, CURLOPT_FAILONERROR, 1);
@curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
@curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, IEI_CONNECTTIMEOUT);
@curl_setopt($ch, CURLOPT_TIMEOUT, IEI_CURL_TIMEOUT);
@curl_setopt($ch, CURLOPT_REFERER, IEI_BBURL);
if (is_numeric(stripos($url, 'photobucket')))
{
curl_setopt($ch, CURLOPT_REFERER, 'http://www.photobucket.com/');
}
//@curl_setopt($ch, CURLOPT_USERAGENT, IEI_FORUMDOMAIN);
$contents = @curl_exec($ch);
@curl_close($ch);
}
psss: Well I ran it anyway and it didn't crash (see pic), so I guess I have to wait now until I can get someone to try a PB pic, as I don't use their service...