Login Form

#547 – Visibilty of bidders

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.
Wednesday, 04 March 2015 14:00 AEDT
DavidCNZ
Joomla! version: 2.5.28
Hi,
Is it possible to have the bidders full login name show rather than one that is mostly blanked out with asterisks? Our auctions will only be within our club membership and we'd like members to see who they are bidding against.

Regards
David
Wednesday, 04 March 2015 14:17 AEDT 10'
Tim
Everything Bundle, BF Quiz Plus 3 Years, BF Survey 12 Months
Hi David,
Yes it is possible, however you'd need to make a couple of minor code changes.

/components/com_bfauction_plus/views/bfauction_plus/tmpl/default.php

//line 196
if($row->highBidder <> '0'){
if($row->highBidder == $user->username){
echo $row->highBidder;
}else{
echo substr($row->highBidder, 0, 1);
echo "******";
echo substr($row->highBidder, -1);
}
}

//change to
echo $row->highBidder;


/components/com_bfauction_plus/controller.php

//line 1413
if($highBidder == $user->username){
$highBidder = JText::_('COM_BFAUCTIONPLUS_YOU_ARE_CURRENT_BIDDER');
}else{
$highBidder = substr($highBidder, 0, 1).'******'.substr($highBidder, -1);
}

//change to (remove the else part)
if($highBidder == $user->username){
$highBidder = JText::_('COM_BFAUCTIONPLUS_YOU_ARE_CURRENT_BIDDER');
}



regards

Tim
Follow us on twitter http://twitter.com/tamlynsoftware
Wednesday, 04 March 2015 14:28 AEDT
DavidCNZ
Thanks Tim, I'll give it a go tonight.

It looks straight forward enough even for me!

Cheers

David
Wednesday, 04 March 2015 14:42 AEDT
DavidCNZ
Hi Tim,

I got a chance to try it now and it worked brilliantly thanks. It was line 1401 in controller.php on my install though.

Is it possible to do this for the Bid History too?

David
Wednesday, 04 March 2015 14:47 AEDT
DavidCNZ
Worked it out for myself, I just needed to change /components/com_bfauction_plus/views/bidhistory/tmpl/default.php as per above

Thanks
David
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