The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#2
|
|||
|
|||
![]()
There's no way to simply edit the phrase, you'd need a plugin. If you look at file includes/class_reportitem.php around line 194 you can see how the list is built, and at the same time an array called $mods is built with all the moderator info. So you could write a plugin using hook location report_do_report (which is called just after the array is built) which rebuilds $reportinfo['modlist'] using the info in the $mods array to include the moderator id.
The code could be something like: Code:
if (!empty($mods)) { $reportinfo['modlist'] = ''; foreach ($mods AS $moderator) { $reportinfo['modlist'] .= (!empty($reportinfo['modlist']) ? ', ' : '') . unhtmlspecialchars($moderator['username']) . ' (' . $moderator['userid'] . ')'; } } |
Благодарность от: | ||
tambo |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|