The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Auto delete messages after x day
Hello! Please help make the mod Auto delete messages. The user writes a message and puts a label 1) Helpful - this message is not removed, 2) per day - is removed in 24 hours 3) Week - removed a week 4) a month - is removed in a month. Thank you.
|
#2
|
||||
|
||||
This should be a Paid Request, but I think a cron job would do it, you would set the cron job to delete messages after -whatever- days, and the job would do it.
|
#3
|
|||
|
|||
I could see maybe making a new db table with post id and 'date to remove' columns, and write a record to it if a post is added with a removal date, then have a daily schedules task to remove any expired posts (or maybe add a plugin on an existing cleanup task).
ETA: ...wrote this before reading the above, but yeah, same idea. --------------- Added [DATE]1303496531[/DATE] at [TIME]1303496531[/TIME] --------------- Also - unless you want to pay someone to develop it for you, you shouldn't put it "Paid Requests". You could put it in "Unpaid Requests" though. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|