Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Limit number of threads in a Forum for a Usergroup Details »»
Limit number of threads in a Forum for a Usergroup
Version: 1.00, by Marco van Herwaarden Marco van Herwaarden is offline
Developer Last Online: Dec 2010 Show Printable Version Email this Page

Version: 3.0.5 Rating:
Released: 01-20-2005 Last Update: 01-20-2005 Installs: 15
 
No support by the author.

Maximum Threads per Forum - Version 1.01

Description
With this mini-mod it is possible to limit the number of threads a user can make in certain forums. Optional only the number of posts made in the previous x days count for this maximum.

This hack was written based on a request made here previously: https://vborg.vbsupport.ru/showthread.php?t=74670

Tested on
- vB 3.0.6 (Will probably also work on earlier 3.0.x versions)

Install Information
Installation using HIS installer included (HIS by Link14716 https://vborg.vbsupport.ru/showthrea...staller+system)
Uninstaller included
Install time: 3 minutes, easy
File edits: 1
Template edits: 0

Features
- Multiple UsergroupId's can be set that should be limited.
- Multiple ForumId's can be set. Max number of threads is counted for every forum seperate.
- Optional the number of threads to limit to can be set, default is 1.
- Optional the time frame in days, in which to count previous threads can be set. Default is no timelimit.

Known limitations
- Secondary (member) Usergroups are not taken in account.

Support
Support will be given in this thread or on www.vbulletin.nl

History
Version 1.01:
- Phrases replaced by Settings
- HIS Installer included

Additional Info
I will not charge for this hack. But if you like it and are looking for a way to spend your money, paypal donations are always welcome (marcoh64@msn.com)

Please click Install if you are using this hack

Show Your Support

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

Comments
  #2  
Old 01-21-2005, 12:21 PM
nexialys
Guest
 
Posts: n/a
Default

hum.. strange:

phrases are for text
settings are for settings...

so why did you create 4 settings in phrase variables ?!

there is a protocol here that help you create new setting groups, and then create some settings in it.... would be more efficient to do so... a simple sql query to create all this in a simple install file, or the query itself,..

for now, this hack is really strange...
Reply With Quote
  #3  
Old 01-21-2005, 12:27 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well you're right. This should go into settings. Being this a mini-mod on request, i didn't want to spend time to put together the installer.

But you're right, better do it the proper way.

Since nobody have installed it yet, i will remove the file for now and replace it later today with a version that uses settings.
Reply With Quote
  #4  
Old 01-21-2005, 02:00 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

New version 1.01 Uploaded.

Installation now through HIS.

Phrases replace by a new Settingroup (groupid 6410) called 'Limit number of Threads in Forum'.
Reply With Quote
  #5  
Old 01-21-2005, 04:55 PM
nexialys
Guest
 
Posts: n/a
Default

ah, now this is good... (cheers MarcoH64!)

i would recommend this hack to anybody that have a forum that is based on clients applyances or services requests...
Reply With Quote
  #6  
Old 01-21-2005, 07:19 PM
hockyfan hockyfan is offline
 
Join Date: Mar 2003
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just to be sure I'm clear on this one, I can set a limit, so each day a user can only make X amount of threads in a forum? And this will "reset", every day?

h
Reply With Quote
  #7  
Old 01-21-2005, 08:05 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well it is still a bit limited. But the request was limited.

If there are people asking for it, settings could be per forum i think (diffirent usergroups/limits per forum).
Reply With Quote
  #8  
Old 01-22-2005, 01:28 AM
bigcurt's Avatar
bigcurt bigcurt is offline
 
Join Date: Nov 2004
Location: KierDarby.php
Posts: 1,009
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello, thank you SOOOOOOOOO Much for releasing this hack...I have a problem though . I put the files in install...then when I go to it and try to install this pops up.

Code:
Warning: main(./install/his_files/hackfunctions_b3.php): failed to open stream: No such file or directory in /install_/his_files/hack_install_b3.php on line 34

Fatal error: main(): Failed opening required './install/his_files/hackfunctions_b3.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/bigcurt/public_html/forum/install_/his_files/hack_install_b3.php on line 34
Any suggestions? I dont have the HIS system...but I dont go to his folder I just go to hack_install.

hmm??
Reply With Quote
  #9  
Old 01-22-2005, 08:09 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Rename your install directory back from 'install_' to 'install'

PS The HIS files are packaged in the zip.
Reply With Quote
  #10  
Old 01-22-2005, 08:48 PM
bigcurt's Avatar
bigcurt bigcurt is offline
 
Join Date: Nov 2004
Location: KierDarby.php
Posts: 1,009
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello, ok I have installed it but it doesnt work . I got 3 of my members to try and make a new thread and they tried 3 times and all 3 it popped up any suggestions...is it workin for anyone else?
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 01:35 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.04418 seconds
  • Memory Usage 2,289KB
  • Queries Executed 23 (?)
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
  • (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
  • (2)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
  • (8)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_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