home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.bbs.mystic      Mystic Sysops are mystical nerds...      11,847 messages   

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

   Message 10,473 of 11,847   
   Dennis Katsonis to All   
   Bulletin MPL program   
   21 Jan 22 13:13:29   
   
   From: nospam.Dennis.Katsonis@f1.n770.z89.fidonet.org   
      
     Re: Bulletin MPL program   
     By: Dennis Katsonis to All on Fri Jan 21 2022 12:09 pm   
      
    > As part of the prelogin for Mystic, we execute the MPL program "Bulletin" as   
    > such   
    > bulletin bulletin bullet check   
    >   
    > The problem I have with the latest, Mystic 1.12 Alpha 47 on Raspberry Pi is   
    > check for new bulletins doesn't seem to work.  In fact, it doesn't seem to r   
    >  I createa new bulleting (bullet6.ans) and update bulletin.asc in my theme   
    > directory   
    > /mystic/themes/neon/text/bulletin.asc   
    >   
    > I have "(GX) Execute MPL program" in the prelogin menu, with "bulletin bulle   
    > bullet check" in data, but if I createa  new bulletin in the themes text   
    > directory, it doesn't get picked up on login as a new bulletin.  It doesn't   
    > appear the check is run at all.  I can see the check for New Electronic Mail   
    > but there is no indication that a check for new bulletins occurs.  I recall   
    > that I would see this check even if there were no bulletins.   
    >   
    > Nothing appears in the error log about this.  I upgraded from A46 to A47, an   
    > think this is when this check stopped working.   
    >   
    > Is there a way to run this MPL program manually?  If I can do that, I can se   
    > if there is an error or something blocking it from running.  At least then,   
    > can start troubleshooting.   
    >   
    > ... Dennis   
      
   I have found I can run it manually, but it doesn't detect that the files are   
   newer than the user last login date.   
      
     FindFirst (Root + PreFix + '*.*', 63);   
      
     While DosError = 0 Do Begin   
       If DirTime > UserLastOn And Upper(Copy(DirName, 1, Pos('.', DirName) - 1))   
   <   
   > 'BULLETIN' Then Begin   
         InStr := Copy(DirName, 7, Pos('.', DirName) - 7) + ' '   
      
      
   Is there a way to print the "DirTime"?  I'm not too familiar with Python, but I   
   suspect this is where things are going wrong.  The DirTime and UserLastOn are   
   not what they are expected to be.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

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


(c) 1994,  bbs@darkrealms.ca