Login Form

#778 – Another type of seller mail

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.
Saturday, 09 January 2016 08:58 AEDT
divi
Joomla 3.4.8 v1.8.3
Hi Tim.
Right now bfauction_plus sends a congratulation mail for all finished auctions wither they have been sold or not. How do I add another seller mail, so that a seller gets a different mail for all finished auctions that have not been sold ? I know that your planning to include that in your new beta version, but this version is not fit for live sites yet.
Regards
divi
Friday, 15 January 2016 20:53 AEDT 5'
Tim
BF Quiz Plus 3 Years, BF Survey 12 Months
Hi Divi,
You'd need to adjust the code in /components/com_bfauction_plus/controller.php

In the triggerBFAuctionEmail() function, you will see calls to
bfauction_plusController::triggerEmails("Seller", (int)$row->id, NULL);


You could potentially add a check in here to see if the item is actually sold or not, and trigger an alternative email.

regards

Tim
Follow us on twitter http://twitter.com/tamlynsoftware
Tuesday, 19 January 2016 06:45 AEDT
divi
Hi Tim,
I have looked and looked many times for the bfauction_plusController::triggerEmails("Seller", (int)$row->id, NULL); in /components/com_bfauction_plus/controller.php. But could not find any trace of that. Would you please tell me which lines I should look for ? I am using bfauction_plus v1.8.3

2- would you please give an example how the check should look like ?
Thanks in advance

Regards
divi
Tuesday, 19 January 2016 23:07 AEDT 15'
Tim
BF Quiz Plus 3 Years, BF Survey 12 Months
There are a couple of places in the controller file where the seller email is triggered.

Follow us on twitter http://twitter.com/tamlynsoftware
Sunday, 24 January 2016 21:11 AEDT
divi
Hi Tim,
Thank for your quick answer. I have found the code:
bfauction_plusController::triggerEmails("Seller", (int)$row->id, NULL); in the /components/com_bfauction_plus/controller.php
But I don't really know how to add a check in to see if the item is actually sold or not, and trigger an alternative email. I am trying very hard to learn but I am not sure yet how to do that. Please tell me what should I add and change in the code
Many thanks in advance
regards
divi
Thursday, 28 January 2016 22:31 AEDT 5'
Tim
BF Quiz Plus 3 Years, BF Survey 12 Months
Hi Divi,
I've added this to Jeff's task list, I'll see if I can get him to implement this something next week.

regards

Tim
Follow us on twitter http://twitter.com/tamlynsoftware
Friday, 29 January 2016 07:24 AEDT
divi
Thank you
divi
Sunday, 06 March 2016 18:16 AEDT 5'
Tim
BF Quiz Plus 3 Years, BF Survey 12 Months
Hi Divi,
Jeff has added a new email type called SellerNotSold, which is included in v1.11.0 which has just been released.

http://www.tamlynsoftware.com/download/bf-auction-plus/bf-auction-plus-1-11-0.html

regards

Tim
Follow us on twitter http://twitter.com/tamlynsoftware
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