phpBay Pro API 3.1.2 Released

August 16, 2009 by admin  
Filed under News

This is minor release, but does fix a few bugs. Please don't be alarmed by the jump from 3.0 to 3.1.2. 3.1.2 is the current WordPress version and the API shares some of the core code, so I've decided to bump the API version upwards to meet the WP version.

Fixes:

1) Minor bug with the paging (as was the recent WP version) where an auction listing or two might not make it into the results, due to the way the pages were calculated. Very minor, but none-the-less, fixed.

2) Fixed a bug with the geo targeting. Wasn't really a bug, more of an oversight on my part since 3.0 where the paths still pointed to a wordpress path structure, instead of the API path structure. So, geo ip targeting works now, with a Maxmind.com key.

3) Added an additional option in config.php to remove duplicate auction listings. In previous versions, "remove duplicate listings" was a feature integrated with the code. At the request of numerous customers, I've now made this an option that can be turned on/off.

4) Paging. In past versions, if paging was turned on, then it would force the max number of items to be returned (100) if there were that many. Many customers have wanted better control over this, where if they want 15 results with 5 per page, it would show three pages. This is now the behavior of the API. If you want all results, just specify "100" as the second parameter.

These are very minor issues that most probably haven't even noticed. I would only recommend updating your sites (especially if you have many) if you need any of these. Otherwise, carry on and earn!

WordPress Themes by StudioPress

Comments are closed.