• exec/logon.js

    From Rob Swindell@VERT to Git commit to main/sbbs/master on Saturday, July 31, 2021 18:11:28
    https://gitlab.synchro.net/main/sbbs/-/commit/491228fe6529ac7e761c43d2
    Modified Files:
    exec/logon.js
    Log Message:
    Guest user prompts can be disabled via modopts.ini [logon] settings

    guest_name = false will disable name prompt
    guest_email = false will disable the email address prompt
    guest_location = false will disable the location prompt
    guest_referral = false will disable the "where'd you hear about this BBS" prompt

    Note, at minimum, I do recommend prompting for the guest's email address so that if they send the sysop feedback (e.g. ask a question), they at least have some hope of receiving a reply.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Saturday, July 31, 2021 18:53:38
    https://gitlab.synchro.net/main/sbbs/-/commit/e75791871b7acef3d90a72a7
    Modified Files:
    exec/logon.js
    Log Message:
    Allow text of all guest information prompts to be overridden in modopts.ini

    By setting guest_name, guest_email, guest_location, or guest_referral to any truthy value, a prompt will be display. By setting it to a string (instead of true), that string will be displayed. I'm not sure how I feel about this kind of tri-state setting (true/false/string), but it does reduce the number of settings/options. The alternative is to have a separate boolean and string setting for each prompt (which I first considered).

    So, as of now:

    guest_name = false <- no prompt for Guest's name
    guest_name = "" <- no prompt for Guest's name
    guest_name = true (the default) <- default prompt text for Guest's name guest_name = "Enter your name, dude" <- replaces prompt text for Guest's name

    For enter trailing white-space and ctrl-a codes, use string literals, e.g. guest_name: "\x01hEnter your name, dude: "

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Git commit to main/sbbs/master on Saturday, July 31, 2021 19:24:01
    Re: exec/logon.js
    By: Rob Swindell to Git commit to main/sbbs/master on Sat Jul 31 2021 06:53 pm

    guest_name = "" <- no prompt for Guest's name

    Actually, that's a bad/false example:

    guest_name: "" <- no prompt for Guest's name (gotta use string literal syntax) --
    digital man

    This Is Spinal Tap quote #10:
    Dozens of people spontaneously combust each year... just not widely reported. Norco, CA WX: 83.9øF, 27.0% humidity, 13 mph ENE wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Saturday, June 25, 2022 17:19:55
    https://gitlab.synchro.net/main/sbbs/-/commit/a7a87f8a36b788b593f2f520
    Modified Files:
    exec/logon.js
    Log Message:
    Small optimization: don't write user.chat_settings if you don't need to

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net