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

Reply
 
Thread Tools
Maximum New Threads/Replies Per X hours Per Usergroup & Forum Details »»
Maximum New Threads/Replies Per X hours Per Usergroup & Forum
Version: 1.0.3, by uae uae is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.6.8 Rating:
Released: 09-24-2005 Last Update: 11-03-2007 Installs: 143
DB Changes Uses Plugins
Re-useable Code Translations  
No support by the author.

Maximum New Threads/Replies Per X hours Per Usergroup & Forum Hack

Port of: https://vborg.vbsupport.ru/showthread.php?t=81584
  • Description
    Control Maximum Number of New Threads and/or Reply allowed per Usergroup and Forum per defined time (in hours).
  • Details
    1 Product XML with 4 Plugins, and 5 Phrases
  • Install
    To install this hack simply download the xml file to your pc and then import it into vbulletin as a product - then from your ADMINCP go to Forums & Moderators -> Forum Permissions -> Whatever usergroup in any forum.
  • History
    1.0.0 on 25. Sep 2005
    Initial Version for vBulletin 3.5

    1.0.1 on 7. Nov 2005
    Fixed bug with this
    -> to upgrade, import product-max_thread_post_per_xhour.xml and set Allow Overwrite to yes

    1.0.2 on 7. Feb 2006
    Fixed bug with this
    -> to upgrade, import product-max_thread_post_per_xhour.xml and set Allow Overwrite to yes

    1.0.3 on 4. Nov 2007
    No changes, just a version # update for vb 3.6.8
    -> to upgrade, import product-max_thread_post_per_xhour.xml and set Allow Overwrite to yes

Download Now

File Type: xml product-max_thread_post_per_xhour_35.xml (6.8 KB, 62 views)
File Type: xml product-max_thread_post_per_xhour_36.xml (7.1 KB, 424 views)

Screenshots

File Type: gif max_post_thread.gif (56.6 KB, 0 views)

Show Your Support

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

Comments
  #52  
Old 06-12-2007, 11:50 AM
baghdad4ever baghdad4ever is offline
 
Join Date: Apr 2007
Location: baghdad
Posts: 443
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

2 questions

1- is it work on 3.6.7 pl1???

2- i want this hack per forums only

thanks
Reply With Quote
  #53  
Old 06-19-2007, 09:48 AM
Basboss Basboss is offline
 
Join Date: Aug 2005
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is working fine with my 3.6.7 pl1 forums.
Reply With Quote
  #54  
Old 06-19-2007, 03:50 PM
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Posts: 4,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by baghdad4ever View Post
2 questions

1- is it work on 3.6.7 pl1???

2- i want this hack per forums only


thanks
1. Yes
2. Thats what it does
Reply With Quote
  #55  
Old 10-22-2007, 01:26 AM
Kalina's Avatar
Kalina Kalina is offline
 
Join Date: Mar 2005
Location: Canada
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This plugin has been fine for me til today, I am running vBulletin 3.6.8 Patch Level 1. Now, ALL my forums that aren't set for this plugin, the ones left at "0" for all 4 fields, well now it's literally not letting anyone post a thread or reply except for once per hour, for select forums only.

Any idea why it would suddenly do this?
Reply With Quote
  #56  
Old 11-08-2007, 03:26 PM
baghdad4ever baghdad4ever is offline
 
Join Date: Apr 2007
Location: baghdad
Posts: 443
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i want this hack per forums only

not per usergroup/forum

bec i had 20 usergroups and 100 forums

so it is hard to edit all user group in all forums
Reply With Quote
  #57  
Old 11-11-2007, 09:27 AM
Subah's Avatar
Subah Subah is offline
 
Join Date: Feb 2006
Location: KUWAIT
Posts: 393
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks
Reply With Quote
  #58  
Old 01-30-2008, 01:55 PM
punchbowl punchbowl is offline
 
Join Date: Nov 2006
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kalina View Post
This plugin has been fine for me til today, I am running vBulletin 3.6.8 Patch Level 1. Now, ALL my forums that aren't set for this plugin, the ones left at "0" for all 4 fields, well now it's literally not letting anyone post a thread or reply except for once per hour, for select forums only.

Any idea why it would suddenly do this?
did you add the casino mod? that's what did it for me
Reply With Quote
  #59  
Old 01-30-2008, 02:37 PM
Kwikms Kwikms is offline
 
Join Date: Jul 2004
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vb 3.6.8 - doesnt work for me

no error. I put in

Maximum New Threads 2 Enter time period here (in hours) 1

Maximum New Posts 3 Enter time period here (in hours) 1

for administrator in an admin-only forum. Nothing happens, I can post as much as I want.

What could be wront here?

EDIT: - I tried another usergroup in another forum and it works. maybe it's because of the admin-status.
Reply With Quote
  #60  
Old 01-30-2008, 02:49 PM
Forum Lover Forum Lover is offline
 
Join Date: Jun 2007
Location: Sydney
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is it 3.7 friendly?
Reply With Quote
  #61  
Old 01-30-2008, 05:47 PM
Kwikms Kwikms is offline
 
Join Date: Jul 2004
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
	$sql = $db->query_first("SELECT count(*) as totalpost FROM " . 
			TABLE_PREFIX . "post as p LEFT JOIN " . TABLE_PREFIX . "thread as t 
			ON (p.threadid = t.threadid) WHERE p.parentid > 0 
			AND p.dateline >= $maxtime 
			AND t.forumid IN ($fids) 
			AND p.userid = " . $vbulletin->userinfo['userid'] . " 
			");

		if ($sql['totalpost'] >= $result['maxpost']) {
I'd love to see

Quote:
You may only make {1} replies every {2} hours. Please come back in about {3} hours.
Shouldnt be to hard to get this information out of this query, but I dont know how. Any ideas?
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 12:34 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08608 seconds
  • Memory Usage 2,338KB
  • Queries Executed 26 (?)
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_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete