Post by straightlight » Sat May 21, 2016 10:40 pm

In system/library/openbay.php file,

find:

Code: Select all

$emails = explode(',', $this->config->get('config_alert_emails'));
replace with:

Code: Select all

 $emails = explode(',', $this->config->get('config_mail_alert'));

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by IP_CAM » Sat May 21, 2016 11:14 pm

Very interesting! But, what does it do exactly? Where is this config_mail_alert beeing defined, and where does it get it's seemengliy different Mail Adresses, to handle them ?
Ernie

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by straightlight » Sun May 22, 2016 12:57 am

These modifications are for Opencart v2.2.0.0 release. The additional emails feature has not been released recently. This is quite an old existing feature in Opencart. In admin - > systems - > settings - > add / edit store - > server tab, you will find at the bottom of the page the 'Additional emails' text area to add new emails sequentially.

The original variable added from the openbay library has the wrong key name in order to extract the added emails into an array before passing them into the loop.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by IP_CAM » Mon May 23, 2016 1:18 am

thanks for the Information!
Ernie

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 5 guests