SYNCHRONET--------------- < Пред. | След. > -- < @ > -- < Сообщ. > -- < Эхи > --
 Nп/п : 51 из 100
 От   : Nightfox                            1:103/705         08 апр 24 21:47:46
 К    : Digital Man                                           08 апр 24 07:55:02
 Тема : A couple of questions
----------------------------------------------------------------------------------
                                                                                 
@MSGID: 51563.sync@1:103/705 2a7ac952
@REPLY: 51552.sync@1:103/705 2a7ab28a
@TZUTC: -0700
@PID: Synchronet 3.20a-Linux master/bf7728020 Apr 05
202 GCC 11.4.0
@TID: SBBSecho 3.20-Linux master/8108e0cd9 Apr 08
2024 11:49 GCC 12.2.0
@COLS: 80
@BBSID: DIGDIST
@CHRS: CP437 2
@NOTE: SlyEdit 1.88d (2024-02-16) (DCT style)
  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)
SEEN-BY: 50/109 103/705 154/10 218/700 221/1
240/1120 280/464 301/1 113
SEEN-BY: 341/66 463/68 467/888 712/848 3634/12
5000/111 5005/49 5019/40
SEEN-BY: 5020/715 848 1042 4441 12000 5030/49 1081
5054/8 5060/900 5061/133
SEEN-BY: 5075/128 5083/444
@PATH: 103/705 301/1 5020/1042 4441



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх