The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Dear guys, please help me this problem:
How to disable the Uploads not utilized within one hour will be deleted in Attachment? Thanks! |
|
#2
|
|||
|
|||
|
up up. Please help me.
|
|
#3
|
|||
|
|||
|
There is no setting to disable deleting unused attachments. If you want to disable it, you would need to edit includes/cron/cleanup2.php and find this:
Code:
// Orphaned Attachments are removed after one hour
$attachdata =& datamanager_init('Attachment', $vbulletin, ERRTYPE_SILENT, 'attachment');
$attachdata->set_condition("a.contentid = 0 AND a.dateline < " . (TIMENOW - 3600));
$attachdata->delete(true, false);
either delete it or comment it out (put // at the start of each line). Edit: Of course that won't make the message go away, you'd need to delete that separately. |
| Благодарность от: | ||
| tinhlt | ||
|
#4
|
|||
|
|||
|
Quote:
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|