Jump to the post that solved this thread.
Solved: 3 Years, 4 Months ago Report post to group/s
#8
Solved: 3 Years, 4 Months ago
Ok I worked it out. If anyone else wants to stop moderators of a forum getting an email of a reported post you need to change the "m.isgroup =" from 1 to 0

Line 171:
$modsjoin = "LEFT JOIN {$db->table_prefix}moderators m ON (m.id = u.uid AND m.isgroup = 0) OR ((m.id = u.usergroup OR ',' || u.additionalgroups || ',' LIKE '%,' || m.id || ',%') AND m.isgroup = 1)";
}

Line 175:
$modsjoin = "LEFT JOIN {$db->table_prefix}moderators m ON (m.id = u.uid AND m.isgroup = 0) OR ((m.id = u.usergroup OR CONCAT(',', u.additionalgroups, ',') LIKE CONCAT('%,', m.id, ',%')) AND m.isgroup = 1)";
}
Reply
Jump to the post that solved this thread.


Messages In This Thread
Report post to group/s - by sarisisop - 2017-05-20, 12:31 PM
RE: Report post to group/s - by dragonexpert - 2017-05-20, 03:31 PM
RE: Report post to group/s - by sarisisop - 2017-05-20, 03:43 PM
RE: Report post to group/s - by dragonexpert - 2017-05-20, 05:28 PM
RE: Report post to group/s - by sarisisop - 2017-05-21, 11:59 AM
RE: Report post to group/s - by dragonexpert - 2017-05-21, 01:18 PM
RE: Report post to group/s - by sarisisop - 2017-05-21, 02:48 PM
RE: Report post to group/s - by sarisisop - 2017-05-25, 11:44 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)