Login Form

#312 – Using BF Auction Plus for a "Live" auction?

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.
Friday, 01 August 2014 21:02 AEST
minbori
Joomla! version: 2.5

So far the online bidding works great, but I wondered if anyone has ever used BF Auction in a "live" auction scenario.

My client would also like to use BF Auction to track bidding history for a live auction event. As bids are placed, an auction administrator would enter each bid via the frontend or backend of the site. At the moment only registered users can enter bids on the front end, that's fine -- but there doesn't seem to be any way for an admin to enter a bid into an auction on another person's behalf, possibly via the backend.

Or is there some way to attach a comments field to a bid, so an admin could enter a bid via the frontend using their own account, but could make a note of the real bidder's name?

Thanks!
 
Friday, 01 August 2014 21:53 AEST 5'
Tim
BF Quiz Plus 3 Years, BF Survey 12 Months
Hi Catherine,
I'm not aware of anyone using the software as a "live" in person auction. There is currently no facility for administrators to add bids on behalf of another user. That said, it's all open source, so if you have some PHP skills then it would certainly be possible to implement this.

regards

Tim
Follow us on twitter http://twitter.com/tamlynsoftware
Friday, 01 August 2014 22:18 AEST
minbori
Thanks for the quick response, Tim. I do have some PHP skills, but I don't know this software very well. Which in your opinion would be easier to implement: frontend or backend? Seems to me adding comments via the frontend would be easier, as that's where the bidding infrastructure is already active....
 
Friday, 01 August 2014 23:25 AEST 10'
Tim
BF Quiz Plus 3 Years, BF Survey 12 Months
Hi Catherine,
Yes I think the frontend would be easier to alter for this.

If you look in the bid view /components/com_bfauction_plus/views/bid/tmpl/default.php, you will see the form around line 473 which is submitted when you enter a bid in the input box. This calls the bidnow view to confirm the bid which is in the file /components/com_bfauction_plus/views/bidnow/tmpl/default.php
When the bidnow form is submitted, it calls the mybid task, which runs the mybid() function around line 129 of /components/com_bfauction_plus/controller.php

So the easy option would be to add a field on the bidnow view that contains user id or user name or something to match the bid to the buyer, then adjust the mybid function in the controller.php so that this field is used to determine the userid (and name & email) of the bidder (as opposed to the following code):
$user = JFactory::getUser();
$userusername = $user->username;
$userid = $user->id;
$useremail = $user->email;

regards

Tim
Follow us on twitter http://twitter.com/tamlynsoftware
Saturday, 02 August 2014 02:10 AEST
minbori
Great Tim, thanks! Exactly the info I need to get me started. If I have any further questions I'll give you a shout. Meanwhile, I'll close this and wish you a good weekend.

cat:-)
 
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