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.

Download Version 1.0.1

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-1-23 Downloads: 567

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(3 ratings)

Compatibility

+
=
Not enough data

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

Log in to vote.

0,1,0