phpBay Pro 3.1.1 New Release
This version features the following updates:
1) auction.php is modified so that the "scalar value" error that sometimes happens when using another plugin will no longer happen. Be sure to replace your existing auction.php with this new one.
2) A seventeenth parameter is added, to turn paging on/off by using either a 0 (for off) or 1 (on). This will override the global paging option. This is an optional parameter. If global paging is turned on, and you want to disable it for a singe page or post, you can set this parameter.
3) An eighteenth parameter is added, to set the number of listings per page. If you have global paging turned on, and globally set 10 items per page to be shown, but for a single page or post, you need a listing with 10 items, 2 per page, this will allow you to override the global setting.
4) Second parameter of the [phpbay] tag. In previous versions, if you set this to 8 items, but had paging turned on, it would show all 100 results (well, about 90 something because it wasn't quite right). Now, the number you specify in the Number (second parameter) is the number that will return/be displayed, whether paging is turned on or off.
5) Paging is fixed. During this update, I discovered the paging wasn't "quite" right. This had to do with the rounding of the pages, vs using the ceil() function in php. It would sometimes lose an item or two in the listing, depending on the number per page and the number of pages. This is now fixed.
6) List auctions only (this one is for you, azim!). The eleventh parameter in the [phpbay] tag can be set to 1 to display Buy It Now only auctions. If you want to exclude BIN auctions and list auctions only, set this parameter to 2.
7) Reworked the code in the license. Sometimes users will install phpBay Pro, go to the options page, take a look and click on the "update options" button before the license is entered. When this happens, an error is returned that the license is invalid. The user goes back to enter it, but it won't allow it without using "unregister" in the affiliate link field. I've reworked this to accomodate with this situation.








