The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Auto Prune Users...
...I'd like to be able to have the prune users option run once a day.
we have a policy on my site. you need to visit at least once every 30 days, and you need to at least post once every 45 days. phpBB had something called BanTron (i think) that i used before making the switch to VB. it did this for me automatically. i see that in the prune users option in the ACP, you can del users that have not logged on in XX days... but nothing about posting. additionally, it can't be set to automatic. if someone would be interested in creating a hack that would del users based on time from last login, and time from last post, and have it be automatic so that an admin could set it to scan every X days, that would be awesome. in addition, in a perfect world, it would also send the admin(s) either a PM or an email that listed the username of anyone who was deleted, and why (e.g. "User JoeBlow was deleted for not posting in the last 45 days). anyone interested? |
#2
|
||||
|
||||
Just make a php file and put it in your includes/cron/ directory, then setup a cronjob in vB to run every day.
However you would need to use the admin functions to properly delete the user so that things like subscriptions & PMs are deleted and other things are changed correctly. |
#3
|
|||
|
|||
Um....I think he was looking for someone to make the code in a php file.
|
#4
|
|||
|
|||
i'm unfamiliar with cron jobs. sorry. i've never had to use one before so i'm not sure how i would create one for this particular purpose.
i'm also not sure what you mean about doing the other things for PM's and subscriptions and what not. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|