• Checking for new bulletins

    From Adept@21:2/108 to All on Mon Aug 10 18:42:14 2020
    Has anyone gotten the new-bulletin check working?

    I was trying to add a bulletin check so that after I edit bullet1.asc to say what's new on my BBS, that the next time I login it'll show that bulletin.

    So I followed the directions, and put a menu command of, "bulletin bulletin bullet check", and it just keeps returning that there are no new bulletins, regardless of when I edit the bullet1.asc, or if I create bullet2.asc.

    So now I'm out of ideas. Reading the code, this seems like the pertinent line:

    If DirTime > UserLastOn And Upper(Copy(DirName, 1, Pos('.', DirName) - 1)) <> 'BULLETIN'

    ...which seems like it should work just fine.

    Also, the command, aside from "check", is the same command I use to launch
    the bulletin menu, which displays the bulletin correctly. So I'd assume that the directories and whatnot are setup correctly for this.

    And I searched my FSXnet message bases to see if anything of note would pop
    up, but saw nothing. Closest I saw was The Godfather complaining about how terrible the bulletin system was, and if people had favorite replacement scripts.

    But no one answered that one, either, so now I'm kinda wondering if people
    have answers for that question, too. :)

    --- Mystic BBS v1.12 A45 2020/02/18 (Linux/64)
    * Origin: Storm BBS (21:2/108)
  • From Al@21:4/106 to Adept on Mon Aug 10 11:47:18 2020
    Hello Adept,

    I was trying to add a bulletin check so that after I edit bullet1.asc
    to say what's new on my BBS, that the next time I login it'll show
    that bulletin.

    I don't think the new bulletin will automatically show during logon if that's what you mean. It's probably possible to do that but changes would be needed.

    I have used onlyonce.mps before. That will display a file (only once) if it has changed since the last logon.

    Ttyl :-),
    Al

    --- GoldED+/LNX
    * Origin: The Rusty MailBox - Penticton, BC Canada (21:4/106)
  • From Adept@21:2/108 to Al on Mon Aug 10 23:54:37 2020
    I don't think the new bulletin will automatically s
    how during logon ifAl> that's what you mean. It's probab
    ly possible to do that but changesAl> would be needed.
    Huh. That seems ... not in keepin
    g with what it says in bulletin.mps:
    // The next command line is optional. If you supply the option "CHECK",
    the// script will check for updated bulletins since the use
    r's last call, then// prompt them to read the bulletins if t
    here are new bulletins available.// This is handy to put as
    an FIRSTCMD command during the login somewhere,// as the def
    ault Mystic BBS installation does.I mean
    , I guess it doesn't say, "show
    ", but prompting would be fine with me.
    Regardless...Al> I have used onlyonc
    e.mps before. That will display a file (only once) ifAl>
    it has changed since the last logon....if th
    at works, it'll solve the problem I'
    m trying to solve. Thanks.
    --- Mystic BBS v1.12 A45 2020/02/18 (Linux/64)
    * Origin: Storm BBS (21:2/108)