• Display menu item only if security level <= XX

    From Andy@21:3/128 to All on Thu Nov 19 12:49:08 2020
    Is there any way to display a menu item only, if the user security level is equal or lower XX ?

    I added the option for email address validation, but showing this menu item makes only sense, if the email address is not yet validated.

    This means that this item should be hidden if the validation process was successfully.

    --- Mystic BBS v1.12 A46 2020/08/26 (Linux/64)
    * Origin: Omega BBS (21:3/128)
  • From Warpslide@21:3/110 to Andy on Thu Nov 19 09:27:48 2020
    On 19 Nov 2020, Andy said the following...

    Is there any way to display a menu item only, if the user security level isequal or lower XX ?

    I added the option for email address validation, but showing this menu itemmakes only sense, if the email address is not yet validated.

    This means that this item should be hidden if the validation process was successfully.

    Yup, you would set the security to something like: s10!s11

    This means: "At least level 10 but not more than 11"

    You could also use !OV which means "if user hasn't validated their email".

    http://wiki.mysticbbs.com/doku.php?id=access_control


    Jay

    ... Make frogs immortal by removing their vocal cords. Then they can't croak!

    --- Mystic BBS v1.12 A47 2020/10/23 (Raspberry Pi/32)
    * Origin: Northern Realms (21:3/110)
  • From Andy@21:3/128 to Warpslide on Thu Nov 19 15:54:27 2020
    Yup, you would set the security to something like: s10!s11
    You could also use !OV which means "if user hasn't validated their

    Searched for this several times and I didn't know why I couldn't find this.

    Works perfect! Thanks my friend :)

    --- Mystic BBS v1.12 A46 2020/08/26 (Linux/64)
    * Origin: Omega BBS (21:3/128)
  • From Zip@21:1/202 to Andy on Thu Nov 19 15:08:09 2020
    Hello Andy!

    On 19 Nov 2020, Andy said the following...
    Is there any way to display a menu item only, if the user security level isequal or lower XX ?

    For the security level, you could use an ACS string such as "!s20" to ensure that the user's security level is *not* 20 or greater, i.e. is equal to 19 or lower than 19.

    I added the option for email address validation, but showing this menu itemmakes only sense, if the email address is not yet validated.

    You can use the ACS "!OV" to detect that a user has not validated his/her e-mail address.

    Hope this helps!

    Best regards
    Zip

    --- Mystic BBS v1.12 A47 2020/10/31 (Linux/64)
    * Origin: Star Collision BBS, Uppsala, Sweden (21:1/202)
  • From paulie420@21:2/150 to Warpslide on Thu Nov 19 17:08:52 2020
    Yup, you would set the security to something like: s10!s11
    This means: "At least level 10 but not more than 11"
    You could also use !OV which means "if user hasn't validated their
    email".
    http://wiki.mysticbbs.com/doku.php?id=access_control
    Jay

    I know theres info about it in the docs; but I need to setup my Mystic to be able to do that email validation process. Its like... the one thing I haven't done yet.

    Happen to know a good SMTP (free) service to use?



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A47 2020/10/23 (Raspberry Pi/32)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)
  • From Warpslide@21:3/110 to paulie420 on Fri Nov 20 08:18:54 2020
    On 19 Nov 2020, paulie420 said the following...

    I know theres info about it in the docs; but I need to setup my Mystic
    to be able to do that email validation process. Its like... the one
    thing I haven't done yet.

    Happen to know a good SMTP (free) service to use?

    I was just using a free gmail account to do it (and password resets), and then Deon/alterego directed me to smtp2go.com. You get 1000 free sent messages per month & then I was able to send from my BBS's domain name.

    One initial snag I hit was your domain name needs to be registered for at least 3 months before you can add it to the service. By that time I just had to wait a little more than 3 weeks and then I was good to go.

    Jay

    ... Nature reserves are an eagle opportunity employer

    --- Mystic BBS v1.12 A47 2020/10/23 (Raspberry Pi/32)
    * Origin: Northern Realms (21:3/110)
  • From paulie420@21:2/150 to Warpslide on Fri Nov 20 20:40:11 2020
    I was just using a free gmail account to do it (and password resets),
    and thenDeon/alterego directed me to smtp2go.com. You get 1000 free
    sent messages permonth & then I was able to send from my BBS's domain name.

    Awesome. I've already had my domain for 3+ months so I'm good there. After setting up Mystic with SMTP, can I setup email verification right there in the Mystic software?



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A47 2020/10/23 (Raspberry Pi/32)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)
  • From Warpslide@21:3/110 to paulie420 on Sat Nov 21 09:01:11 2020
    On 20 Nov 2020, paulie420 said the following...

    Awesome. I've already had my domain for 3+ months so I'm good there.
    After setting up Mystic with SMTP, can I setup email verification right there in the Mystic software?

    Yup, it's a menu command option that I added to the prelogin menu.

    After mentioning 4 or 5 times during the account creation process that email verification is required, they have the option to press ! to cancel account creation or press enter to create the account and proceed to email verification.

    Action List Access Data
    (-V) Validate e-mail addre s10!s11 20

    If they pressed enter a bunch of times or entered the wrong verification code a bunch of times the validation would kick them out, so I also have a lockout menu that they're sent to if they try and skip the process:

    Action List Access Data
    (GO) Go to new menu s20 main
    (GO) Go to new menu s10!s11 lockout

    The lockout menu simply has 5 commands, verify your email address; change your email address; send a message to the sysop; delete your account (via the dm-suicide mod) or goodbye.


    Depending on your menu flow, you may want to add a yes/no question into the
    mix before heading to validation:

    Action List Access Data
    (-Y) Ask Yes/No s10!s11 Verify Email Address?
    (-V) Validate e-mail addre OK 20

    The 20 in the Data field is the security level the user is given upon successful email validation.


    On my board s10 are unvalidated users and s20 is validated. You could also use the OV access to capture all of your users who haven't validated their email address regardless of their security level:

    Action List Access Data
    (-V) Validate e-mail addre !OV 20

    You'd of course want to make sure your users have an email address entered before sending them down the road.


    Jay

    ... What kind of shorts to clouds wear? Thunderwear

    --- Mystic BBS v1.12 A47 2020/10/23 (Raspberry Pi/32)
    * Origin: Northern Realms (21:3/110)
  • From paulie420@21:2/150 to Warpslide on Sat Nov 21 17:18:25 2020

    Yup, it's a menu command option that I added to the prelogin menu.
    After mentioning 4 or 5 times during the account creation process that emailverification is required, they have the option to press ! to cancel accountcreation or press enter to create the account and proceed to email verification.

    Thanks a ton; I went ahead and saved this, but am already thinking of ways I can make this cool for the user -- and your suggestions are great.

    Thank you tons.. I've seen this before; maybe by you, lol... but I needed it now & am gonna get down to the last thing that my users need - verification on the first call!



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A47 2020/10/23 (Raspberry Pi/32)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)