View Full Version : vBulletin 4 Request - Link to Thread Moderator Log
Elixar
03-20-2017, 02:29 AM
The Moderator Log found under Edit Thread, I would like to request a modification that would add a link to the Moderator Log that would be under the Administrative drop down.
MarkFL
03-20-2017, 02:39 AM
Can you post a screen shot showing where you want a link to the mod log to be?
Elixar
03-20-2017, 02:42 AM
http://image.prntscr.com/image/8d8a3c322cd24fb2b4b546f89de01511.png
Right under Remove Redirects. :)
MarkFL
03-20-2017, 02:58 AM
Create a plugin hooked at "showthread_complete" with the PHP code:
if (can_administer('canadminthreads'))
{
$template_hook['showthread_adminoptions'] .= '<li><a href="' . $vbulletin->config['Misc']['admincpdir'] . '/modlog.php?do=choose" target="_blank">Moderator Log</a></li>';
}
Elixar
03-20-2017, 03:03 AM
Create a plugin hooked at "showthread_complete" with the PHP code:
if (can_administer('canadminthreads'))
{
$template_hook['showthread_adminoptions'] .= '<li><a href="' . $vbulletin->config['Misc']['admincpdir'] . '/modlog.php?do=choose" target="_blank">Moderator Log</a></li>';
}
My apologies, what I mean is the Mod Log found at the bottom of the screen of Edit Thread. It outlines all moderator actions taken within that thread only.
MarkFL
03-20-2017, 03:09 AM
A custom page would have to be developed, and populated by a db query to select the relevant mod log entries. But why not just view the "Edit Thread" page to get that information?
Elixar
03-20-2017, 03:13 AM
A custom page would have to be developed, and populated by a db query to select the relevant mod log entries. But why not just view the "Edit Thread" page to get that information?
It's just more direct. :)
MarkFL
03-20-2017, 03:15 AM
It's just more direct. :)
Wouldn't it take the same number of clicks? :D
Elixar
03-20-2017, 03:16 AM
Wouldn't it take the same number of clicks? :D
I suppose, but again, why not have the option front and center? ;)
MarkFL
03-20-2017, 03:20 AM
I suppose, but again, why not have the option front and center? ;)
Well, that would not be an unreasonable request I suppose, my only objection objection as far as what I would add to my site would be that you can get there just as easily using the code already provided by vB, without adding an external script containing essentially redundant code.
However, this is not to discourage anyone from developing this for you. I'm only stating why I would find little use for it.
Elixar
03-20-2017, 03:29 AM
Well, that would not be an unreasonable request I suppose, my only objection objection as far as what I would add to my site would be that you can get there just as easily using the code already provided by vB, without adding an external script containing essentially redundant code.
However, this is not to discourage anyone from developing this for you. I'm only stating why I would find little use for it.
Understood, thank you for chiming in though nevertheless. :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.