Subj : A couple of questions
To   : Digital Man
From : Nightfox
Date : Mon Apr 08 2024 09:47 pm

 Re: A couple of questions
 By: Digital Man to apam on Mon Apr 08 2024 08:16 pm

>> 1) How long do files stay "new"?

DM> I don't know about DD mods, but normally files are "new" when their upload
DM> date/time is newer than the user's last logoff time.

I have my ddfilelister set up as a loadable module.  When doing a new file scan, I've noticed my file lister is executed for each sub-board, and the sub-board code is passed in and the scan mode is passed in via argv.  When doing a new file scan, I've been checking bbs.new_file_time.  It seems I could set bbs.new_file_time to the current time when it's done, but that would mean when ddfilelister is executed for the next file directory, it won't list any new files because bbs.new_file_time would have been set to the current date/time.

So, I don't know if it should be ddfilelister's responsibility to update bbs.new_file_time or not?

Nightfox

---
� Synchronet � Digital Distortion: digitaldistortionbbs.com