• How to customize the Logon EVENT?

    From AngieAndretti@VERT to ALL on Saturday, April 09, 2022 19:14:20
    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?

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to AngieAndretti on Saturday, April 09, 2022 21:39:09
    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 ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From MRO@VERT/BBSESINF to AngieAndretti on Sunday, April 10, 2022 07:55:59
    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 :::
  • From AngieAndretti@VERT to Digital Man on Wednesday, April 13, 2022 07:38:17
    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!

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From AngieAndretti@VERT to MRO on Wednesday, April 13, 2022 07:46:02
    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.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Andre@VERT/RDOMENTR to AngieAndretti on Wednesday, April 13, 2022 10:45:57
    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
  • From Gamgee@VERT/PALANT to AngieAndretti on Wednesday, April 13, 2022 10:53:00
    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
  • From MRO@VERT/BBSESINF to AngieAndretti on Wednesday, April 13, 2022 17:56:35
    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 :::