PDA

View Full Version : ebay feedback imported - stopped working?


nbennett
02-29-2008, 05:37 PM
Hi - has anyone else got this problem? I'm running 6.0.3 PPB and been using Rays feedback importer for ebay fine for a couple of months (bar a couple of conflicts with PPB bug fixes).

Now when I try and import ebay feedback it tells me that I have a feedback rating of . (just a dot)!

Is it possible ebay have changed something?

Or is it me?

Interested if anyone else has this problem - thanks.

Binarywebs
02-29-2008, 09:38 PM
I'll have a look and see if anything may have changed on their end.

nbennett
03-01-2008, 04:43 PM
Thanks Ray - appreciate it.

Binarywebs
03-01-2008, 08:20 PM
Fix is attached.

MediaHound
03-02-2008, 12:08 AM
Thank you!

lucifer00
03-02-2008, 12:20 AM
what is ebay feedback being discussed here?

MediaHound
03-02-2008, 01:34 AM
what is ebay feedback being discussed here?

http://shop.probidscripts.com/Feedback-Importer-Feedback-from-other-Sites,itemname,742,id,auctiondetails

nbennett
03-02-2008, 04:50 PM
Thanks Ray - works a treat! - Neal.

anikolaou
03-03-2008, 03:58 AM
hi,i am trying to download the ebay importer for the last 4 days!!Corrupt file is what i receive!!please advice....

Binarywebs
06-06-2008, 04:44 PM
Latest ebay fix:

In file: importfeed.php FIND:


function get_ebay_feedback_score($username) {
$regex='/<b>Feedback score:*(.*?)<\/b>/msi';
// $regex='/<b>Feedback score:*(.*?)<\/b>/';
$url = 'http://myworld.ebay.com/'.$username;
$s=file_get_contents($url);
$matches=array();
preg_match_all($regex,$s,$matches);
//var_dump($matches);
$score = trim($matches[1][0]);
return $score;
}


CHANGE IT TO:


function get_ebay_feedback_score($username){
$ch = curl_init();
curl_setopt ($ch, CURLOPT_URL, 'http://myworld.ebay.com/'.trim($username));
curl_setopt ($ch, CURLOPT_USERAGENT, 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)');
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt ($ch, CURLOPT_SSL_VERIFYHOST, 1);
curl_setopt ($ch, CURLOPT_HEADER, 0);
curl_setopt ($ch, CURLOPT_TIMEOUT, 300);
$str = curl_exec ($ch);
curl_close ($ch);
$str = split('<div class="areacont">',$str);
$str = $str[1];
$str = split('</a>',$str);
$str = $str[0];
$str = split('xmlns="">',$str);
$str = $str[1];
return $str;
}

nigthowl
06-06-2008, 06:44 PM
Thank Ray...I will be on you mod shop soon I see you have some new theme there..Talk to you soon.

Regards;
Jose


Latest ebay fix:

In file: importfeed.php FIND:


function get_ebay_feedback_score($username) {
$regex='/<b>Feedback score:*(.*?)<\/b>/msi';
// $regex='/<b>Feedback score:*(.*?)<\/b>/';
$url = 'http://myworld.ebay.com/'.$username;
$s=file_get_contents($url);
$matches=array();
preg_match_all($regex,$s,$matches);
//var_dump($matches);
$score = trim($matches[1][0]);
return $score;
}


CHANGE IT TO:


function get_ebay_feedback_score($username){
$ch = curl_init();
curl_setopt ($ch, CURLOPT_URL, 'http://myworld.ebay.com/'.trim($username));
curl_setopt ($ch, CURLOPT_USERAGENT, 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)');
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt ($ch, CURLOPT_SSL_VERIFYHOST, 1);
curl_setopt ($ch, CURLOPT_HEADER, 0);
curl_setopt ($ch, CURLOPT_TIMEOUT, 300);
$str = curl_exec ($ch);
curl_close ($ch);
$str = split('<div class="areacont">',$str);
$str = $str[1];
$str = split('</a>',$str);
$str = $str[0];
$str = split('xmlns="">',$str);
$str = $str[1];
return $str;
}