Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 2 Years, 4 Months, 3 Weeks ago Report post to group/s
#8
Solved: 2 Years, 4 Months, 3 Weeks 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 - 05-20-2017, 12:31 PM
RE: Report post to group/s - by dragonexpert - 05-20-2017, 03:31 PM
RE: Report post to group/s - by sarisisop - 05-20-2017, 03:43 PM
RE: Report post to group/s - by dragonexpert - 05-20-2017, 05:28 PM
RE: Report post to group/s - by sarisisop - 05-21-2017, 11:59 AM
RE: Report post to group/s - by dragonexpert - 05-21-2017, 01:18 PM
RE: Report post to group/s - by sarisisop - 05-21-2017, 02:48 PM
RE: Report post to group/s - by sarisisop - 05-25-2017, 11:44 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)