SYNCHRONET--------------- < Пред. | След. > -- < @ > -- < Сообщ. > -- < Эхи > --
 Nп/п : 54 из 100
 От   : Digital Man                         1:103/705         09 апр 24 10:53:16
 К    : Nightfox                                              09 апр 24 20:54:01
 Тема : A couple of questions
----------------------------------------------------------------------------------
                                                                                 
@MSGID: 51566.sync@1:103/705 2a7b7ffa
@REPLY: 51563.sync@1:103/705 2a7ac952
@TZUTC: -0700
@PID: Synchronet 3.20a-Win32 master/8108e0cd9 Apr 08
202 MSC 1916
@TID: SBBSecho 3.20-Linux master/8108e0cd9 Apr 08
2024 11:49 GCC 12.2.0
@COLS: 80
@BBSID: VERT
@CHRS: CP437 2
@NOTE: FSEditor.js v1.105
  Re: A couple of questions
  By: Nightfox to Digital Man on 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
 >  DM> upload 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?

No, it is not your module`s responsibility to update bbs.new_file_time.
-- 
                                            digital man (rob)

Synchronet "Real Fact" #86:
Stephen and Rob have a fledgling podcast at http://techdorks.net (also iTunes)
Norco, CA WX: 72.4°F, 18.0% humidity, 7 mph W wind, 0.00 inches rain/24hrs
--- SBBSecho 3.20-Linux
 * 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    
                                                                                
В этой области больше нет сообщений.

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