• How to customize the Logon EVENT?

    From AngieAndretti@1:103/705 to ALL on Sat Apr 9 19:14:20 2022
    Sorry for being a noob with what may be a stupid question but I've dug through so much code and I'm lost for what to do:

    I want to customize the behavior of what appears to be user_event(EVENT_LOGON) and I found notes that appear to imply it's possible, as they refer to this as "running configured external logon events." But how to configure??

    Specifically, I want to globally eradicate the "Read your mail now?" prompt at user logon - but I'd still really like it to display the notification that new mail is waiting IF any has been received... in that case the user should have to enter the email menu manually if they want to read it.
    Second (and less important,) I'd like to suppress displaying the notice "Your time has been reduced due to an upcoming event." Time is infinite for all users in my scenario and it's a useless and confusing message.

    Could someone give me a hand with this please?
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to AngieAndretti on Sat Apr 9 21:39:09 2022
    Re: How to customize the Logon EVENT?
    By: AngieAndretti to ALL on Sat Apr 09 2022 07:14 pm

    Sorry for being a noob with what may be a stupid question but I've dug through so much code and I'm lost for what to do:

    I want to customize the behavior of what appears to be user_event(EVENT_LOGON) and I found notes that appear to imply it's possible, as they refer to this as "running configured external logon events." But how to configure??

    External logon events are configured in SCFG->External Programs->Online Programs. Add/change a program with a "Execut on Event" set to "Logon" and voila: it executes during logon.

    Specifically, I want to globally eradicate the "Read your mail now?" prompt at user logon -

    Find the ReadYourMailNowQ string in your ctrl/text.dat file and set it to an emtpy string ("") and voila: the prompt is eradicated.

    but I'd still really like it to display the notification
    that new mail is waiting IF any has been received... in that case the user should have to enter the email menu manually if they want to read it.

    You can write your logon module (e.g. JS) to do that and have it execute as a logon event as previously described.

    Second (and less important,) I'd like to suppress displaying the notice "Your time has been reduced due to an upcoming event." Time is infinite for all users in my scenario and it's a useless and confusing message.

    Could someone give me a hand with this please?

    The ReducedTime string in your text.dat file.
    --
    digital man (rob)

    Sling Blade quote #3:
    Karl (re: killing Doyle): That second one just plum near cut his head in two. Norco, CA WX: 61.3øF, 83.0% humidity, 0 mph WSW wind, 0.00 inches rain/24hrs --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From MRO@1:103/705 to AngieAndretti on Sun Apr 10 07:55:59 2022
    Re: How to customize the Logon EVENT?
    By: AngieAndretti to ALL on Sat Apr 09 2022 07:14 pm

    Sorry for being a noob with what may be a stupid question but I've dug through so much code and I'm lost for what to do:

    I want to customize the behavior of what appears to be user_event(EVENT_LOGON) and I found notes that appear to imply it's possible, as they refer to this as "running configured external logon events." But how to configure??


    you dug into the code. now dig into the docs.
    ---
    þ Synchronet þ ::: BBSES.info - free BBS services :::
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From AngieAndretti@1:103/705 to Digital Man on Wed Apr 13 07:38:17 2022

    Thank you so much, Digital Dude!!
    I'd found those strings previously but I did not expect the behavior in that blanking out the string causes the question not to be asked at all. You've been a huge help!
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From AngieAndretti@1:103/705 to MRO on Wed Apr 13 07:46:02 2022
    you dug into the code. now dig into the docs.

    Could you provide a link? I did Google search for help on the issue - and I found SOME documentation (http://synchro.net/docs/index.htm), which I read through, but I honestly couldn't find anything that answered my specific question (i.e. "If you blank out a string in text.dat, that's the way to stop the question from being asked." Either it's not documented there or I may have just missed it; Sorry.
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Andre@1:103/705 to AngieAndretti on Wed Apr 13 10:45:57 2022
    Re: How to customize the Logon EVENT?
    By: AngieAndretti to MRO on Wed Apr 13 2022 07:46 am

    Could you provide a link? I did Google search for help on the issue - and I found SOME documentation (http://synchro.net/docs/index.htm), which I

    read through, but I honestly couldn't find anything that answered my specific question (i.e. "If you blank out a string in text.dat, that's the way to stop the question from being asked." Either it's not documented

    Don't mind MRO. He's a well established jerkoff with no social skills... Not any positive ones at least.

    The wiki has the most up-to-date documentation, but there's legacy stuff still in the page you saw.
    http://wiki.synchro.net/custom:text.dat

    Look at the very end of the Escape Sequences section.


    - Andre

    ---
    þ Synchronet þ Radio Mentor BBS - bbs.radiomentor.org
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Gamgee@1:103/705 to AngieAndretti on Wed Apr 13 10:53:00 2022
    AngieAndretti wrote to MRO <=-

    you dug into the code. now dig into the docs.

    Could you provide a link? I did Google search for help on the
    issue - and I found SOME documentation (http://synchro.net/docs/index.htm), which I read through, but I
    honestly couldn't find anything that answered my specific
    question (i.e. "If you blank out a string in text.dat, that's the
    way to stop the question from being asked." Either it's not
    documented there or I may have just missed it; Sorry.

    It's documented here:

    http://wiki.synchro.net/custom:text.dat

    Your specific example is explained there at the bottom of the "Escape Sequences" section.



    ... All the easy problems have been solved.
    --- MultiMail/Linux v0.52
    þ Synchronet þ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From MRO@1:103/705 to AngieAndretti on Wed Apr 13 17:56:35 2022
    Re: How to customize the Logon EVENT?
    By: AngieAndretti to MRO on Wed Apr 13 2022 07:46 am

    you dug into the code. now dig into the docs.

    Could you provide a link? I did Google search for help on the issue - and I found SOME documentation (http://synchro.net/docs/index.htm), which I read through, but I honestly couldn't find anything that answered my specific question (i.e. "If you blank out a string in text.dat, that's the way to stop the question from being asked." Either it's not documented there or I may have just missed it; Sorry.


    well, when you have so many things, you can't be specific with every single thing. if you look into the customization docs you will see what files do what and where they are located. usually all you need to do is take a look with the search feature.

    in scfg there's sometimes a help command for each selection as well.

    i prefer the older text docs and then i read the whatsnew stuff. it IS hard to keep up with all the changes over the years. I understand writing documentation is not fun, and there's some people that contribute that don't write down information. overall synchronet is probably still has the best documentation of all the bbs softwares.
    ---
    þ Synchronet þ ::: BBSES.info - free BBS services :::
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)