PDA

View Full Version : Moderators Functions - Per-Thread Moderation


Alan @ CIT
07-26-2006, 10:00 PM
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:
<div><label for="ao_rrd"><input type="radio" name="do" id="ao_rrd" value="removeredirect" />$vbphrase[remove_redirects]</label></div>

BELOW this, add:
<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

snowlion
07-28-2006, 06:44 AM
wow great mod, thank Alan

Alan @ CIT
07-28-2006, 06:52 AM
Thanks for installing and for the kind works all :)

3.5.4: It may or may not work on 3.5.4, I'll be honest, I haven't tested it. In order for it to install you will need to edit the Product XML and remove "executionorder=5" from each of the plugins (4 in total).

Hambil: Shouldn't be a problem. However, my graphic design skills are limited at best, so if someone would like to create a new icon and post it here, I will add it in :)

Thanks,
Alan.

Terminatoronly
07-28-2006, 07:37 AM
thanks alan but i have a question does this work with vb3.6 rc2

Alan @ CIT
07-28-2006, 07:58 AM
I've only tested it on 3.6 RC1, but there is no reason why it shouldn't work on RC2 or RC3.

Thanks,
Alan.

Terminatoronly
07-28-2006, 08:14 AM
ok good this is good thanks alan (installed) :D

HC.
07-28-2006, 10:18 AM
this should be a standard feature in VB.
GREAT WORK

Snake
07-28-2006, 12:16 PM
That's great. Thanks! :)

Alan @ CIT
07-28-2006, 05:34 PM
this should be a standard feature in VB.

Agreed :D

Thanks,
Alan.

Pcparts
07-29-2006, 09:33 AM
3.5.4: It may or may not work on 3.5.4, I'll be honest, I haven't tested it. In order for it to install you will need to edit the Product XML and remove "executionorder=5" from each of the plugins (4 in total).

Thanks Alan, this worked for me. :)


great mod.

*Installs*

Alan @ CIT
07-29-2006, 02:12 PM
Good to hear you got it working, and thankyou for installing :)

Thanks,
Alan.

goodwillstacy
07-31-2006, 03:20 AM
If there was a bow down smilie, I would be using it right now. Thank you so much for this. This is EXACTLY what my forum needed! Now I don't have to worry that my users have already gotten the subscription e-mail b/c they are subscribed to the thread & someone has just ripped them a new one. This will eliminate the need to delete whole threads as well.
THANK YOU!!!!!!
stacy

cavyspirit
08-06-2006, 07:35 PM
This is great. I clicked installed.

Now, is there any way to know that this thread is on moderation? Ideally, a different status icon would be cool.

redlabour
08-08-2006, 07:55 PM
Thanks but this Hack is useless at the Moment.

The User who has posted did not get any Information about the Moderation. And then ? Spam after trying and trying to send his postings.

cavyspirit
08-08-2006, 10:43 PM
Thanks but this Hack is useless at the Moment.

The User who has posted did not get any Information about the Moderation. And then ? Spam after trying and trying to send his postings.

What are you referring to regarding spam? I have it working no problem. Not aware of any spam.

Currently, if we put a thread on moderation, we create a post at that point in time that SAYS we are putting this post on moderation for everyone. Works just fine as far as I can see.

mrkhm
10-18-2006, 04:32 AM
*big up yourself! Nice one!

Veer
10-23-2006, 07:20 PM
Thanks for this. :)

Nathan2006
11-05-2006, 10:23 PM
Thank you Alan

Install :)

Handbag
12-05-2006, 09:27 AM
Nice idea, but what stops one of the participants from just starting up a new thread which won't be moderated? Instead of chasing posts and quotes, you end up chasing threads instead :)

NIce execution nevertheless :)

cddw.ltd
12-05-2006, 12:13 PM
In the threadbit I'm currently playing around with using this code -

<if condition="$show['moderated']"><span class="smallfont">(This thread is been moderated)</span>

