i have installed jforum and now i want to customize it a lil bit. i want that every post that is made on a particular forum should be automatically emailed to my email inbox. currently i can configure jforum to send the notification and the text to the user via an email. alongwith this notification to the user, i want jforum to send an email to my inbox whenever a post is made.
e.g. every post should be emailed to email@example.com [originally posted on jforum.net by test895]
Have a look at the spammer classes ... for TopicCreationSpammer and ForumReplySpammer I guess they should be called. In addition to that you might think about adding a new entry to the jforum_custom.conf that specifies the forum_id that you wish to watch (or forum_ids) along with the admin email addresses you wish to send the mails to.
In the systemglobals you could add a new method like getValues(ConfigKeys.YOURNEWKEYHERE) which might return a String array with the given forum_ids or addresses or whatever...
This information then could be used in the spammer to determine if it's the specific forum... and to who it additionally should send the mails out [originally posted on jforum.net by Sid]