Plugin Directory

Cookie Access Notification

Author: Oliver Schlöbe

Sends out an email to the blog admin when a commenter accesses the blog with a certain username/ email address/ website url. The email will be sent out only once a visitor's browser session to avoid email spam to you. ;-)

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' ?>

You may also find this plugin helpful: IP Access Notification

Want update feeds, code documentation and more? Visit extend.schloebe.de

Download

FYI

Compatibility beta

Your Setup

Log in to vote.

The Consensus

No data

Average Rating

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