The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I had this working in 3.0, but not sure how to make it work in 3.5 - I had duplicated the "report this post" feature for another purpose and had it sent to a different usergroup. Can someone help me in figuring out how to do this again? Here's how I did it in 3.0:
https://vborg.vbsupport.ru/showthread.php?t=70348 Thanks in advance. |
|
#2
|
|||
|
|||
|
Make a plugin using the 'report_send_process' hook:
Code:
$moderators = $db->query_read("
SELECT email, languageid, username, userid
FROM " . TABLE_PREFIX . "user
WHERE usergroupid IN (6,10)
");
$mods = array();
while ($moderator = $db->fetch_array($moderators))
{
$mods[] = $moderator;
}
|
|
#3
|
|||
|
|||
|
I was very close.
I thought some variables would conflict. Here's mine (don't use). PHP Code:
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|