The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Auto Clear Sent PM Messages
Auto Clear Sent PM Messages would be a prune hack, that deletes all sent messages from all the sent folders after 30 days. Any idea?! :bunny:
|
#2
|
|||
|
|||
You can cron a script (even a normal shell script would work) that every week or so runs the query:
[sql] DELETE FROM privatemessage WHERE folderid = [i]folderid for sent messages; [/sql] Be sure to always warn your users when stuff might suddently vanish. |
#3
|
||||
|
||||
Oh, and where should I write the cron jobs?
Not very familiar with them, never worked for me (HiveMail etc.). |
#4
|
|||
|
|||
You should probably ask your host on how to set up cron jobs. It can vary wildly.
|
#5
|
||||
|
||||
folderid = [i]folderid for sent messages;
Which id is the one by default? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|