vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=285264

Threadbits in ModCP - Threads and posts to be moderated
by Quarterbore
06 Jul 2012 13:55

What I am trying to do is really simple... I want to modify the template (or code) that generates the list of threads or posts that require moderation as shown in the ModCP. What I want to add is a link to use the "One Touch Ban & Clean" modification.

My plan is to modif the template so where it shows "Posted By" to somply add a text link to the right of that that says "One Touch Ban and Clean". I am not looking to make this complicated to allow more then one ban and clean per process, just a quick and complete removeal of obvious spam bots.

Anyways, the link is easy (http://www.somesite.net/forums/misc....confirm&u=3313), I just need help finding this template...

I may also want to figure this out for use page in the AdminCP too so if anybody has advise on finding that template that would help too. I will share the code once I figure it out!

kh99 06 Jul 2012 14:16

To find a template, you can go to the settings and temporarily set "Add Template Name in HTML Comments" (under General Settings) to Yes. Then view the html source of the page you're interested in and you should be able to figure out which template you need to change.

As for the adminCP, it generally doesn't use templates so it would probably require code modification.


All times are GMT. The time now is 18:41.

Powered by vBulletin® Version 3.8.12
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.