XMB Forum Software
Not logged in [Login - Register]
Go To Bottom

Printable Version  
Author: Subject: [New] Email notification to all members when new post is made
nitrod
New Poster
**




Posts: 1
Registered: 4-17-2014
Member Is Offline


[*] posted on 4-17-2014 at 05:55 PM
[New] Email notification to all members when new post is made


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.
View user's profile View All Posts By User
lottos
Administrator
********




Posts: 461
Registered: 6-3-2002
Member Is Offline

Mood: pass me a TimTam

[*] posted on 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/






View user's profile View All Posts By User

  Go To Top

Powered by XMB 1.9.12 (Debug Mode)
XMB Forum Software © 2001-2024 The XMB Group
[Queries: 16] [PHP: 39.8% - SQL: 60.2%]