XMB Forum Software

[New] Email notification to all members when new post is made

nitrod - 4-17-2014 at 05:55 PM

Full Board URL: http://forum.speedgroup.eu/forum/forumdisplay.php?fid=1
XMB Version: 1.9.11

New to this so forgive me if covered already but how can I set up our forum so that whenever a new post is made each member receives an email?
Many thanks.

lottos - 4-17-2014 at 11:28 PM

That functionality doesn't exist, however I think if you edit the post.php file and look for:

Code:
$subquery = $db->query("SELECT m.email, m.lastvisit, m.ppp, m.status, m.langfile " . "FROM ".X_PREFIX."favorites f " . "INNER JOIN ".X_PREFIX."members m USING (username) " . "WHERE f.type = 'subscription' AND f.tid = $tid AND m.username != '$username' AND m.lastvisit >= $date");



and change it to:

Code:
$subquery = $db->query("SELECT email, lastvisit, ppp, status, langfile " . "FROM ".X_PREFIX."members " . "WHERE lastvisit >= $date");



it could well work. It is untested however.


Other modifications you may be interested in are listed here:
http://www.xmbforum2.com/hacks/