Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
Replies/Threads Ratio Hack Details »»
Replies/Threads Ratio Hack
Version: 1.00, by tnguy3n tnguy3n is offline
Developer Last Online: Sep 2010 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.0.7 Rating:
Released: 04-10-2005 Last Update: Never Installs: 13
DB Changes
 
No support by the author.

Title: Replies/Threads Ratio Hack aka Critique/Submission Ratio Hack
Author: tnguy3n (Thinh Nguyen)
Support Site: http://www.all4a-designs.com
Live Demo: http://www.all4actions.net (check Xmas Story Contest forum)

Description:
This hacks allows you to turn one specific forum into a critique/submission forum with replies/newthread (critque/submission) restraint. It is useful for sites that hosting contests or allowing article submissions and there're problems with users submit more than the others or users keep submitting articles, but not criticize on others' submissions and this hack will ensure that won't happen.
Thanks to Rebecca217 for generously sharing this hack with vb community.

Features:
- Specify which forum to be critique forum
- Allows admin to exclude certain usergroups
- Checks the member's reply/thread ratio and either permits or denies permission to create a new thread
- If the ratio is too low, gives an error message explaining that they need to bring the ratio up before they can post
- Performs this check each time - so any changes in the member's ratio are reflected in their permissions
- Allows admin to enable/disable maxthread in a period of time. If maxthread is disabled, users can make unlimited number of thread WITHIN set ratio.
- Enable/disable time period. Perform ratio checks for replies/threads from a certain date that admin set (static date) to prevent some of the former leechers from having to overcome significant ratios. If this feature enabled, users can make unlimited threads, but must be within assign replies/threads ratio.

To change settings, go to AdminCP -> vBulletin Options -> Ratio Hack Settings
Tested in vb 3.0.7.

New Settings: 8 (run queries)
New Phrase: (run queries)
Template mod: 0
File mod: 1 (1 change)
Installation Time: 4-5 mins

Show Your Support

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

Comments
  #2  
Old 04-11-2005, 04:11 PM
Deaths Deaths is offline
 
Join Date: Oct 2004
Location: Europe, Belgium
Posts: 679
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice!

/me installs
Reply With Quote
  #3  
Old 04-11-2005, 04:57 PM
Polo's Avatar
Polo Polo is offline
 
Join Date: Jun 2004
Posts: 893
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

3 mods in a row, good job, you are on fire! lol

thanks for sharing with the community
Reply With Quote
  #4  
Old 04-11-2005, 07:13 PM
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Location: United Kingdom
Posts: 1,833
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I ran the querys, did the file edit, and edited the options in the options section. I made it so that even admins have to go by the rule

But when making a new thread, it lets me do it, no warning message or anything.

The forum ID is 7 and has loads of sub forums inside, dont know if that makes a difference or not
Reply With Quote
  #5  
Old 04-11-2005, 07:41 PM
Allan's Avatar
Allan Allan is offline
 
Join Date: Jun 2003
Location: France
Posts: 1,513
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice tnguy3n , click install
Reply With Quote
  #6  
Old 04-11-2005, 08:03 PM
tnguy3n's Avatar
tnguy3n tnguy3n is offline
 
Join Date: May 2003
Location: U of I, Iowa
Posts: 846
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MindTrix
I ran the querys, did the file edit, and edited the options in the options section. I made it so that even admins have to go by the rule

But when making a new thread, it lets me do it, no warning message or anything.

The forum ID is 7 and has loads of sub forums inside, dont know if that makes a difference or not
thanks Allan.

@ MindTrix: it works in parent forumid 7, not subs cuz their forumid is not 7
Reply With Quote
  #7  
Old 04-11-2005, 10:47 PM
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Location: United Kingdom
Posts: 1,833
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah but its not working in forum id 7. Everytime i post a thread it does it perfect without any questions asked.
Reply With Quote
  #8  
Old 04-12-2005, 01:10 AM
tnguy3n's Avatar
tnguy3n tnguy3n is offline
 
Join Date: May 2003
Location: U of I, Iowa
Posts: 846
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can you post screenshot of your Ratio Hack setting? I've tested this hack on vb 3.0.3 & 3.0.7, not guarantee that it would work smooth in early versions.
Reply With Quote
Reply

Thread Tools

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 11:07 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.08717 seconds
  • Memory Usage 2,261KB
  • Queries Executed 21 (?)
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
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)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_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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete