TIP: Click on subject to list as thread! ANSI
echo: synchronet
to: Digital Man
from: Nightfox
date: 2024-04-08 21:47:00
subject: A couple of questions

  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
                                                                                                                  
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.