Plugin Directory

Cookie Access Notification

Sends out an email to the blog admin when a commenter accesses the blog with a certain username/ email address/ website url.

Usage

Inside the plugin file cookie-access-notification.php, there's only one thing to be edited in order to make this work for your needs. Line 20:

<?php $_COOKIE["comment_author_" . COOKIEHASH] == 'Alphawolf' ?>

That's where you put what to check for. If you want to check for a commentor's username, leave as it is (but change 'Alphawolf' to the commentor's name you want to check for, of course ;-)). You can also check for a commentator's email address or website url like this:

<?php $_COOKIE["comment_author_url_" . COOKIEHASH] == 'http://www.domain.com' ?>
<?php $_COOKIE["comment_author_email_" . COOKIEHASH] == 'info@domain.com' ?>

Requires: 1.5 or higher
Compatible up to: 2.6
Last Updated: 2012-5-19
Downloads: 835

Ratings

3 stars
3 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

0,1,0
100,1,1