Login Form

#786 – Sending winner`s data to administrator`s email

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.
Monday, 18 January 2016 21:02 AEDT
iambuion
Joomla! version: 3.4.1
BF Auction Plus: 1.8.3

Hi,
First of all thanks for the replies vouchers # 782 and # 784. It was very helpful.
I read the coupon # 780 - Notification mail to the administrator, but I do not know where to modify the codesuch that to send all data on the winner of the auction (email, name) to the site administrator.
I must say that I'm a beginner in programming.
Unfortunately I pressed my head against solve this inconvenience so please give me a quickly answer.

Thank you very much and I`m waiting for your answer !

PS: When I do all the translation of the application in Romanian I`ll send you the file to integrate into a future version of the application.
 Iambu Ion
Tuesday, 19 January 2016 22:28 AEDT 5'
Tim
BF Quiz Plus 3 Years, BF Survey 12 Months
Hi Iambu,
I've added a new feature to v1.9.0 which adds a "send copy to" field to all the email templates. Simply put in the administrator's email address in this field, and they will get a copy of all this type of email.
http://tamlynsoftware.com/download/bf-auction-plus/bf-auction-plus-1-9-0.html

Let me know how you go.

Sounds good about the Romanian language file.

regards

Tim
Follow us on twitter http://twitter.com/tamlynsoftware
Friday, 22 January 2016 01:34 AEDT
iambuion
Hi Tim,
I made some changes in the original template of Auction BF Plus 1.8.3. and I think that if I apply the new update 1.9.0 all the changes will return the template to its original design and I do not want this to happen.
So, my request is, if you can tell me, what I must to change and where (what files) for I can benefit from this functionality of the application (receiving informations on the auction winner to administrator`s email) ?

Thank you in advance !
 Iambu Ion
Friday, 22 January 2016 10:41 AEDT 10'
Tim
BF Quiz Plus 3 Years, BF Survey 12 Months
Hi Iambu,
Ideally any changes you make to a view should be done via a template override, so that they are not lost when you update the software.

If you have hacked the source code of the component, you could try replacing the following files with the new versions. But before you do anything, make sure you have a good backup just in case :) Also I'd recommend applying this to a dev/staging copy to make sure nothing unexpected breaks.
The important files changed in the commit for v1.9.0 are:

/administrator/components/com_bfauction_plus/bfauction_plus.php
/administrator/components/com_bfauction_plus/models/emailitem.php
/administrator/components/com_bfauction_plus/models/forms/emailitem.xml
/administrator/components/com_bfauction_plus/tables/emailitem.php
/administrator/components/com_bfauction_plus/views/emailitem/tmpl/edit.php
/components/com_bfauction_plus/controller.php
/administrator/languages/en-GB.com_bfauction_plus.ini

You would also need to add the sendTo field to the jos_bfauction_plus_email table (where jos_ is your table prefix)
ALTER TABLE `jos_bfauction_plus_email` ADD `sendTo` text;


Hope this helps.

regards

Tim
Follow us on twitter http://twitter.com/tamlynsoftware
Friday, 22 January 2016 17:39 AEDT
iambuion
Thank you Tim !
I'll keep you up to date...

:)
Have a great day !
 Iambu Ion
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