• Disable Avatar Chooser during newuser creation.

    From ispyhumanfly@1:103/705 to All on Sat Feb 24 04:31:15 2018
    Hi all,

    So, I'm way new to some of these more recent sbbs features. It's been a while. The code I created for my bbs nearly 10 years ago in js, is having an odd issue. First, I don't use the newuser modules provided by sbbs. I have my new user creation as part of my login.js script.

    Problem I'm having is, my account creation process doesn't really support this Avatar Chooser (though it's way cool, I'll add it later). I don't understand why when my newuser process begins, it loads this avatar chooser module. I'm in no way calling for it in my login.js routines.

    Is there some way, for now, that I can stop sbbs from prompting for this avatar chooser module in my login.js?

    Super cool feature by the way. I consider it a real advancement for BBSs in general. I just need to bypass this for now until I can properly update my login.js routines.

    Any help is appreciated.

    ---
    * Synchronet * euphoria
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to ispyhumanfly on Fri Feb 23 22:18:34 2018
    Re: Disable Avatar Chooser during newuser creation.
    By: ispyhumanfly to All on Sat Feb 24 2018 04:31 am

    Hi all,

    So, I'm way new to some of these more recent sbbs features. It's been a while. The code I created for my bbs nearly 10 years ago in js, is having an odd issue. First, I don't use the newuser modules provided by sbbs. I have my new user creation as part of my login.js script.

    Problem I'm having is, my account creation process doesn't really support this Avatar Chooser (though it's way cool, I'll add it later). I don't understand why when my newuser process begins, it loads this avatar chooser module. I'm in no way calling for it in my login.js routines.

    It's installed by default in SCFG->External Programs->Online Programs->Main, with "execute as event" set to "New User". Just change that setting to "No".

    digital man

    This Is Spinal Tap quote #22:
    David St. Hubbins: Here lies David St. Hubbins... and why not?
    Norco, CA WX: 47.4oF, 34.0% humidity, 2 mph E wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nelgin@1:103/705 to Digital Man on Sat Feb 24 05:33:40 2018
    On Fri, 23 Feb 2018 22:18:34 -0800, "Digital Man" <digital.man@VERT>
    wrote:

    Re: Disable Avatar Chooser during newuser creation.
    By: ispyhumanfly to All on Sat Feb 24 2018 04:31 am

    Hi all,

    So, I'm way new to some of these more recent sbbs features. It's been a while. The code I created for my bbs nearly 10 years ago in js, is having
    an
    odd issue. First, I don't use the newuser modules provided by sbbs. I have my new user creation as part of my login.js script.

    Problem I'm having is, my account creation process doesn't really support this Avatar Chooser (though it's way cool, I'll add it later). I don't understand why when my newuser process begins, it loads this avatar chooser module. I'm in no way calling for it in my login.js routines.

    It's installed by default in SCFG->External Programs->Online Programs->Main, >with "execute as event" set to "New User". Just change that setting to "No".

    I'd like it to ask, but if you say no, then never ask again. They can
    always use a menu option later to add an avatar.

    We may have discussed this in chat a while ago but might be useful in
    a more public forum or in the wiki.

    ---
    * Synchronet * End Of The Line BBS - endofthelinebbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From ispyhumanfly@1:103/705 to Digital Man on Sat Feb 24 06:28:38 2018
    Re: Disable Avatar Chooser during newuser creation.
    By: Digital Man to ispyhumanfly on Fri Feb 23 2018 10:18 pm

    I don't understand why when my newuser process begins, it loads this
    avatar chooser module. I'm in no way calling for it in my login.js
    routines.

    It's installed by default in SCFG->External Programs->Online Programs->Main, with "execute as event" set to "New User". Just change that setting to "No".

    Thanks, DM. It's always something simple, right? ;)

    \1n

    ---
    * Synchronet * euphoria
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Nelgin on Sat Feb 24 13:03:36 2018
    Re: Re: Disable Avatar Chooser during newuser creation.
    By: Nelgin to Digital Man on Sat Feb 24 2018 05:33 am

    On Fri, 23 Feb 2018 22:18:34 -0800, "Digital Man" <digital.man@VERT>
    wrote:

    Re: Disable Avatar Chooser during newuser creation.
    By: ispyhumanfly to All on Sat Feb 24 2018 04:31 am

    Hi all,

    So, I'm way new to some of these more recent sbbs features. It's been a while. The code I created for my bbs nearly 10 years ago in js, is having an
    odd issue. First, I don't use the newuser modules provided by sbbs. I have my new user creation as part of my login.js script.

    Problem I'm having is, my account creation process doesn't really support this Avatar Chooser (though it's way cool, I'll add it later). I don't understand why when my newuser process begins, it loads this avatar chooser module. I'm in no way calling for it in my login.js routines.

    It's installed by default in SCFG->External Programs->Online Programs->Main, >with "execute as event" set to "New User". Just change that setting to "No".

    I'd like it to ask, but if you say no, then never ask again. They can
    always use a menu option later to add an avatar.

    You're talking about during logon, not new user create, right? There's already a modopts.ini setting to stop prompting during logon. We could tie that to a user flag which when set means "stop prompting me", but I hate to burn a generic user flag like that.

    digital man

    Synchronet/BBS Terminology Definition #60:
    XSDK = Synchronet External Program Software Development Kit for C/C++
    Norco, CA WX: 59.3oF, 20.0% humidity, 0 mph SW wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to ispyhumanfly on Sat Feb 24 13:04:10 2018
    Re: Disable Avatar Chooser during newuser creation.
    By: ispyhumanfly to Digital Man on Sat Feb 24 2018 06:28 am

    Re: Disable Avatar Chooser during newuser creation.
    By: Digital Man to ispyhumanfly on Fri Feb 23 2018 10:18 pm

    I don't understand why when my newuser process begins, it loads this
    avatar chooser module. I'm in no way calling for it in my login.js
    routines.

    It's installed by default in SCFG->External Programs->Online Programs->Main, with "execute as event" set to "New User". Just change that setting to "No".

    Thanks, DM. It's always something simple, right? ;)

    Not always, but I'm thankful when it is. :-)

    digital man

    Synchronet "Real Fact" #18:
    Rob Swindell first learned to program in C by hacking on WWIV BBS software. Norco, CA WX: 59.3oF, 20.0% humidity, 0 mph SW wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Digital Man on Sat Feb 24 19:35:21 2018
    Re: Re: Disable Avatar Chooser during newuser creation.
    By: Digital Man to Nelgin on Sat Feb 24 2018 13:03:36

    You're talking about during logon, not new user create, right? There's already a modopts.ini setting to stop prompting during logon. We could tie that to a user flag which when set means "stop prompting me", but I hate to burn a generic user flag like that.

    What's triggering the avatar chooser on logon right now? If it's the absence of an avatar for that user, we could just add an "I don't want an avatar" option to the chooser; it could set and disable an avatar for that user.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    * Synchronet * electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to echicken on Sat Feb 24 18:48:12 2018
    Re: Re: Disable Avatar Chooser during newuser creation.
    By: echicken to Digital Man on Sat Feb 24 2018 07:35 pm

    Re: Re: Disable Avatar Chooser during newuser creation.
    By: Digital Man to Nelgin on Sat Feb 24 2018 13:03:36

    You're talking about during logon, not new user create, right? There's already a modopts.ini setting to stop prompting during logon. We could tie that to a user flag which when set means "stop prompting me", but I hate to burn a generic user flag like that.

    What's triggering the avatar chooser on logon right now?

    This bit of code in logon.js:

    } else if(!(user.security.restrictions&UFLAG_G)
    && console.term_supports(USER_ANSI)
    && options && options.set_avatar == true) {
    var avatar = Avatar.read_localuser(user.number);
    if(!avatar || !avatar.data) {
    alert("You have not selected an avatar.");
    if(console.yesno("Select avatar now"))
    load("avatar_chooser.js");
    }
    }

    If it's the
    absence of an avatar for that user, we could just add an "I don't want an avatar" option to the chooser; it could set and disable an avatar for that user.

    Yeah, sure. If the avatar is disabled, then it doesn't really matter what value (avatar) its set to. Maybe it could just be set to an empty string in that case.

    digital man

    Synchronet "Real Fact" #88:
    SBBSecho v3.00 was first committed to cvs.synchro.net on Apr-11-2016.
    Norco, CA WX: 50.6oF, 46.0% humidity, 5 mph ENE wind, 0.00 inches rain/24hrs --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nelgin@1:103/705 to Digital Man on Sat Feb 24 22:35:35 2018
    On Sat, 24 Feb 2018 18:48:12 -0800, "Digital Man" <digital.man@VERT>
    wrote:

    Re: Re: Disable Avatar Chooser during newuser creation.
    By: echicken to Digital Man on Sat Feb 24 2018 07:35 pm

    Re: Re: Disable Avatar Chooser during newuser creation.
    By: Digital Man to Nelgin on Sat Feb 24 2018 13:03:36

    You're talking about during logon, not new user create, right? There's already a modopts.ini setting to stop prompting during logon. We could tie that to a user flag which when set means "stop prompting me", but
    I
    hate to burn a generic user flag like that.

    What's triggering the avatar chooser on logon right now?

    This bit of code in logon.js:

    } else if(!(user.security.restrictions&UFLAG_G)
    && console.term_supports(USER_ANSI)
    && options && options.set_avatar == true) {
    var avatar = Avatar.read_localuser(user.number);
    if(!avatar || !avatar.data) {
    alert("You have not selected an avatar.");
    if(console.yesno("Select avatar now"))
    load("avatar_chooser.js");
    }
    }

    If it's the
    absence of an avatar for that user, we could just add an "I don't want an avatar" option to the chooser; it could set and disable an avatar for that user.

    Yeah, sure. If the avatar is disabled, then it doesn't really matter what value
    (avatar) its set to. Maybe it could just be set to an empty string in that >case.


    Could you do something like if avatar is null then prompt them to
    choose one. If it's just empty then don't prompt otherwise if there's
    a value then there's already an avatar?

    ---
    * Synchronet * End Of The Line BBS - endofthelinebbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Nelgin on Sat Feb 24 21:32:57 2018
    Re: Re: Disable Avatar Chooser during newuser creation.
    By: Nelgin to Digital Man on Sat Feb 24 2018 10:35 pm

    On Sat, 24 Feb 2018 18:48:12 -0800, "Digital Man" <digital.man@VERT>
    wrote:

    Re: Re: Disable Avatar Chooser during newuser creation.
    By: echicken to Digital Man on Sat Feb 24 2018 07:35 pm

    Re: Re: Disable Avatar Chooser during newuser creation.
    By: Digital Man to Nelgin on Sat Feb 24 2018 13:03:36

    You're talking about during logon, not new user create, right? There's already a modopts.ini setting to stop prompting during logon. We could tie that to a user flag which when set means "stop prompting me", but I
    hate to burn a generic user flag like that.

    What's triggering the avatar chooser on logon right now?

    This bit of code in logon.js:

    } else if(!(user.security.restrictions&UFLAG_G)
    && console.term_supports(USER_ANSI)
    && options && options.set_avatar == true) {
    var avatar = Avatar.read_localuser(user.number);
    if(!avatar || !avatar.data) {
    alert("You have not selected an avatar.");
    if(console.yesno("Select avatar now"))
    load("avatar_chooser.js");
    }
    }

    If it's the
    absence of an avatar for that user, we could just add an "I don't want an avatar" option to the chooser; it could set and disable an avatar for that user.

    Yeah, sure. If the avatar is disabled, then it doesn't really matter what value
    (avatar) its set to. Maybe it could just be set to an empty string in that >case.


    Could you do something like if avatar is null then prompt them to
    choose one. If it's just empty then don't prompt otherwise if there's
    a value then there's already an avatar?

    If there's already an avatar, it doesn't prompt. That's how it's worked from day 1 (that's what the !avatar.data check does).

    I just commited a change which checks the disable flag as well, so if a user manages to disable their avatar without actually selecting/creating one, it won't prompt them either. But right now there's really no way to do that aside from hand-editing your data/user/*.ini file.

    digital man

    Synchronet "Real Fact" #32:
    The second most prolific contributor to Synchronet is Stephen Hurd (Deuce). Norco, CA WX: 47.4oF, 54.0% humidity, 4 mph ESE wind, 0.00 inches rain/24hrs --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nightfox@1:103/705 to ispyhumanfly on Sun Feb 25 16:54:53 2018
    Re: Disable Avatar Chooser during newuser creation.
    By: ispyhumanfly to All on Sat Feb 24 2018 04:31 am

    Super cool feature by the way. I consider it a real advancement for BBSs in general. I just need to bypass this for now until I can properly update my login.js routines.

    Another cool feature added in Synchronet 3.17 was the voting feature. Users can post polls for other users to vote on (including multiple-choice polls), and for regular messages, you can submit an upvote or a downvote.

    Nightfox

    ---
    * Synchronet * Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From ispyhumanfly@1:103/705 to Nightfox on Mon Feb 26 05:53:27 2018
    Re: Disable Avatar Chooser during newuser creation.
    By: Nightfox to ispyhumanfly on Sun Feb 25 2018 04:54 pm

    Another cool feature added in Synchronet 3.17 was the voting feature. Users can post polls for other users to vote on (including multiple-choice polls), and for regular messages, you can submit an upvote or a downvote.

    It's way cool. A huge advancement and I've been playing with it here on euphoria. I've also been mucking around with SlyVote. Way cool too :)

    _ispy++

    ---
    * Synchronet * euphoria
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From ispyhumanfly@1:154/30 to Digital Man on Sat Feb 24 06:28:38 2018
    SEEN-BY: 15/0 19/36 34/999 90/1 103/705 116/18 120/302 331 544 123/140
    SEEN-BY: 153/7715 154/10 20 30 40 700 203/0 218/700 220/60 221/0 6 227/0 201 SEEN-BY: 227/400 229/426 230/150 240/1120 1661 5832 250/1 261/38 100 266/404 SEEN-BY: 266/512 267/155 275/100 280/464 5003 282/1031 1056 291/1 111 292/624 SEEN-BY: 320/219 340/400 800 342/13 393/68 396/45 423/120 712/848 770/1 SEEN-BY: 801/161 189 2320/0 1 100 102 3634/12 5020/830 1042

    SEEN-BY: 154/10 280/464 154/130 140 30 0