• Login information - where?

    From Alterego@VERT/ALTERANT to Digital Man on Saturday, October 05, 2019 11:09:41
    Hey DM,

    What controls the renderng of this when you login:

    System : My BBS
    User #3 : Test
    Logons Today : 10 (Max 50)
    Time on Today : 649 (Max 480)
    Mail Waiting : 0
    Sysop is : Not Available

    I want to supress it (for specific users) - but I cant figure out what triggers it to render?
    ...*

    ... It works better if you plug it in.

    ---
    Synchronet Alterant | an SBBS in Docker on Pi!
  • From Digital Man@VERT to Alterego on Saturday, October 05, 2019 01:47:33
    Re: Login information - where?
    By: Alterego to Digital Man on Sat Oct 05 2019 11:09 am

    Hey DM,

    What controls the renderng of this when you login:

    System : My BBS
    User #3 : Test
    Logons Today : 10 (Max 50)
    Time on Today : 649 (Max 480)
    Mail Waiting : 0
    Sysop is : Not Available

    I want to supress it (for specific users) - but I cant figure out what triggers it to render?

    logon.cpp, lines 451+:

    if(!(cfg.sys_misc&SM_NOSYSINFO)) {
    bprintf(text[SiSysName],cfg.sys_name);
    //bprintf(text[SiNodeNumberName],cfg.node_num,cfg.node_name);
    bprintf(text[LiUserNumberName],useron.number,useron.alias);
    bprintf(text[LiLogonsToday],useron.ltoday
    ,cfg.level_callsperday[useron.level]);
    bprintf(text[LiTimeonToday],useron.ttoday
    ,cfg.level_timeperday[useron.level]+useron.min);
    bprintf(text[LiMailWaiting],mailw);
    strcpy(str,text[LiSysopIs]);
    if(sysop_available(&cfg))
    strcat(str,text[LiSysopAvailable]);
    else
    strcat(str,text[LiSysopNotAvailable]);
    bprintf("%s\r\n\r\n",str);
    }


    digital man

    This Is Spinal Tap quote #5:
    Nigel Tufnel: Authorities said... best leave it... unsolved.
    Norco, CA WX: 61.4F, 72.0% humidity, 0 mph SW wind, 0.00 inches rain/24hrs

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Alterego@VERT/ALTERANT to Digital Man on Sunday, October 06, 2019 13:35:08
    Re: Login information - where?
    By: Digital Man to Alterego on Sat Oct 05 2019 01:47 am

    logon.cpp, lines 451+:
    if(!(cfg.sys_misc&SM_NOSYSINFO)) {

    Ahh, got it.

    Setting system.settings |= SYS_NOSYSINFO does it for me in logon.js

    Awesome :)
    ...*

    ... When you haven't got enough iodine in your blood you get a glacier.

    ---
    Synchronet Alterant | an SBBS in Docker on Pi!
  • From mark lewis@VERT to Digital Man on Sunday, October 06, 2019 10:25:04
    On 2019 Oct 05 01:47:32, you wrote to Alterego:

    I want to supress it (for specific users) - but I cant figure out what
    triggers it to render?

    logon.cpp, lines 451+:

    if(!(cfg.sys_misc&SM_NOSYSINFO)) {

    if i'm reading this correctly, simply setting the above attribute in scfg should stop it, right?

    if i'm looking in the correct place, that would be

    system configuration
    toggle options
    display sys info during logon yes/no

    right?

    so turning that off should stop that output?

    )\/(ark

    Once men turned their thinking over to machines in the hope that this would set
    them free. But that only permitted other men with machines to enslave them.
    ... We need new dreams tonight - U2
    ---
    * Origin: (1:3634/12.73)
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to mark lewis on Sunday, October 06, 2019 12:33:01
    Re: Login information - where?
    By: mark lewis to Digital Man on Sun Oct 06 2019 10:25 am


    On 2019 Oct 05 01:47:32, you wrote to Alterego:

    I want to supress it (for specific users) - but I cant figure out what
    triggers it to render?

    logon.cpp, lines 451+:

    if(!(cfg.sys_misc&SM_NOSYSINFO)) {

    if i'm reading this correctly, simply setting the above attribute in scfg should stop it, right?

    if i'm looking in the correct place, that would be

    system configuration
    toggle options
    display sys info during logon yes/no

    right?

    so turning that off should stop that output?

    Yes. I believe he wanted it turned-off conditionally (only for certain users or logons) and he figured out how to toggle that option programmatically (in logon.js).

    digital man

    This Is Spinal Tap quote #10:
    Dozens of people spontaneously combust each year... just not widely reported. Norco, CA WX: 87.0F, 26.0% humidity, 0 mph NE wind, 0.00 inches rain/24hrs

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