In "function AcceptBidByID($id, $autoAccept = false)", there is a bug...
Fatal error: Function name must be a string /Sources/classifieds.php on line 6963
the error occurs if classifieds try to send the new mail to seller
Status:
-----------
+Email now sent to the seller if the bid is auto accepted <--------------- Not working
!Fix display of private bids to the listing owner on the view bids page <--------------- i currently check this
!Do not auto accept bid if reserve price is greater than the bid amount <--------------- i currently check this
Status 2:
-------------
+Email now sent to the seller if the bid is auto accepted <--------------- working only partly with a little fix
!Fix display of private bids to the listing owner on the view bids page <--------------- working
!Do not auto accept bid if reserve price is greater than the bid amount <--------------- will check this
Little Fix
------------
Original Code: $pm_title = $smcFunc['db_escape_string']($row['title'] . $txt['class_text_listing_completed']);
Modified Code: $pm_title = $row['title'] . $txt['class_text_listing_completed'];
But the link created inside the mail (to the buyers profile) will not work... builds an wrong url...
Status 3:
-------------
+Email now sent to the seller if the bid is auto accepted <--------------- seems to working with this two little fixes
!Fix display of private bids to the listing owner on the view bids page <--------------- working
!Do not auto accept bid if reserve price is greater than the bid amount <--------------- will check this
Little Fix 1
--------------
Original Code: $pm_title = $smcFunc['db_escape_string']($row['title'] . $txt['class_text_listing_completed']);
Modified Code: $pm_title = $row['title'] . $txt['class_text_listing_completed'];
Little Fix 2
--------------
Original Code:
$accepted_body .= "[url=' . $scripturl . '?action=profile;u=" . $row['BIDMEMBER'] . "]" . $row['realName']. "[/url] " . $txt['class_text_listing_completed2'] . $row['amount'] ;
Modified Code:
$accepted_body .= "[url=" . $scripturl . '?action=profile;u=' . $row['BIDMEMBER'] . "]" . $row['realName']. "[/url] " . $txt['class_text_listing_completed2'] . $row['amount']. $txt['class_text_listing_completed3'] ;
I added an extra string for some texts like the "EUR" sign... ($txt['class_text_listing_completed3'] ) the german sentence are more complicated and need more customizable strings...
Thanks for your fast reply this time...
Maybe you implement my color change code and mail (if bid was to low (reserve price not met)) to last bid member if auction was ended, in your official update ?
Darkshadow