Alert Admin Login not working for me

By Mikey - February 12, 2016

Does anyone know if the "Alert Admin Login" plugin is still functional OR functions with newer versions of CMSB? I loaded in on an older website of CMSB Version 2.53, but it doesn't appear to be functioning and no email notifications are going out when I login under my account, nor under a test admin account.

The plugin states it requires CMSB V2.03

Name: Alert Admin Login 
Version: 1.01 (Released: Feb 11, 2010)
Requires: CMS Builder v2.03

http://www.interactivetools.com/add-ons/alert-admin-login/

Thanks, Zicky

By Mikey - February 15, 2016

Roger that -

I'll be in touch to see what we can do. I also have other ideas to expand this add-on and make it more useful for my needs.

Zicky

By Djulia - February 16, 2016

Hi Zicky,

It is strange! The plugin works correctly with all my sites. It also works with the last version of 3.02.

Do you have an error in the logs and the counter (Hits) is correctly incremented?

Thanks!

Djulia

By Djulia - February 16, 2016

I have just proposed an update. (Awaiting Approval)

Can you test? Thanks!

Djulia

By Mikey - February 16, 2016

Hey Djulia,

I'll give it a try once I have a moment to install and test... and reply with the results.

Thanks,

Zicky

By Mikey - February 16, 2016

Hey Djulia,

The update you applied appears to be working fine. I've logged in and out a few times using different accounts and have received alerts on each instance. Thanks for patching this... nice add-on!

Also, I made a little change to the subject - html as seen below.

'subject' => "[Login Alert] {$_SERVER['HTTP_HOST']}",
'text'    => "Login Alert Notification\n"
. "\n"
. "Who: {$CURRENT_USER['fullname']} connected to {$_SERVER['HTTP_HOST']}\n" 
. "Date: {$date}\n"
. "\n"
. "Username: {$CURRENT_USER['username']}\n"
. "Email: {$CURRENT_USER['email']}\n"
. "IP Address: {$_SERVER['REMOTE_ADDR']}\n"
. "\n"
. "Connected with User Agent: {$_SERVER['HTTP_USER_AGENT']}\n"
. "\n"
. "Connected at URL: http://{$_SERVER['HTTP_HOST']}{$_SERVER['REQUEST_URI']}\n",
'html'    => "",

Thanks, Zicky 

By Djulia - February 16, 2016

Thanks !  :)