Seeker’s Peektures yet again…

Jessica wanted to be notified every time someone left a comment. It took me a little while to find the hack for it as I was unable to find a legit way to get it working. Below is the code that needed to be inserted into the add_comment.php file. It had to be added right after dismissAndReload(); in the aforementioned file.

mail(“your@email.address.com”, “Gallery comment added by”,
$commenter_name .
“\n\nComment:\n\n” .
$comment_text . “\n\n\n” .
$IPNumber .
“\n\nIndex:” . $index,
“From: $commenter_name”);

Of course the email address had to be changed but you get the idea.