With the particular theme I was using (Acquia Marina) I was having a problem with the messages pertaining to high bidder and being outbid appearing twice. Perhaps I could have altered the theme to correct this problem but it seemed easier to $repeat = FALSE where drupal_set_message appears several times in uc_auction.module
I apologize that my patching capabilities are nil but thought I'd mention this here for others.
lines 637 to 652 I changed to:
drupal_set_message(t('You have purchased this auction item.'), 'status', FALSE);
}
else {
drupal_set_message(t('Congratulations! You have won the auction for this item.'), 'status', FALSE);
}
}
else {
drupal_set_message(t('Congratulations. You are currently the high bidder for this item.'), 'status', FALSE);
}
}
else {
if (time() > $node->uc_auction['expiry']) {
drupal_set_message(t('This auction has expired, and you were not the final bidder. Better luck next time!'), 'warning', FALSE);
}
else {
drupal_set_message(t('You are no longer the high bidder for the item. You must place a higher bid if you wish to win this auction.'), 'warning', FALSE);
and line 1163 changed to:
drupal_set_message(t('The bids were deleted and the high bid price was reset to the latest undeleted bid (or the initial start price if all bids were deleted).'), 'warning', FALSE);
Comments
Comment #1
donlimpio commentedThanks, rfarm.
I got the same bug with uc_auction and the Acquia Prosper Theme.
worked as well.
Comment #2
attheshow commentedWorks for me too. Using uc_auction and Acquia Prosper.
Comment #3
SchwebDesign commentedfixed it for me too!
Comment #4
SeanA commented