This is weird. we have around line 91 PHP: if ($Auction['closed'] == 1) { header('location: item.php?id=' . $_REQUEST['id']); exit; } And as me mark it as ends = '" . $NOW . " passing it through the cron should close the auction and that should do the job of not being able to go back to buy_now.php. Check the alterations done, to make sure there is nothing forgotten, in buy now.php
yes ok near line 154 find PHP: if (isset($qty) && $qty > $Auction['quantity']) { $ERR = $ERR_608; } replace with PHP: if (isset($qty) && $qty > $Auction['quantity']) { $ERR = $ERR_608; } else if (!isset($qty) || $qty < 1) { $ERR = $ERR_601; }
@ shebov You are missing quite a few important lines. try this one. View attachment buy_now.php updated as forgot one change value @ Athera, have a look at this as the buyer_fee is not fixed value.
I am not sure what you guys are doing in that club But there is a quick fix to the problem above Near line 282 PHP: if (in_array($user->user_data['id'], $hbidder_data)) { $yourbidmsg = $MSG['25_0088']; $yourbidclass = 'yourbidwin'; if ($difference <= 0 && $auction_data['reserve_price'] > 0 && $auction_data['current_bid'] < $auction_data['reserve_price']) { $yourbidmsg = $MSG['514']; $yourbidclass = 'yourbidloss'; } elseif ($difference <= 0 || $auction_data['bn_only'] == 'y') { $yourbidmsg = $MSG['25_0089']; } } else replase it with PHP: if (in_array($user->user_data['id'], $hbidder_data)) { $yourbidmsg = $MSG['25_0088']; $yourbidclass = 'yourbidwin'; if ($difference <= 0 && $auction_data['reserve_price'] > 0 && $auction_data['current_bid'] < $auction_data['reserve_price']) { $yourbidmsg = $MSG['514']; $yourbidclass = 'yourbidloss'; } } elseif ($auction_data['bn_only'] == 'y') { $yourbidmsg = $MSG['25_0089']; $yourbidclass = 'yourbidwin'; } else
Hi Athera, the club is to create a better user message system on the item page (and possibly on others too) now we have buy now only working. Like: 10 of these items have been purchased by you, Buy more? you have agreed to buy 10 of these items, would you like to pay now? etc...
Guys, I think fixing multiple items was never added to Github, so it was not fixed with version 1.1.2... A few of these fixed are not even possible any longer because the code is different in the master branch
May be mistakes but I think I got everything https://github.com/renlok/WeBid/commit/452f58716dda7c4731ee45733831e1f7317258b7
Yeah may add a fresh install over the weekend, looks like I got a few told files to update for the bootstrap as well
I just got feedback from a seller. There are still issues in buy now only with multiple items. The seller doesn't see the sold items and winne rinformation in his overview. It looks like this has been fixed before, but maybe it's still not integrated in the current code... Anyway, I've opened another bug report for this: http://bugs.webidsupport.com/view.php?id=638