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

Printable Version  
Author:

[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: 362
Registered: 6-3-2002
Location: Competitions Australia: https://www.lottos.com.au/
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/






Largest list of competitions online!
View user's profile Visit user's homepage View All Posts By User

  Go To Top

Powered by XMB 1.9.11 (Debug Mode)
Forum Script Software by XMB © 2001-2020 The XMB Group
[Queries: 16] [PHP: 29.6% - SQL: 70.4%]
Funded with thanks to competitions website.