PDA

View Full Version : Miscellaneous Hacks - Auto Move Threads Based On Ratings


paul41598
03-26-2007, 10:00 PM
Auto Move Threads Based On Ratings :)

No LITE/PREMIUM version on this hack. 100% free.

Description:
- This version of "Auto Move Threads Based On Ratings" allows you to automatically have threads moved based on certain rating averages.

Features:
Fully Customizable AdminCP Options
Ability To Turn On System
Forum ID's To Pull Threads From
Protect Specific User's From Threads Being Moved (Admins, etc)
Rating Threshold Value Choice


Installation:
1.) Upload automovethread_rating.php to includes/cron directory
2.) Upload Product
3.) Create Cron Job (BELOW)
4.) Don't Forget To Create A Recycle Bin Forum!
5.) Enjoy Release

Cron Job Instructions:
AdminCP -> Scheduled Tasks -> Add New Scheduled Task
Varname: automovebasedonrating
Title: Auto Move Threads Per Rating
Description: This script automatically moves threads to recycle bin once per week based on ratings
Day Of The Week: Monday (or whenever you want)
Hour: Whatever you want
Log Entries: Yes
Filename: ./includes/cron/automovethread_rating.php
Product: Select Auto Move Threads Based On Rating's

Please Note: This hack uses a cron that runs once a week to select threads with less than x rating average and move them to a recycle forum.
Basically it clears up the garbage threads that have low ratings.

Its very beta, but tested pretty heavily. I will try to support as much as I can, but use at your own risk. Thanks!

FleaBag
03-27-2007, 10:57 PM
Wow, I hadn't even thought about this. Brings a whole new level of user interaction into play. Running with multiple forums I could impliment a 'Digg' type system! Definately installed. Thank you. :)

paul41598
03-27-2007, 10:59 PM
Yup, I never thought about it until my co-admin said something like "hey dude, we need to alleviate some of these garbage threads with 1 star ratings. Move them into some recycle bin type forum where users posts counts don't count towards the user, even if they respond in that recycled forum" I thought it was a great idea, and ratings are such a big part of community forums, its nice to move the crap ones elsewhere.

Thats why I coded this. ;)

TomasDR
03-28-2007, 01:01 AM
I could definitely use the reverse of this hack whereas 4.70-5.0 star threads are moved to a highlight forum rather then making them stickies.

Is there any check for the number of votes? Or does it just run on all threads matching the rating number.

paul41598
03-28-2007, 01:37 AM
I could definitely use the reverse of this hack whereas 4.70-5.0 star threads are moved to a highlight forum rather then making them stickies.

Is there any check for the number of votes? Or does it just run on all threads matching the rating number.
it checks for any threads with a rating basically, if they are less than the threshold level, they are moved.

Atakan KOC
03-28-2007, 06:57 AM
Nice idea... Thanks....

anzo
04-25-2007, 10:17 AM
I could definitely use the reverse of this hack whereas 4.70-5.0 star threads are moved to a highlight forum rather then making them stickies.I second that. Can we have this hack? Pleeeease! :)

jasculs
07-17-2007, 05:30 AM
I could definitely use the reverse of this hack whereas 4.70-5.0 star threads are moved to a highlight forum rather then making them stickies.

Is there any check for the number of votes? Or does it just run on all threads matching the rating number.

I could use this also

rainyleaves
08-24-2007, 12:13 PM
I could use this also
Me too!!!

smapdi
09-08-2007, 03:22 PM
I really love the idea of this hack. Do I understand correctly though if 1 user votes a thread below my threshold - the thread will be moved? If so doesn't this get abused?

I would like to see a number of votes threshold - in other words the thread rating must be below my threshold and at least X users must have rated the thread.

Update: I installed this anyway to test and nothing seems to be happening when I manually run the scheduled task. In the options I have the system enabled, I have a CSV of nearly every forum ID, a valid recycle bin ID, only 2 Admin users protected via CSV, and rating threshold of 2.00. I tested rating a few posts 1 or 2, running the cron job and nothing happens. Any help?

Update 2: evidently a post needs to have more than 1 vote before it is moved. Mod is working perfectly! Thanks.

JohnBee
09-27-2007, 11:45 AM
This is a wonderful idea! Any chance it could leave a redirector in the move process?

LilSniper
03-23-2008, 04:31 AM
This work for 3.6.7?

OcR Envy
06-13-2008, 10:17 AM
Love a mod that did this based on poll results.

TazeredBlackMan
06-16-2008, 03:43 AM
This definitely needs to be done in reverse! Where threads get pulled from a certain forum if they have a high rating and put into another forum.

Is it possible to have both featured on this? That would be awesome.

Macindy
02-24-2010, 06:01 AM
Will be there a vb4 version?