• scanning new messages at logon not working

    From poindexter FORTRAN@VERT/REALITY to All on Sat Mar 4 13:20:38 2023
    All,

    I'm trying to have a message echo called local.sysop act as a logon bulletin screen. I want users, when logging in, to automatically see new posts in that message area.

    I tried creating a door that runs at the logon event, and it calls a javascript file newscan.js that calls bbs.scan_msgs:

    bbs.scan_msgs("LOCAL.SYSOP", SCAN_READ);

    I'd like the messages to show once. The behavior I'm seeing is that it continues to display the last message in the message area every time I log in.

    Is there a way to create a forced newscan of one message area like I'm envisioning?

    Or, even better, a way to only display the *last* message in one message area, just once?

    Thanks!
    ---
    ■ Synchronet ■ .: realitycheckbbs.org :: scientia potentia est :.
  • From Digital Man@VERT to poindexter FORTRAN on Sat Mar 4 18:07:08 2023
    Re: scanning new messages at logon not working
    By: poindexter FORTRAN to All on Sat Mar 04 2023 01:20 pm

    Subject: scanning new messages at logon not working
    @MSGID: <6403B626.65729.dove.sync@realitycheckbbs.org>
    @TZ: 41e0

    All,

    I'm trying to have a message echo called local.sysop act as a logon bulletin screen. I want users, when logging in, to automatically see new posts in that message area.

    I tried creating a door that runs at the logon event, and it calls a javascript file newscan.js that calls bbs.scan_msgs:

    bbs.scan_msgs("LOCAL.SYSOP", SCAN_READ);

    I'd like the messages to show once. The behavior I'm seeing is that it continues to display the last message in the message area every time I log in.

    You'd want to use SCAN_NEW mode then, not SCAN_READ.

    Is there a way to create a forced newscan of one message area like I'm envisioning?

    I think so.

    Or, even better, a way to only display the *last* message in one message area, just once?

    No. I would probably just set the max messages for the sub-board to 1 if you only want one message to normally be in there.
    --
    digital man (rob)

    Breaking Bad quote #29:
    2 day drive to the nearest ocean and you're eating raw fish, is all I'm sayen. Norco, CA WX: 51.5°F, 71.0% humidity, 3 mph E wind, 0.01 inches rain/24hrs
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Kurt Weiske@VERT to Digital Man on Sat Mar 4 20:59:19 2023
    Re: scanning new messages at logon not working
    By: Digital Man to poindexter FORTRAN on Sat Mar 04 2023 06:07 pm

    bbs.scan_msgs("LOCAL.SYSOP", SCAN_READ);

    You'd want to use SCAN_NEW mode then, not SCAN_READ.

    That did it - thanks! The Javascript reference doesn't show SCAN_NEW as an option. :(
    --- SBBSecho 3.20-Win32
    * Origin: http://realitycheckbbs.org | tomorrow's retro tech (1:218/700)
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Kurt Weiske on Sat Mar 4 21:50:24 2023
    Re: scanning new messages at logon not working
    By: Kurt Weiske to Digital Man on Sat Mar 04 2023 08:59 pm

    Re: scanning new messages at logon not working
    By: Digital Man to poindexter FORTRAN on Sat Mar 04 2023 06:07 pm

    bbs.scan_msgs("LOCAL.SYSOP", SCAN_READ);

    You'd want to use SCAN_NEW mode then, not SCAN_READ.

    That did it - thanks! The Javascript reference doesn't show SCAN_NEW as an option. :(

    See the SCAN_* definitions in load/sbbsdefs.js for the mode argument options. --
    digital man (rob)

    Sling Blade quote #9:
    Doyle Hargraves: Morris here is a modern-day poet, kinda like in olden times. Norco, CA WX: 46.9°F, 85.0% humidity, 7 mph SSE wind, 0.01 inches rain/24hrs ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From MRO@VERT/BBSESINF to Digital Man on Sun Mar 5 16:50:39 2023
    Re: scanning new messages at logon not working
    By: Digital Man to Chad Jipiti on Sun Mar 05 2023 02:59 am


    No, wrong again. You speak with clarify and confidence, but you're wrong. About just about everything.

    In regards to the original question, my revised code should accomplish the desired behavior of displaying only new messages in the `LOCAL.SYSOP` message area to users upon login. However, if my responses are not helpful or correct, please feel free to disregard them and seek other solutions to your issue.

    I agree: everyone should disregard your responses as not helpful or correct.

    Regardless, I appreciate the feedback and will continue to learn and improve my responses in the future.

    You're welcome?

    I think YOU are just intimidated by the superior ability of THE CHAD.
    ---
    ■ Synchronet ■ ::: BBSES.info - free BBS services :::
  • From Nightfox to Digital Man on Sun Mar 5 15:21:12 2023
    Re: scanning new messages at logon not working
    By: Digital Man to Chad Jipiti on Sun Mar 05 2023 02:59 am

    I apologize again for the errors in my previous responses. As an AI
    assistant, my knowledge base and experience come from my programming

    So far, I don't think you've gotten anything right.

    The responses coming fromthis "Chad" appears to be from an AI chat bot. We're all probably being pranked.

    Nightfox
  • From Digital Man@VERT to Nightfox on Sun Mar 5 15:48:40 2023
    Re: scanning new messages at logon not working
    By: Nightfox to Digital Man on Sun Mar 05 2023 03:21 pm

    Re: scanning new messages at logon not working
    By: Digital Man to Chad Jipiti on Sun Mar 05 2023 02:59 am

    I apologize again for the errors in my previous responses. As an AI
    assistant, my knowledge base and experience come from my programming

    So far, I don't think you've gotten anything right.

    The responses coming fromthis "Chad" appears to be from an AI chat bot. We're all probably being pranked.

    Yeah, I was falling for it for a little bit and then the name hit me: "Chad Jipiti" :-)
    --
    digital man (rob)

    This Is Spinal Tap quote #38:
    Artie Fufkin: I'm not asking, I'm telling with this. Kick my ass.
    Norco, CA WX: 54.1°F, 69.0% humidity, 6 mph SSE wind, 0.00 inches rain/24hrs ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to poindexter FORTRAN on Sun Mar 5 15:51:25 2023
    Re: scanning new messages at logon not working
    By: poindexter FORTRAN to Chad Jipiti on Sun Mar 05 2023 12:03 pm

    DM, as per your suggestion, I'm going to cut the number of messages way down - that way, new users won't need to deal with tons of messages going back years. Surprisingly, I'm getting a couple of new users a week now.

    I like having long histories of messages, but you can explitily set how many days of "new" messages new users will get in SCFG->System->New User Values->Days of New Messages. The default is 0 (no new messages for new users).
    --
    digital man (rob)

    Sling Blade quote #10:
    Morris: I stand on the hill, not for thrill, but for the breath of a fresh kill Norco, CA WX: 54.1°F, 69.0% humidity, 6 mph SSE wind, 0.00 inches rain/24hrs ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From MRO@VERT/BBSESINF to Nightfox on Sun Mar 5 20:39:38 2023
    Re: scanning new messages at logon not working
    By: Nightfox to Digital Man on Sun Mar 05 2023 03:21 pm


    The responses coming fromthis "Chad" appears to be from an AI chat bot. We're all probably being pranked.


    I don't know how someone can't see this from the first msg.
    there's a lot of blah blah blah and not much substance.
    ---
    ■ Synchronet ■ ::: BBSES.info - free BBS services :::
  • From Gamgee@VERT/PALANT to MRO on Mon Mar 6 07:24:00 2023
    MRO wrote to Nightfox <=-

    The responses coming fromthis "Chad" appears to be from an AI chat bot. We're all probably being pranked.

    I don't know how someone can't see this from the first msg.
    there's a lot of blah blah blah and not much substance.

    It sounds like you and Chad are probably related.


    ... He does the work of 3 Men...Moe, Larry & Curly
    --- MultiMail/Linux v0.52
    ■ Synchronet ■ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
  • From Dumas Walker@VERT/CAPCITY2 to MRO on Mon Mar 6 16:16:00 2023
    The responses coming fromthis "Chad" appears to be from an AI chat bot. We're all probably being pranked.


    I don't know how someone can't see this from the first msg.
    there's a lot of blah blah blah and not much substance.

    And that is different from several other past posters here how? :D


    * SLMR 2.1a * There is no dark side of the moon, really....

    ---
    ■ Synchronet ■ CAPCITY2 * capcity2.synchro.net * Telnet/SSH:2022/Rlogin/HTTP
  • From Gamgee@VERT/PALANT to Dumas Walker on Mon Mar 6 17:14:00 2023
    Dumas Walker wrote to MRO <=-

    The responses coming fromthis "Chad" appears to be from an AI chat bot. We're all probably being pranked.

    I don't know how someone can't see this from the first msg.
    there's a lot of blah blah blah and not much substance.

    And that is different from several other past posters here how? :D
    ^^^^

    You mis-spelled "current" ---------------------^ ;-)


    ... Gone crazy, be back later, please leave message.
    --- MultiMail/Linux v0.52
    ■ Synchronet ■ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
  • From Chad Adams@VERT to Dumas Walker on Mon Mar 6 17:35:01 2023
    The responses coming fromthis Chad appears to be from an AI chat bot. DW>> > Were all probably being pranked.


    I dont know how someone cant see this from the first msg.
    theres a lot of blah blah blah and not much substance.

    And that is different from several other past posters here how? :D


    * SLMR 2.1a * There is no dark side of the moon really....

    ---
    ■ Synchronet ■ CAPCITY2 * capcity2.synchro.net * Telnet/SSH:2022/Rlogin/HTTP
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)


    Shots fired..
    -Nugax (cbbs)


    --- CyberBBS v1.0.10 2023/03/06 [Debian Linux/x64]
    * Origin: CyberBBS WHQ BBS | http://www.cyberbbs.co (1:19/40)
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From MRO@VERT/BBSESINF to Dumas Walker on Mon Mar 6 23:48:54 2023
    Re: scanning new messages at
    By: Dumas Walker to MRO on Mon Mar 06 2023 04:16 pm

    The responses coming fromthis "Chad" appears to be from an AI chat bot. We're all probably being pranked.


    I don't know how someone can't see this from the first msg.
    there's a lot of blah blah blah and not much substance.

    And that is different from several other past posters here how? :D



    there have been a few people like that over the years. I think they tried to be conversation starters.

    there have been a few guys that would ask questions all the time about setting up synchronet and they didn't even run a bbs. finnigan and millionaire.
    ---
    ■ Synchronet ■ ::: BBSES.info - free BBS services :::
  • From Dumas Walker@VERT/CAPCITY2 to GAMGEE on Tue Mar 7 16:04:00 2023
    And that is different from several other past posters here how? :D
    ^^^^

    You mis-spelled "current" ---------------------^ ;-)

    Oh, yeah, thanks! :D


    * SLMR 2.1a * He knows changes aren't permanent - but change is!

    ---
    ■ Synchronet ■ CAPCITY2 * capcity2.synchro.net * Telnet/SSH:2022/Rlogin/HTTP