Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Auto Move Threads Based On Ratings Details »»
Auto Move Threads Based On Ratings
Version: 1.00, by paul41598 paul41598 is offline
Developer Last Online: Jun 2013 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.4 Rating:
Released: 03-26-2007 Last Update: Never Installs: 19
 
No support by the author.

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!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 03-27-2007, 10:57 PM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 03-27-2007, 10:59 PM
paul41598's Avatar
paul41598 paul41598 is offline
 
Join Date: Jun 2004
Location: MI
Posts: 732
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 03-28-2007, 01:01 AM
TomasDR TomasDR is offline
 
Join Date: Feb 2006
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 03-28-2007, 01:37 AM
paul41598's Avatar
paul41598 paul41598 is offline
 
Join Date: Jun 2004
Location: MI
Posts: 732
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TomasDR View Post
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.
Reply With Quote
  #6  
Old 03-28-2007, 06:57 AM
Atakan KOC's Avatar
Atakan KOC Atakan KOC is offline
 
Join Date: Feb 2006
Location: Istanbul
Posts: 710
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice idea... Thanks....
Reply With Quote
  #7  
Old 04-25-2007, 10:17 AM
anzo's Avatar
anzo anzo is offline
 
Join Date: Sep 2005
Location: Latvia
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TomasDR View Post
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!
Reply With Quote
  #8  
Old 07-17-2007, 05:30 AM
jasculs jasculs is offline
 
Join Date: Jun 2007
Posts: 217
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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
Reply With Quote
  #9  
Old 08-24-2007, 12:13 PM
rainyleaves rainyleaves is offline
 
Join Date: Mar 2004
Posts: 227
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jasculs View Post
I could use this also
Me too!!!
Reply With Quote
  #10  
Old 09-08-2007, 03:22 PM
smapdi smapdi is offline
 
Join Date: Dec 2006
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:50 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.04763 seconds
  • Memory Usage 2,293KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete