The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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:
|
#2
|
|||
|
|||
[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... |
#3
|
|||
|
|||
I was wondering about that too, but thought that AND should work. Anyhow, thanks. I'll give it a try.
|
#4
|
||||
|
||||
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. |
#5
|
||||
|
||||
Also, there is a forum setting that allows you to have admins and supermods recieve reported posts per email.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|