Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Maximum New Threads/Replies per Day Per Usergroup Details »
Maximum New Threads/Replies per Day Per Usergroup
Mod Version: 1.2, by kall (Coder) kall is offline
Developer Last Online: Sep 2016 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.7 Rating: (0 vote - 0 average) Installs: 19
Released: 11 Sep 2004 Last Update: 18 Apr 2005 Downloads: 27
Not Supported DB Changes  

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.)

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
New Posting Features Maximum New Threads/Replies Per X hours Per Usergroup & Forum uae vBulletin 3.8 Add-ons 91 04 Jul 2013 03:17
New Posting Features Maximum New Threads/Replies beebi Modification Graveyard 22 04 Oct 2008 21:21
Maximum New Threads/Replies Per X hours Per Usergroup & Forum uae vBulletin 3.0 Full Releases 17 12 Jan 2007 06:41

Comments
  #2  
Old 12 Sep 2004, 23:14
Freezerator Freezerator is offline
 
Join Date: Dec 2001
Real name: Bas
Sounds really nice this hack, anyone using this without problems?
Reply With Quote
  #3  
Old 14 Sep 2004, 15:39
nhuhuu's Avatar
nhuhuu nhuhuu is offline
 
Join Date: Sep 2004
i think so ! i hoppe problems with me ! thanks
Reply With Quote
  #4  
Old 23 Oct 2004, 11:07
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Real name: Ace
Could an admin/mod please change this thread's title to "Maximum New Threads/Replies per Day Per Usergroup"?

TIA.
__________________
vBulletin Styles (All styles compatible with 3.8.4 - Steel Blue 4.0 Available) | vBulletin Hosting
Reply With Quote
  #5  
Old 23 Oct 2004, 11:43
HiDeo's Avatar
HiDeo HiDeo is offline
 
Join Date: Oct 2003
Nice job thanks
Reply With Quote
  #6  
Old 27 Oct 2004, 23:32
marsauae.com marsauae.com is offline
 
Join Date: Aug 2003
Location: U.A.E / sharjah
Real name: khaled
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
Reply With Quote
  #7  
Old 27 Oct 2004, 23:41
trilOByte's Avatar
trilOByte trilOByte is offline
 
Join Date: Nov 2001
Real name: Martyn
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.
Reply With Quote
  #8  
Old 27 Oct 2004, 23:51
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Real name: Ace
@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.
__________________
vBulletin Styles (All styles compatible with 3.8.4 - Steel Blue 4.0 Available) | vBulletin Hosting
Reply With Quote
  #9  
Old 01 Jan 2005, 06:28
Oreamnos's Avatar
Oreamnos Oreamnos is offline
 
Join Date: Dec 2004
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!
Reply With Quote
  #10  
Old 18 Apr 2005, 22:43
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Real name: Ace
Originally Posted by Oreamnos
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!
You *could* ... you would just need to stick an IF statement around the entire code I add to the various files.

MarcoH64 has released an excellent 'posts per Forum per usergroup' hack...
__________________
vBulletin Styles (All styles compatible with 3.8.4 - Steel Blue 4.0 Available) | vBulletin Hosting
Reply With Quote
  #11  
Old 22 Apr 2005, 06:25
007's Avatar
007 007 is offline
 
Join Date: Jan 2003
Interestingly enough, the code looks very familiar.. lol

Thanks for the credit.

If this was also per forum based.. it would be awesome.
Reply With Quote
  #12  
Old 31 May 2005, 16:43
SFishy SFishy is offline
 
Join Date: Nov 2001
Real name: Amy
Originally Posted by 007
Interestingly enough, the code looks very familiar.. lol

Thanks for the credit.

If this was also per forum based.. it would be awesome.
Very nice hack -- I needed the update (from version 2.x) of this -- nice job!
__________________
Amy

Responsible for mods:
Usernote Info and Link in Postbit for those with Proper Permissions
Reply With Quote
  #13  
Old 01 Jul 2005, 21:07
fridayweb's Avatar
fridayweb fridayweb is offline
 
Join Date: Jun 2002
Screenshots? I'm having a hard time figuring out where the "You may start $nzbpostsremaining more replies today." goes in my newthread & newreply templates. Thanks!
Reply With Quote
  #14  
Old 10 Jul 2005, 07:09
Avi_Goldstein Avi_Goldstein is offline
 
Join Date: Jul 2005
Nice hack.

Can it be used if I am interested to resrict members of a usergroup to One posting per their subscription period, which they are permitted to edit at any time and which will be deleted after their subscription period ends ?

Thank You,

Avi
Reply With Quote
  #15  
Old 10 Jul 2005, 14:35
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Originally Posted by Avi_Goldstein
Nice hack.

Can it be used if I am interested to resrict members of a usergroup to One posting per their subscription period, which they are permitted to edit at any time and which will be deleted after their subscription period ends ?

Thank You,

Avi
Well I installed this for a person and I saw it does not work for secondary groups. Only main.
So your subscription would have to change the main group for this to work.
I dont think Kall will do this for me nor care about vb's mood swings but you can ask and see if he will adjust that for you. OR you can do what you ask with the work around I just stated.
__________________
http://www.t3media.com (Ideas at the speed of thought.)
http://www.sprnch.com social networking!
http://hunterex.com (cellphones super cheap!)
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 13:47.

Layout Options | Width: Wide Color: