The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
delete old visitor messages
there is the "Delete All Visitor Messages Every 30 Days"
but it would be better if you could just delete the visitor messages that are older than a certain date or a certain number of days old. |
#2
|
|||
|
|||
That would be too complicated. This is a simple cron job that will automatically delete all visitor messages. Alternatively, you can disable the cron job, then click "Run Now" whenever you wish and boom all visitor messages are gone.
Regards Jason |
#3
|
|||
|
|||
i mean that i dont want to delete all of the visitor messages just ones that are over a certain age
|
#4
|
|||
|
|||
Then I suggest you code it yourself. You're trying to make something so simple, complicated.
|
#5
|
|||
|
|||
I'm pretty sure if i delete all the comments then people will get annoyed with me as they may not have read them or they could be an ongoing conversation or such.
i would like to delete all messages that are over a certain age to avoid the above issues. coding it myself is not an option as ive no coding knowlege in this area |
#6
|
|||
|
|||
It is run of the vB cron system. It can only go as high as that does.
|
#7
|
|||
|
|||
[sql]DELETE FROM visitormessage WHERE dateline < $unixtime_minus_30days[/sql]
Example: $unixtime_minus_30days code PHP Code:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|