vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How to change/remove this... (https://vborg.vbsupport.ru/showthread.php?t=293534)

Ahharu 01-02-2013 11:17 PM

How to change/remove this...
 
How I can change/remove the time of deleting attachments?:

https://vborg.vbsupport.ru/external/2013/01/59.png


I need to remove it...because I want the files always remain :).


Thanks! ;).

ForceHSS 01-02-2013 11:57 PM

have you taken the time to go over your settings

Ahharu 01-02-2013 11:58 PM

Quote:

Originally Posted by ForceHSS (Post 2394382)
have you taken the time to go over your settings

Yes, but I don't see any option for change this :S. Can help me? :).


Thanks.

ForceHSS 01-03-2013 12:22 AM

It is late here, just go over your settings I am sure you will find it. I am sure you don't want me to do all the work for you or all here will think you are lazy and I really have no time for lazy people

Ahharu 01-03-2013 12:23 AM

I just want to know how to change this, so difficult is it? :S.

Any hel please?.

mokujin 01-03-2013 08:32 AM

Quote:

Originally Posted by ForceHSS (Post 2394396)
It is late here, just go over your settings I am sure you will find it. I am sure you don't want me to do all the work for you or all here will think you are lazy and I really have no time for lazy people

If you cant help others then dont reply,
I cant find the setting myself, there is no option in Message Attachment Options @.@

ForceHSS 01-03-2013 09:53 AM

Quote:

Originally Posted by mokujin (Post 2394431)
If you cant help others then dont reply,
I cant find the setting myself, there is no option in Message Attachment Options @.@

don't be rude it was 3am when I wrote that I was tried and was going to bed

--------------- Added [DATE]1357210518[/DATE] at [TIME]1357210518[/TIME] ---------------

Looks like some custom thing disable all plugins from the config see if that helps

Ahharu 01-03-2013 10:55 AM

I don't have any plug-in...is a fresh installation. And for more I look, I don't find the option to turn it off :(.

Anyone know?.

ForceHSS 01-03-2013 11:19 AM

Can you post a link and a test account to the problem

Ahharu 01-03-2013 11:26 AM

You have a PM with the Demo account :).

Simon Lloyd 01-03-2013 11:33 AM

As far as i know thats not a standard vbulletin setting, are you running php in safe mode and utilising temp folders for your attachments?

Ahharu 01-03-2013 11:37 AM

Quote:

Originally Posted by Simon Lloyd (Post 2394464)
As far as i know thats not a standard vbulletin setting, are you running php in safe mode and utilising temp folders for your attachments?

This all default ... I have not touched anything, is a clean installation :).

kh99 01-03-2013 11:40 AM

It is a standard feature, it's in the "File Upload Mananger", the window that pops up when you manage attachments for a post. There is no setting to change or disable it. The code that does the removing is in includes/cron/cleanup2.php, and it looks like this:

Code:

// Unused filedata is removed after one hour
$attachdata =& datamanager_init('Filedata', $vbulletin, ERRTYPE_SILENT, 'attachment');
$attachdata->set_condition("fd.refcount = 0 AND fd.dateline < " . (TIMENOW - 3600));
$attachdata->delete();


If you remove it or comment it out, then the unused uploads should never be removed.

Simon Lloyd 01-03-2013 11:47 AM

Ah so it's only for the uploads window not for attachments that have been uploaded! - good find Kevin :)

Ahharu 01-03-2013 12:58 PM

Quote:

Originally Posted by kh99 (Post 2394467)
It is a standard feature, it's in the "File Upload Mananger", the window that pops up when you manage attachments for a post. There is no setting to change or disable it. The code that does the removing is in includes/cron/cleanup2.php, and it looks like this:

Code:

// Unused filedata is removed after one hour
$attachdata =& datamanager_init('Filedata', $vbulletin, ERRTYPE_SILENT, 'attachment');
$attachdata->set_condition("fd.refcount = 0 AND fd.dateline < " . (TIMENOW - 3600));
$attachdata->delete();


If you remove it or comment it out, then the unused uploads should never be removed.


More thanks for the solution ;).

ForceHSS 01-03-2013 01:14 PM

Quote:

Originally Posted by Ahharu (Post 2394478)
More thanks for the solution ;).

I already pmed u fix did not know it was already posted

Ahharu 01-03-2013 01:44 PM

Quote:

Originally Posted by ForceHSS (Post 2394481)
I already pmed u fix did not know it was already posted

Yes, I see your PM. Thanks ForceHSS :).


All times are GMT. The time now is 04:54 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01038 seconds
  • Memory Usage 1,747KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (17)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete