The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
query to remove all PMs older than X days?
Does anyone know if it's possible to remove all PMs that are older than 'X' days via an sql query ? I can run the 'update counters' thing after.. I just want to remove msgs that a spammer sent to my entire memberlist.
|
#2
|
|||
|
|||
if u want to delete all Pms to all u memberlist
run query PHP Code:
PHP Code:
PHP Code:
then PHP Code:
take care |
#3
|
|||
|
|||
Thank you! I'll forward your msg to the person coding it for me. It would have been nice to have vB build this into their releases the same way they have public post pruning.
|
#4
|
||||
|
||||
Be careful, those queries will delete all PMs!
If I remember correctly, using the pmtext.dateline field should be enough to get the date of the PM. Build a query on that, and run the cronjob frequently enough to avoid a too intensive process. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|