• example.sif

    From WitNik@VERT to Digital Man on Saturday, September 19, 2020 13:47:12
    DM,

    I was trying to play around with the SIF file mechanism and I was referring to the provided EXAMPLE.SIF. It contains the following entry:

    "To execute this SIF, yype ;SIF at the main prompt and enter EXAMPLE as the filename."

    1.) Typo 'yype'.
    2.) ;SIF doesn't show up in the list of commands in the sysop menu and when I enter it from my main prompt the bbs just ignores the input. It doesn't prompt for a filename or give any errors. If I try, ;SIF EXAMPLE or ;SIF EXAMPLE.SIF or ;SIF example.sif it ignores the input as well.

    Has this feature been deprecated or am I doing something incorrectly?

    Thanks,
    -WitNik

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to WitNik on Saturday, September 19, 2020 14:38:17
    Re: example.sif
    By: WitNik to Digital Man on Sat Sep 19 2020 01:47 pm

    DM,

    I was trying to play around with the SIF file mechanism and I was referring to the provided EXAMPLE.SIF. It contains the following entry:

    "To execute this SIF, yype ;SIF at the main prompt and enter EXAMPLE as the filename."

    1.) Typo 'yype'.
    2.) ;SIF doesn't show up in the list of commands in the sysop menu and when I enter it from my main prompt the bbs just ignores the input. It doesn't prompt for a filename or give any errors. If I try, ;SIF EXAMPLE or ;SIF EXAMPLE.SIF or ;SIF example.sif it ignores the input as well.

    Has this feature been deprecated or am I doing something incorrectly?

    Yeah, I don't think many people found the sif/sof very useful so it hasn't really been 'supported' in a long time. The Baja functions CREATE_SIF and READ_SIF are still there and should work as well as they used to, so if you really want to play with it, you'd need to use those functions to check it out. If you find it useful, I could expose those methods via JS too.

    digital man

    This Is Spinal Tap quote #37:
    David St. Hubbins: We are Spinal Tap from the UK - you must be the USA!
    Norco, CA WX: 92.1øF, 29.0% humidity, 12 mph ENE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From WitNik@VERT to Digital Man on Saturday, September 19, 2020 18:51:04
    Re: example.sif
    By: Digital Man to WitNik on Sat Sep 19 2020 02:38 pm

    Yeah, I don't think many people found the sif/sof very useful so it hasn't really been 'supported' in a long time. The Baja functions CREATE_SIF and READ_SIF are still there and should work as well as they used to, so if you really want to play with it, you'd need to use those functions to check it out. If you find it useful, I could expose those methods via JS too.


    I'm interested in conducting some short custom surveys on login, possibly for new users, and eventually storing some of the results in the user's account meta and/or having it included in the feedback email to me. Is this something that I should just write some custom scripts for like a door, or do you think the sif/sof is the way to go?

    Thanks,
    -WitNik

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to WitNik on Saturday, September 19, 2020 19:30:17
    Re: example.sif
    By: WitNik to Digital Man on Sat Sep 19 2020 06:51 pm

    Re: example.sif
    By: Digital Man to WitNik on Sat Sep 19 2020 02:38 pm

    Yeah, I don't think many people found the sif/sof very useful so it hasn't really been 'supported' in a long time. The Baja functions CREATE_SIF and READ_SIF are still there and should work as well as they used to, so if you really want to play with it, you'd need to use those functions to check it out. If you find it useful, I could expose those methods via JS too.


    I'm interested in conducting some short custom surveys on login, possibly for new users, and eventually storing some of the results in the user's account meta and/or having it included in the feedback email to me. Is this something that I should just write some custom scripts for like a door, or do you think the sif/sof is the way to go?

    The more modern way would be to use JavaScript. You could store their answers as "user properties" (see example uses of "userprops.js" in exec/*.js). But there's no easy built-in way to view these property values. However, the built-in user editor (;uedit command) does have a command (#) to read a new user's SIF answers. It wouldn't be hard to add a sysop command to dump any user's properties (it's just a .ini file). I probably should add a command to the user editor to do that anyway.

    digital man

    Rush quote #8:
    One likes to believe In the freedom of music...
    Norco, CA WX: 79.9øF, 34.0% humidity, 4 mph SE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From WitNik@VERT to Digital Man on Saturday, September 19, 2020 19:43:35
    Re: example.sif
    By: Digital Man to WitNik on Sat Sep 19 2020 07:30 pm

    The more modern way would be to use JavaScript. You could store their answers as "user properties" (see example uses of "userprops.js" in exec/*.js). But there's no easy built-in way to view these property values. However, the built-in user editor (;uedit command) does have a command (#) to read a new user's SIF answers. It wouldn't be hard to add a sysop command to dump any user's properties (it's just a .ini file). I probably should add a command to the user editor to do that anyway.

    digital man



    Thanks for the tips. I am still curious to play with the old SIF answers, so I'll give that a go, as well as look at handling user properties per your suggestions. A sysop command to dump user properties would definately be cool for my purposes, as well as for troubleshooting!

    Thanks for the information!
    -WitNik

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to WitNik on Saturday, September 19, 2020 21:02:32
    Re: example.sif
    By: WitNik to Digital Man on Sat Sep 19 2020 07:43 pm

    Re: example.sif
    By: Digital Man to WitNik on Sat Sep 19 2020 07:30 pm

    The more modern way would be to use JavaScript. You could store their answers as "user properties" (see example uses of "userprops.js" in exec/*.js). But there's no easy built-in way to view these property values. However, the built-in user editor (;uedit command) does have a command (#) to read a new user's SIF answers. It wouldn't be hard to add a sysop command to dump any user's properties (it's just a .ini file). I probably should add a command to the user editor to do that anyway.

    Thanks for the tips. I am still curious to play with the old SIF answers, so I'll give that a go, as well as look at handling user properties per your suggestions. A sysop command to dump user properties would definately be cool for my purposes, as well as for troubleshooting!

    For now, you can just look at data/user/<usernum>.ini to see the user properties (mostly values stored/used by JS-modules).

    digital man

    Synchronet/BBS Terminology Definition #73:
    SSL = Secure Sockets Layer (precursor to TLS)
    Norco, CA WX: 74.7øF, 51.0% humidity, 2 mph SE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From WitNik@VERT to Digital Man on Saturday, September 19, 2020 22:43:11
    Re: example.sif
    By: Digital Man to WitNik on Sat Sep 19 2020 09:02 pm

    For now, you can just look at data/user/<usernum>.ini to see the user properties (mostly values stored/used by JS-modules).

    digital man

    Will do! Thanks for the tip!

    -WitNik

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