|
|
Re: Cannot save settings for Notify moderator(s) of all new messages [message #36427 is a reply to message #36424] |
Thu, 22 March 2007 23:47 |
songbee
Messages: 7 Registered: August 2006
Karma: 0
|
Junior Member |
|
|
yes, it is a symlink. So is it supposed to be a actual globals.php file there? if so, where can I copy it from?
I've found /include/globals.php and looks like i could modify it directly instead of using admin panel. However, it seems like one can get notified only if the forum is moderated? This is explained in /include/GLOBALS_HELP:
{{{MODERATED_POST_NOTIFY FUD_OPT_2 262144
Notify forum moderators via e-mail when a new message is posted in a forum where a message must first be approved by the moderator before shown to the rest of the visitors.}}}
so it's not an option to get notified if the forum is not moderated? Just like one cannot get notified if new account registration is not moderated?
thanks
[Updated on: Fri, 23 March 2007 18:03] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
Re: Cannot save settings for Notify moderator(s) of all new messages [message #37907 is a reply to message #37884] |
Mon, 02 July 2007 16:46 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
There is an option for moderated forums whereby FUDforum would notify the mods of any new messages and topics. If you remove the "is the forum moderated" check from this code bit and enable this option in the admin panel you'll get the functionality that you desire.
FUDforum Core Developer
|
|
|
|
|
Re: Cannot save settings for Notify moderator(s) of all new messages [message #160849 is a reply to message #37952] |
Mon, 02 November 2009 21:09 |
byron
Messages: 9 Registered: October 2009
Karma: 0
|
Junior Member |
|
|
There is a bug in adm/admforum.php at line 52. It never saves the parameter frm_mod_notify back into the frm_forum_opt.
The fix is:
$_POST['frm_forum_opt'] = (int) $_POST['frm_mod_notify'] | (int) $_POST['frm_mod_attach'] | (int) $_POST['frm_moderated'] | (int) $_POST['frm_passwd_posting'] | (int) $_POST['frm_tag_style'];
-Byron
|
|
|
|
Re: Cannot save settings for Notify moderator(s) of all new messages [message #160859 is a reply to message #160850] |
Tue, 03 November 2009 17:17 |
byron
Messages: 9 Registered: October 2009
Karma: 0
|
Junior Member |
|
|
And there's another bug in imsg_edt.inc.t around line 491. The SQL is malformed because of a duplication of "INNER JOIN".
$tmp = db_all('SELECT u.email FROM {SQL_TABLE_PREFIX}mod \
mm INNER JOIN INNER JOIN {SQL_TABLE_PREFIX}users u ON u.id=mm.user_id WHERE mm.forum_id='\
.$mtf->forum_id);
should be
$tmp = db_all('SELECT u.email FROM {SQL_TABLE_PREFIX}mod \
mm INNER JOIN {SQL_TABLE_PREFIX}users u ON u.id=mm.user_id WHERE mm.forum_id='\
.$mtf->forum_id);
-Byron
|
|
|
|
|