vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Moderators Functions - Per-Thread Moderation (https://vborg.vbsupport.ru/showthread.php?t=122327)

Alan @ CIT 07-26-2006 10:00 PM

Per-Thread Moderation
 
Per-Thread Moderation
Version 1.0


What does this do then?

Have you ever had a popular thread that quickly gets out of hand? Posters start making personal attacks towards each other, going off-topic, and so on? Fed up with having to go through all the new replies for that day and remove the abusive ones, as well as edit quotes to them from other peoples posts? Worried about how bad the thread is getting in your absence?

Worry no more! Per-Thread Moderation allows you to turn on Post moderation on a thread-by-thread basis. If you have a thread that is getting out of control, turn on Per-Thread Moderation, and all new posts to that thread will need to be approved by a moderator before they appear! What's more, it doesn't affect existing posts to the thread so there is no need to go through and approve hundreds of existing posts!

Once the thread calms down again and people start behaving themselves, just choose "Un-Moderate Thread" from the Thread Tools menu and it will be back to normal!

Sounds great! How do I install?

Full installation instructions can be found in the install.txt file inside the zip, but in general:

Step 1) Upload the Product XML as normal

Step 2) Edit the SHOWTHREAD template.

Find:
Code:

<div><label for="ao_rrd"><input type="radio" name="do" id="ao_rrd" value="removeredirect" />$vbphrase[remove_redirects]</label></div>

BELOW this, add:
Code:

<div><label for="ao_mod"><input type="radio" name="do" id="ao_mod" value="moderatethread" /><if condition="$show['moderatethread']">$vbphrase[moderate_thread]<else />$vbphrase[unmoderate_thread]</if></label></div>

That's it, Per-Thread Moderation is now all installed!

To use it, find the thread that you wish to turn Per-Thread Moderation on for, go to the Thread Tools menu, and select the "Moderate Thread" option at the bottom. Once done, all new posts will need to be approved before they appear!

Important: Unfortunately, my leased vBulletin licence has now expired, and I won't be renewing it until September which means I will be unable to reply to this thread, or update this mod until then. I'm hopeful that the great vBulletin.org community will step in to answer any questions in my absence though :) See you all in early September! :D

Alan @ CIT 07-27-2006 06:12 PM

Known Bugs: None!

Guest190829 07-27-2006 06:30 PM

Wow Alan, I get goosebumps just thinking about all the advantages this modification can bring to my forum! Thank alot!

bashy 07-27-2006 07:00 PM

I dont have a need for this yet but im sure i will, before long, I will install it as soon as i upgrade, when 3.6 is official, great idea Alan

albibak 07-27-2006 08:12 PM

Yes good idea, thanks Alan.

eXaulz 07-27-2006 08:34 PM

Woah, this MOD rocks my socks. Very good work.

thedvs 07-27-2006 09:24 PM

will by chance work on 3.5.4 too? :)

Pcparts 07-27-2006 10:31 PM

*pfeww*

I tried installing under 3.5.4. But it gave me a db error. I quicky removed it again, and luckily no damage was done.

I'd surely want to have this installed under 3.5.4.

hambil 07-28-2006 02:57 AM

Can you make it change the thread type, like locking a thread does, so you get a new image for the thread title?

Milad 07-28-2006 04:57 AM

very good Alan


All times are GMT. The time now is 03:16 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.01100 seconds
  • Memory Usage 1,736KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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