The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Is this possible?
Say i wanted to limit a usergroups posts to 10 per month? I figured i could do it with promotions, by moving the users when they'd made 10 posts - but there is no time scale. Once the month ends, and the next starts, i would like the 10 posts to become available again. Cheers. |
#2
|
||||
|
||||
![]() Quote:
|
#3
|
|||
|
|||
![]()
I thought about that but couldn't figure out the sql - any chance of a hand?
|
#4
|
||||
|
||||
![]()
I guess this won't work Colin, he would also have to reset the post counter each month, as otherwiese the users will get promoted to the "over quota" group instantly after 1 post.
|
#5
|
|||
|
|||
![]()
Couldn't the cron job also reset posts?
|
#6
|
||||
|
||||
![]()
Sure, but do you want that?
|
#7
|
|||
|
|||
![]()
Yes.
I want the users to be able to post to 10, get moved to differing "cripple" user group, then after 30 days - reset post to 0 and move back to original usergroup - therby allowing them 10 posts again. |
#8
|
||||
|
||||
![]()
Then you could use the following query:
[sql]update user set posts=0, usergroupid=original where usergroupid in (original, crippled)[/sql] |
#9
|
||||
|
||||
![]()
... and don't forget to exchange original and crippled for the usergroupid's of those usergroups
![]() |
#10
|
|||
|
|||
![]()
Hero
![]() Many thanks Colin. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|