Advertisement:

minimum post/quota mod

Aloittaja Chainsaw, elokuu 06, 2007, 08:37:13 IP

« edellinen - seuraava »

Chainsaw

On my forum we have a policy that every member has to make a certain amount of posts in a 3 month time frame; or they are downgraded to a time out membergroup until they make that quota.

is there a mod that could do this automatically based on set time limits and post count?



This might be the wrong board. If so, I apologize for my noobish ways.

H

I don't believe there is a mod which does this however I've moved this topic to Mod Requests in case anyone is interested in writing one.
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

Chainsaw


elfishtroll

this seems like something best served by a CRON JOB?

setup to run every month or two, 1st variables setup the minimum post quota stuff, the rest define the "time out membergroup" and also maybe exceptions?

it could and probably use a table

username
lastRunDate
BoardID
postCount

and, each month, scan through each username and add up the post count then match it against last months (or whatever the cycle was) postcount

it could then trigger one or more actions, email, suspension, new group.

You may probably want to limit the scanning so your Admins or special accounts not get caught up in this.

For instance, I have basic user accounts with different membergroups and settings. As to be expected, they dont post a lot! :P

Advertisement: