Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Email a preconfigured global email address if set when a forum posting occurs, to enable easier moderation of forums.
PHP Scheme
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
code
templates/email
README
_config.php

README

= Email Notification of Forum Postings
The Forums module, available at LINK does not unfortunately email moderators or any other email address when a posting occurs, making it tricky to keep a handle on spam.

In order to get round this problem, this module decorates the existing Forums module, emailing a globally configurable email address if it is set.  If it is not set then no email is sent.

= Configuration
In mysite/_config.php

	global $forum_moderator_email_address
	$forum_moderator_email_address = 'moderator_alias@yourcompany.com'

With the above configured, and on the assumption that email from your server is working correctly, emails should be sent to the globally configured email address each time a posting is made.


= TODO
I am still quite new to Silverstripe, this is my first module.  The above is not very fine grained but works.

Future improvements?

- Email all the moderators for the current forum
- Make the email address configurable in the CMS
Something went wrong with that request. Please try again.