The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Is there a way to limit the number of posts per day for a user or a group
For example I want the user to be able to post three posts only every day but in the same time he can send any number of replyes. It wuld be even grater if i can restrect the number of replies For example the user can send 3 posts and 10 replies |
#2
|
|||
|
|||
![]()
I haven't looked at the code of vBulletin for about a year now, but this would be the theory behind it.
select count(*) from table where date="donnodateformat" and username="$username"; mysql_query(...) if(mysql_num_rows($result) = 3){ print "sorry dude, you've had your 3 posts."; } else { leave the posting code in there that is already there... } You'll have to go through and look up the details like the table name and there columns etc - but that would be a basic approach to work on. |
#3
|
|||
|
|||
![]()
Thank you very much Michael
I hope some one will be able now to put theory into practice ![]() ![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|