![]() |
Trying to modify Report.php
I'm trying to duplicate the Report.php feature and make it work for a usergroup other than the moderators. I've changed the query from:
Quote:
Quote:
|
[sql]SELECT DISTINCT user.email
FROM " . TABLE_PREFIX . "user AS user WHERE user.usergroupid == 10 OR user.usergroupid == 6[/sql] ... this is a OR, not a AND... |
I was wondering about that too, but thought that AND should work. Anyhow, thanks. I'll give it a try.
|
well as Nexial already said, the AND is false, as it will always produce a false.
But the Administrators aren't recieving the emails because of that query, but because of the next code block which selects admin/super mod emails if no other emails could be found. |
Also, there is a forum setting that allows you to have admins and supermods recieve reported posts per email.
|
All times are GMT. The time now is 03:10 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|