![]() |
Maximum New Threads/Replies per Day Per Usergroup
Hack Name: Maximum New Threads/Replies per Day Per Usergroup
Hack Version: 1.2 Hack Author: Kall Release: 11 September 2004 Last Update: 19 April 2005 Description: Restricts specific Usergroups to a maximum number of new threads/replies per defined time (in hours). Requested by: Several people on vb.org. Credit for the base of the code goes to 006, from his 'Require X Posts per Day to play in Arcade' hack. Files to edit: 3 (/admincp/usergroup.php, newthread.php and newreply.php) New Phrases: 1 Other edits: 4 queries to run. Update to v1.15: Added ability to restrict New Replies per Usergroup, corrected query. If you installed it prior to this edit, please re-download and apply the newthread modification block again. Update to v1.2: Made all variables unique (appeneded $nzb to the front of each, so as to avoid conflicts with any other hacks). Added template modifications to inform members of number fo new threads/replies remaining. It actually works on newthread for versions above 3.0.4 now! (I had no idea. Sorry.) |
Sounds really nice this hack, anyone using this without problems?
|
i think so ! i hoppe problems with me ! thanks
|
Could an admin/mod please change this thread's title to "Maximum New Threads/Replies per Day Per Usergroup"?
TIA. :) |
Nice job thanks ;)
|
Thank you for anice hack
but ihave error with Database Database error in vBulletin 3.0.3: Invalid SQL: UPDATE usergroup SET ### UPDATE QUERY GENERATED BY fetch_query_sql() ### title = 'Administrators', description = '', usertitle = 'Administrator', opentag = '', closetag = '', passwordexpires = '180', passwordhistory = '360', maxnewthread = '0', maxnewtime = '0', maxnewpost = '1', maxnewposttime = '1', attachlimit = '0', avatarmaxwidth = '80', avatarmaxheight = '80', avatarmaxsize = '20000', profilepicmaxwidth = '100', profilepicmaxheight = '100', profilepicmaxsize = '65535', pmquota = '50', pmsendmax = '5', forumpermissions = '393215', pmpermissions = '3', calendarpermissions = '31', wolpermissions = '31', adminpermissions = '3', genericpermissions = '4194239', genericoptions = '31' WHERE usergroupid=6 mysql error: Unknown column 'maxnewposttime' in 'field list' mysql error number: 1054 |
Can this be applied to a single forum rather than the whole board?
It might be just what I'm looking for to restrict postings to a "trader sales" forum, to stop a particular member monopolising the forum. |
@marsauae.com: You have done something wrong. At a guess, you haven't run the database query to add that column.
trilObyte: most likely. Some form of check at the beginning like: if !(forumid) then do this script. I can have a look at it over the next few days, but am a bit busy at present. If anyone wants to do this addition, that's cool too. I'll add it to the first post and credit your contribution. |
kall,
this might be THE hack i need. I have one question: Can I restrict the Max number of threads to a particular forum? Thanks! |
Quote:
MarcoH64 has released an excellent 'posts per Forum per usergroup' hack... |
All times are GMT. The time now is 12:39 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|