Login Form

#211 – Users Being able to delete auction items that they have created

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 05:40 AEST
Joomla! version: 3.2
Hi Tim, Sorry about all the accidentally sent support tickets and opening so many, its just that I am working on my website and every time I sent you a ticket I have found another reason to send you a ticket.
Upon inspection of how the my selling page works, there is no way to delete an Item that I have published myself in this page, and when I go through the administrator end and delete an item, it leaves it on the my selling page. Is there any way that I can add a delete button to the my selling page?
Regards, Johnpeterhowe
Tuesday, 06 May 2014 16:06 AEST 15'
BF Quiz Plus 3 Years
Hi John,
Just like Joomla articles, when you delete an auction item, Joomla changes the status to -2 and puts it in the trash. It isn't permanently deleted until you change the status filter to trashed, and empty the trash.

If you don't want front end auction item editors to see trashed auction items, you could edit /components/com_bfauction_plus/models/items.php, and change line 76

. ' WHERE uid='.(int)$user->id

//change to
. ' WHERE uid='.(int)$user->id.' AND b.state=1'

Adding a delete button to the front end my auction items view would be possible, however it would require some custom PHP code. I'll look at including this feature in a future version.


Follow us on twitter http://twitter.com/tamlynsoftware
Saturday, 10 May 2014 00:10 AEST
Hi Tim,
Thank you for the code, it worked perfectly. It would be great if that was included in a future version, thanks very much, in the meantime I am planning to brush up on my PHP coding, and I may have a look into this myself if it doesn't seem too complicated, I shall inform you if there is any success in this, but otherwise I shall just wait for the version that includes this.
Thank you for your time,
Regards, Johnpeterhowe
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