![]() |
Limit number of threads in a Forum for a Usergroup
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 |
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... |
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. |
New version 1.01 Uploaded.
Installation now through HIS. Phrases replace by a new Settingroup (groupid 6410) called 'Limit number of Threads in Forum'. |
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... ;) |
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 |
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). |
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 hmm?? |
Rename your install directory back from 'install_' to 'install'
PS The HIS files are packaged in the zip. |
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?
|
It will only work if settings in your ACP are correct:
- It will only work on the forums for which the forumid is in the list of id's in the vBuletin Settings for this hack - AND the user have a primary usergroup that is in the settings for this hack. |
I am pretty sure I have all that right
|
Can you give me a screenprint of your settingspage.
|
Yep sure can. here ya go.
https://vborg.vbsupport.ru/external/2005/02/4.jpg I have registered users, mods, admin all them to where those are thr groups it will limit...idk what the problem is :( :( I really would like this to work.. would it have anythind to do with the fact I am still using 3.03? |
Sorry but i can't see the usergroups in the image you posted.
Forum 5 is the real forum where posting, or a category that holds the forums you want to limit? PS Tried to get you on MSN a few times, but you didn't respond. |
Quote:
|
This one controls the number of new threads :)...
How about also controlling the number of new replays on the old threads? |
I still have not resolved this problem :(
|
Give me a pm about it on monday and i will try to have alook.
|
Just so others will not think there is a problem with this hack: the problem of BigCurt is solved. He didn't make the file edit.
|
Hey the installer brings up SQL errors. Does this work on 3.07?
|
Quote:
Could you be a bit more specific about the error? PS No database changes made by the installer, only some settings/phrases inserted IIRC |
Here is what I get on 3.07:
Code:
Hack Installer System Any ideas? I would love to use this hack. Thanks! |
Hallo
Would you mind if I would translate your hack into german?? 2.) Would it be okay for you if I would post the translation then at www.vbhacks-germany.com ?? Only licensed users may download hacks in this community. If this is not okay for you, I will post the translation here. Yours Markus |
@006
You selected "Generate Files" on the installer screen? That is only for developing a hack, not for installing. |
Quote:
|
Oh sorry Marco! I thought I needed to select that. Will try it again now. Thanks!
That worked. I have an idea for future versions. Instead of having this be setting based, it would be much better if it was forum permission based. That way each forum could have individual maxes set, with individual error messages (entered through a field), and would be specific to usergroups. That would be a lot harder, but also a lot cooler! It's awesome now though, don't get me wrong. Only thing is there are some other forums I'd want to limit too, but not the same amount. |
Quote:
The reason for this is that I think the strenght of the current hack is it's simplicity. Adding settings per forum, would make the hack much more complicated (not a real problem), and much more important it would require many more file edits. So a Lite version like it is now (maybe add maximum replies), and a full version with forum based settings. |
Im wondering if this hack could be used as a basis to write a "Limit number of posts in Thread (depending on forumid)" hack.
|
Yes it could with some tweaking. But i don't have the time right now to look into it.
|
This is exactly what I have been looking for. Thank you. I do have one question:
Does this limit threads within a 24-hour day or calendar day? EDIT: After installing I realized this won't quite do what I need. Perhaps a small modification can do this? I wish to limit all new threads in all forums to one per day with the exception of my Help & Support forum. Is there a simple way to limit posts in all specified forums to X number per day? Currently members can still post one thread in each forum. Thank you. |
If i understand you correct you want only 1 thread/24 hours in any forum except your support forum?
|
Yep, that's right Marco.
The site I'm building allows members to advertise services, hence the limit of one per day in all forums except the support forum. I don't think they'll ask for help if it means using up their one post per day. Thanks |
thank u for this great hack,
I have a Q before install ot, I want to limit new threads in all my forums to 3 threads on a day, (f2 --> 3 new threads, f5 --> 3 new threads, ....) but I want in 3 or 4 forums the limitation number to be 1, is this hack can deal with this? because when I saw a picture in this thread I thought this hack can appliying only one limitation number. thank u |
No you can not set a different limit for each forum
|
so, can u modified it?
|
That would be a major modification to this hack. It would involve setting a limit per forum/usergroup i guess.
I could make it for a small fee. |
PS You can also have a look here: https://vborg.vbsupport.ru/showthread.php?t=81584
|
Any chance of a 3.5/3.6 port? :D
|
Quote:
|
All times are GMT. The time now is 02:05 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|