Edit : that shows up to Admins, but not normal members :(

The Librarian
04-13-2007, 04:06 PM
I know this hack is unsupported now, but I really need this so I've installed it. (3.6.5) It seems to work fine, except that the poster gets this message:

Invalid Post specified. If you followed a valid link, please notify the administrator

after clicking "submit" to the moderated thread.

The post is still there, and it goes to the Moderated queue as it should, but that error message is a problem.

Does anybody know how to fix this? I'd really appreciate the help.

Thanks!

The Librarian
04-13-2007, 04:34 PM
uninstalled

yaworski
04-18-2007, 04:22 PM
To fix the problem with no message displayed to the user that the post he/she posted a second earlier needs to be accepted by moderator just do this:
1. Open admincp and go to Plugin&Products->Plugin Manager.
2. Find 'Per-Thread Moderation :: Post Saving' plugin and edit it.
3. Find:

$dataman->set('visible', 0);

and add after it

$post['visible'] = 0;


The plugin code should look like this

if (($type == 'reply') AND ($threadinfo['moderated'] == 1) AND (!can_moderate($foruminfo['forumid'])))
{
$dataman->set('visible', 0);
$post['visible'] = 0;
}


This just uses vB build-in code to display the message.

The Librarian
04-18-2007, 04:37 PM
To fix the problem with no message displayed to the user that the post he/she posted a second earlier needs to be accepted by moderator just do this:
1. Open admincp and go to Plugin&Products->Plugin Manager.
2. Find 'Per-Thread Moderation :: Post Saving' plugin and edit it.
3. Find:

$dataman->set('visible', 0);

and add after it

$post['visible'] = 0;


The plugin code should look like this

if (($type == 'reply') AND ($threadinfo['moderated'] == 1) AND (!can_moderate($foruminfo['forumid'])))
{
$dataman->set('visible', 0);
$post['visible'] = 0;
}


This just uses vB build-in code to display the message.

Thanks for this! It will be good if I decide to try re-installing this mod.

I really could use this mod, but my forum started acting wonkey after installing it. I saw two things: 1) users in one of my usergroups suddenly seemed to have access to private forums :eek: and 2) linking to old existing threads started giving "thread not found" messages. It was weird because the threads ARE there and the links SHOULD have worked.

It may not have had anything to do with this mod, but it coincided with installation so I've just uninstalled it for now and will try again later if I find that I really need it.

Thanks again.

yaworski
04-18-2007, 05:09 PM
Thanks for this! It will be good if I decide to try re-installing this mod.

I really could use this mod, but my forum started acting wonkey after installing it. I saw two things: 1) users in one of my usergroups suddenly seemed to have access to private forums :eek: and 2) linking to old existing threads started giving "thread not found" messages. It was weird because the threads ARE there and the links SHOULD have worked.

It may not have had anything to do with this mod, but it coincided with installation so I've just uninstalled it for now and will try again later if I find that I really need it.

Thanks again.

I checked the code and I didn't find anything that might did this to your board. This product consists only of 4 plugins and there is really small amount of code in them. It also adds additional column in thread table called moderated and that's all.

The only problem I have is not with the plugin itself but with the vB. This also happens on moderated forums so this has nothing to do with this mod. When I use quick reply in moderated thread/forum then the new post appears without any information to the user. But the post only appears to the user who posted it. It actually is placed in moderation queue and is invisible until accepted.

The Librarian
04-18-2007, 05:23 PM
I checked the code and I didn't find anything that might did this to your board. This product consists only of 4 plugins and there is really small amount of code in them. It also adds additional column in thread table called moderated and that's all.
I know. That's what so weird about it. I told my fellow Admin that I just didn't believe this mod caused the problems but we were so freaked that folks were able to see in that private forum that we decided "better safe than sorry."

The only problem I have is not with the plugin itself but with the vB. This also happens on moderated forums so this has nothing to do with this mod. When I use quick reply in moderated thread/forum then the new post appears without any information to the user. But the post only appears to the user who posted it. It actually is placed in moderation queue and is invisible until accepted.
hmmm... that's weird.

I just don't get why vB doesn't have this moderated thread feature built-in. It's just so very useful. It seems like most of the time a thread starts out alright and then decends into heated debate. It's just really necessary sometimes to step in and slow things down, but you don't always want to lock a thread and quell discussion completely.

I guess I need to submit this to vB as a "suggested feature" in future versions.

Thanks again for your help. I'm probably going to attempt to install it again after updating to the new vB version so I'll need that info.

mhammed
04-19-2007, 04:45 AM
Hambil: Shouldn't be a problem. However, my graphic design skills are limited at best, so if someone would like to create a new icon and post it here, I will add it in :)

Thanks,
Alan.

perhaps something like that

sonata
06-08-2007, 07:10 AM
Thanks. Works great. Installed it on my forum(version 3.6.5). It would be nice if those moderated threads can be list down in the admincp.