The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Would like to modify Report.php
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:
|