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 |
Jump to:
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.
| Attachment | Size |
|---|---|
| uc_auction-user_bid_history.patch | 4.12 KB |

#1
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
Automatically closed -- issue fixed for 2 weeks with no activity.