View own bid history for user

ckng - July 3, 2009 - 13:48
Project:Ubercart Auction
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Attached patch includes
- new 'view own bids' permission
- new 'User bid history' block
- update to uc_auction_bid_history()

It would be best to go through uc_auction code through coder module and follow drupal coding standard to ease patching.

AttachmentSize
uc_auction-user_bid_history.patch4.12 KB

#1

Garrett Albright - September 25, 2009 - 17:20
Status:needs review» fixed

I just committed some changes to UC Auction which implement something like this, though a little bit differently; there's now a "view all bid info" permission which should be given to administrator roles, and the "view bids" permission can be given to everyone. If someone has the latter role but not the former, all bids in the bid table will show "Anonymized bidder" instead of the actual bidder's name.

I didn't use any of your code, but thanks for the inspiration on this feature - it's both quite nice to have and pretty easy to implement.

(The commit also uses proper Drupal tabbing style, now that my current code editor of choice can handle it better.)

#2

System Message - October 9, 2009 - 17:30
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.