vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   vBulletin 4 Request - Link to Thread Moderator Log (https://vborg.vbsupport.ru/showthread.php?t=324773)

Elixar 03-20-2017 02:29 AM

vBulletin 4 Request - Link to Thread Moderator Log
 
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/8d8a3...f89de01511.png

Right under Remove Redirects. :)

MarkFL 03-20-2017 02:58 AM

Create a plugin hooked at "showthread_complete" with the PHP code:

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

Quote:

Originally Posted by MarkFL (Post 2584099)
Create a plugin hooked at "showthread_complete" with the PHP code:

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

Quote:

Originally Posted by MarkFL (Post 2584101)
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

Quote:

Originally Posted by Elixar (Post 2584102)
It's just more direct. :)

Wouldn't it take the same number of clicks? :D

Elixar 03-20-2017 03:16 AM

Quote:

Originally Posted by MarkFL (Post 2584103)
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

Quote:

Originally Posted by Elixar (Post 2584104)
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.


All times are GMT. The time now is 05:18 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01220 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete