home bbs files messages ]

Just a sample of the Echomail archive

Cooperative anarchy at its finest, still active today. Darkrealms is the Zone 1 Hub.

   SYNC_SYSOPS      Synchronet Multinode BBS Software Suppor      33,243 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 31,071 of 33,243   
   Retro Guy to All   
   ddfilelister.js question   
   26 Dec 24 10:45:18   
   
   TZUTC: 0000   
   MSGID: 57092.sync_sys@1:103/705 2bd39415   
   REPLY: 57091.sync_sys@1:103/705 2bd33fb6   
   PID: Synchronet 3.20a-Linux master/b93982ccf Dec 22 2024 GCC 12.2.0   
   TID: SBBSecho 3.23-Linux master/a4f032b82 Dec 22 2024 GCC 12.2.0   
   BBSID: RETROBBS   
   CHRS: CP437 2   
   NOTE: SlyEdit 1.89c (2024-10-19) (ICE style)   
     Re: ddfilelister.js question   
     By: Retro Guy to All on Thu Dec 26 2024 07:12 am   
      
    RG>> I have a question about using ddfilelister.js to list files (of course).   
    RG>> It works fine, no bug to mention, but I'm curious if there is an option   
    RG>> to display the full (long) filename to the right in the listing of files   
    RG>> when there is no extended description.   
      
    RG>> Is there an option to do this? Or should I dig into the .js and have a   
    RG>> look. I have been looking through the script and may be able to   
    RG>> accomplish this, but if it's already an option I'd rather just do that :)   
      
    RG> I seem to have this working fine now by adding two lines to   
    RG> ddfilelister.js (at line 3400 on my copy): if(desc == "")   
    RG> desc = gFileList[pIdx].name;   
      
   I have created a diff if anyone is interested:   
   @@ -3396,6 +3396,9 @@   
                   }   
                   */   
                   var desc = (typeof(gFileList[pIdx].desc) === "string" ?   
   gFileList[pIdx].desc : "");   
   +               // If no description to display, display long filename   
   +               if(desc == "")   
   +                   desc = gFileList[pIdx].name;   
                   // Remove/replace any cursor movement codes in the   
   description, which can corrupt the display   
                   desc = removeOrReplaceSyncCursorMovementChars(desc, false);   
                   var fileSizeStr = file_size_str(gFileList[pIdx].size, null,   
   FILE_SIZE_PRECISION);   
      
   I moved the changes above an existing comment, and added a comment for this   
   change.   
   --    
   Retro Guy   
   ---   
    þ Synchronet þ RetroBBS - retrobbs.ddns.net   
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)   
   SEEN-BY: 103/13 705 105/81 106/201 124/5016 128/187 153/757 7715 154/10   
   SEEN-BY: 154/30 203/0 218/700 221/0 226/30 227/114 229/110 114 206   
   SEEN-BY: 229/317 400 426 428 470 550 700 705 240/1120 5832 266/512   
   SEEN-BY: 280/464 5003 5006 282/1038 291/111 292/8125 301/1 320/219   
   SEEN-BY: 322/757 341/66 234 342/200 396/45 423/120 460/58 256 1124   
   SEEN-BY: 467/888 633/280 712/848 770/1 902/26 5020/400 8912 5054/30   
   SEEN-BY: 5075/35   
   PATH: 103/705 280/464 460/58 229/426   
      

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca