• Question about onlyonce and Bulletins

    From DustCouncil@21:1/227 to All on Monday, June 28, 2021 01:37:21
    So, this is not a major issue but it's perplexing. I'm trying to get my bulletin system working, and while this will always display for new user logins, it will not display on subsequent logins when new bulletins have been added.

    My first question is how does Mystic determine if there's anything new? I'm
    on Linux: filectime, filemtime?

    In prelogin, in the menu editor, the bulletin entry is the same as it was for
    a default install.

    (GX) Execute MPL program
    Data: bulletin bulletin bullet check

    In this case, I assume it is looking through the bulletX.asc files and attempting to determine what is new. However, creating new files, touching files to update filemtime, etc. doesn't do anything.

    To test this further I added:

    (GX) Execute MPL program
    Data: onlyonce testbull

    I assume it should be looking to display /mystic/themes/mytheme/testbull.asc
    if that file is new, but I have a similar problem here. I've touched the
    file, deleted it, re-created it, and it won't display (does it need a full pathname and file extension?)

    Any ideas why this would be?

    --- Mystic BBS v1.12 A46 2020/08/26 (Linux/64)
    * Origin: Shipwrecks & Shibboleths [San Francisco, CA - USA] (21:1/227)
  • From DustCouncil@21:1/227 to DustCouncil on Monday, June 28, 2021 01:59:34
    To test this further I added:

    (GX) Execute MPL program
    Data: onlyonce testbull

    So let me amend this. This works. (It was scrolling by; I neglected to put
    a pause code in the screen).

    We're down to the bulletins.

    --- Mystic BBS v1.12 A46 2020/08/26 (Linux/64)
    * Origin: Shipwrecks & Shibboleths [San Francisco, CA - USA] (21:1/227)