Login Form

#212 – Remove ended auctions after a time periode

Posted in ‘BF Auction’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Tuesday, 06 May 2014 20:02 AEST
picht
Joomla! version: 3.3.0

Is there a way to remove auctions from the list a specified time after they have ended ?
The list just gets bigger and bigger with enden auctions...

Regards
Picht
 
Wednesday, 07 May 2014 21:25 AEST 5'
Tim
Everything Bundle, BF Quiz Plus 3 Years, BF Survey 12 Months
Hi Picht,
You could potentially adjust the query in the model, for example /components/com_bfauction_plus/models/bfauction_plus.php so that it only showed auction items with an endDate greater than today. Alternatively, you could use the winEmailSent field, which is set to 0 by default, and changes to 1 or 2 (depending if bid or buy now purchase) when the auction has completed. Maybe something like:

$where.= ' AND b.winEmailSent=0';

regards

Tim
Follow us on twitter http://twitter.com/tamlynsoftware
Thursday, 08 May 2014 02:43 AEST
picht
Great, thank you

Now i have it that the text gets strike through when the auction has ended and after 3 days it gets removed from the list.

Regards
Jacob
 
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.
Go to top