hi all
i was wondering if some1 know if it is possible to prevent image deletion from premium/registered accounts instead the allowed XX days
as example
i got a user who got a image , normal rules says that files stays 15 days after last download
but a image get barely downloaded (why would they)
so after 15 days , the image is lost
what i like to ask
is it possible to exclude that rule for registered/premium users and only for the image files ??
if it cant be easy done , can i request a mod for it then ?? or that the admin would add it as a mod to the image mod ??
Thank you
Greetings From PowerChaos
XFileSharing Pro - image mod modification request
-
- Posts: 521
- Joined: Dec 19, 2009 5:12 pm
hmm , still no reaction from any1
is it then so hard to provide a solution to the file storage link (exlude images ?? )
let me say it differend then
i am looking for the place where it is stored so i can manual change it (if i can figure out how)
or it would even be better if i can get the place and the code to where it need to changed to exclude only the images from the time limit
i am not even sure if the image mod got that already included or not (hard to know if no1 provide the answer )
so waiting on a solution at this moment
Thank you
Greetings From PowerChaos
is it then so hard to provide a solution to the file storage link (exlude images ?? )
let me say it differend then
i am looking for the place where it is stored so i can manual change it (if i can figure out how)
or it would even be better if i can get the place and the code to where it need to changed to exclude only the images from the time limit
i am not even sure if the image mod got that already included or not (hard to know if no1 provide the answer )
so waiting on a solution at this moment
Thank you
Greetings From PowerChaos
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
Here goes quick fix:
in cron.pl find line
and add above:
This should be done in 3 places in cron.pl
This will keep jpg,png files from deletion.
in cron.pl find line
Code: Select all
AND file_last_download < NOW()-INTERVAL ? DAY
Code: Select all
AND file_name NOT LIKE '%.jpg'
AND file_name NOT LIKE '%.png'
This will keep jpg,png files from deletion.
-
- Posts: 521
- Joined: Dec 19, 2009 5:12 pm
PilgrimX182 wrote:Here goes quick fix:
in cron.pl find lineand add above:Code: Select all
AND file_last_download < NOW()-INTERVAL ? DAY
This should be done in 3 places in cron.plCode: Select all
AND file_name NOT LIKE '%.jpg' AND file_name NOT LIKE '%.png'
This will keep jpg,png files from deletion.
this code does not working with 1.9