phpBB watch or notify or mail
I needed to know about every post at my low-traffic phpBB forum. I couldn't get EasyMod or Forum Watch going on my Fantastico installation.I know a bit about php and was able to tell phpBB to notify me of every post at my support board very easily.
phpBB version: 2+
Today's date: 2007-08-18
Simply edit the posting.php file in the phpbb root directory on your web server:
Lines 540 - 544 say this:
//
// Submit post/vote (newtopic, edit, reply, etc.)
//
$return_message = '';
$return_meta = '';
After line 544, add this:
//
// Send me an email
//
mail ('me@bogus.com, 'Forum Post Notice', "A new post has been made.\nMode: $mode\nUser: $HTTP_POST_VARS[username]\nSubject: $HTTP_POST_VARS[subject]\nForum: $forum_id\nhttp://bogusdomain.com/forum/viewforum.php?f=$forum_id\nTopic: $topic_id\nhttp://bogusdomain.com/forum/viewtopic.php?t=$topic_id#$post_id\nPost: $post_id\nhttp://bogusdomain.com/forum/viewtopic.php?p=$post_id#$post_id\n\nMessage:\n$HTTP_POST_VARS[message]\n\nThis e-mail message was sent from posting.php line 549");
Created by admin. Last Modification: Saturday 18 of August, 2007 17:31:57 UTC by admin.






