The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Limit number of threads in a Forum for a Usergroup Details »» | |||||||||||||||||||||||||||
Limit number of threads in a Forum for a Usergroup
Developer Last Online: Dec 2010
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
|
Comments |
#22
|
||||
|
||||
Hey the installer brings up SQL errors. Does this work on 3.07?
|
#23
|
|||
|
|||
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 |
#24
|
||||
|
||||
Here is what I get on 3.07:
Code:
Hack Installer System Limit Number of Threads in Forum templates.php (Save This File) <?php // Templates Warning: Invalid argument supplied for foreach() in /his_files/hack_creator_b2.php on line 160 ?> phrases.php (Save This File) <?php // Phrases Warning: Invalid argument supplied for foreach() in /his_files/hack_creator_b2.php on line 202 ?> Warning: halt(./includes/functions_log_error.php): failed to open stream: No such file or directory in .../includes/db_mysql.php on line 389 Warning: halt(): Failed opening './includes/functions_log_error.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in .../includes/db_mysql.php on line 389 There seems to have been a slight problem with the AuctionSightings.com database. Please try again by pressing the refresh button in your browser. An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists. We apologise for any inconvenience. Database error in vBulletin 3.0.7: Invalid SQL: SELECT varname, text FROM phrase WHERE varname IN () ORDER BY languageid DESC mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY languageid DESC' at line 1 mysql error number: 1064 Any ideas? I would love to use this hack. Thanks! |
#25
|
|||
|
|||
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 |
#26
|
|||
|
|||
@006
You selected "Generate Files" on the installer screen? That is only for developing a hack, not for installing. |
#27
|
|||
|
|||
Quote:
|
#28
|
||||
|
||||
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. |
#29
|
|||
|
|||
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. |
#30
|
||||
|
||||
Im wondering if this hack could be used as a basis to write a "Limit number of posts in Thread (depending on forumid)" hack.
|
#31
|
|||
|
|||
Yes it could with some tweaking. But i don't have the time right now to look into it.
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|