• Security Level Menu

    From DesotoFireflite@VERT/VALHALLA to All on Tuesday, May 31, 2022 07:49:32
    Sorry in advance for such a stupid question, but I can't find the answer anywhere.

    Can I have a Security Level Specific Menu. I want to have a special main menu for users that I have to flag for security infractions, Level 20, that they alone will see. Is this possable. I know I can restrict menu commands on the main menu by using Ctrl-A codes by security level, but I prefer just making a special menu for this. Thanks in advance.

    SysOp: C.G. Learn, AKA: DesotoFireflite
    Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com:23
    A Gamers Paradise - Over 250 Registered Online Game Doors!

    --- Don't You Know, Can't You See, Don't You Understand!
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
  • From MRO@VERT/BBSESINF to DesotoFireflite on Tuesday, May 31, 2022 09:13:59
    Re: Security Level Menu
    By: DesotoFireflite to All on Tue May 31 2022 07:49 am

    Sorry in advance for such a stupid question, but I can't find the answer anywhere.

    Can I have a Security Level Specific Menu. I want to have a special main menu for users that I have to flag for security infractions, Level 20, that they alone will see. Is this possable. I know I can restrict menu commands

    (this is baja talking)
    you can throw something in real easy by doing
    compare_Ars level x
    if equal

    and sending them to another menu if true.

    I think your problem is all on the web though, isn't it?
    this is happening on other bbses. I think the bots found a way through the echicken web

    so i would just disable signups on the web and that should take
    care of the issue.
    ---
    þ Synchronet þ ::: BBSES.info - free BBS services :::
  • From DesotoFireflite@VERT/VALHALLA to MRO on Tuesday, May 31, 2022 11:13:21
    Re: Security Level Menu
    By: MRO to DesotoFireflite on Tue May 31 2022 09:13 am

    Re: Security Level Menu
    By: DesotoFireflite to All on Tue May 31 2022 07:49 am

    Can I have a Security Level Specific Menu. I want to have a special
    main menu for users that I have to flag for security infractions,
    Level 20, that they alone will see. Is this possable. I know I can
    restrict menu commands

    (this is baja talking)
    you can throw something in real easy by doing
    compare_Ars level x
    if equal

    and sending them to another menu if true.

    Damn, I forgot all about that. These past few years, I don't think the Brain is working as it should... Thanks

    I think your problem is all on the web though, isn't it?
    this is happening on other bbses. I think the bots found a way through the echicken web

    so i would just disable signups on the web and that should take
    care of the issue.

    You may be right, I decided to do that last night, and let everyone register on the bbs. I hope to put it in place today sometime.

    SysOp: C.G. Learn, AKA: DesotoFireflite
    Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com:23
    A Gamers Paradise - Over 250 Registered Online Game Doors!

    --- Don't eat the yellow snow!
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
  • From Nightfox@VERT/DIGDIST to DesotoFireflite on Tuesday, May 31, 2022 08:32:50
    Re: Security Level Menu
    By: DesotoFireflite to All on Tue May 31 2022 07:49 am

    Sorry in advance for such a stupid question, but I can't find the answer anywhere.

    Can I have a Security Level Specific Menu. I want to have a special main menu for users that I have to flag for security infractions, Level 20, that they alone will see. Is this possable. I know I can restrict menu commands on the main menu by using Ctrl-A codes by security level, but I prefer just making a special menu for this. Thanks in advance.

    In your command shell, you should be able to check the user's security and then show a different menu for each.

    In JavaScript, you could do something like this:
    if (user.compare_ars("LEVEL 50"))
    {
    bbs.menu("menu_50");
    // Allow level 50 stuff
    }
    else if (user.compare_ars("LEVEL 20"))
    {
    bbs.menu("menu_20");
    // Allow level 20 stuff
    }

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From DesotoFireflite@VERT/VALHALLA to Nightfox on Tuesday, May 31, 2022 15:25:12
    Re: Security Level Menu
    By: Nightfox to DesotoFireflite on Tue May 31 2022 08:32 am

    Re: Security Level Menu
    By: DesotoFireflite to All on Tue May 31 2022 07:49 am

    Sorry in advance for such a stupid question, but I can't find the
    answer anywhere.

    Can I have a Security Level Specific Menu. I want to have a special
    main menu for users that I have to flag for security infractions,
    Level 20, that they alone will see. Is this possable. I know I can
    restrict menu commands on the main menu by using Ctrl-A codes by
    security level, but I prefer just making a special menu for this.
    Thanks in advance.

    In your command shell, you should be able to check the user's security and then show a different menu for each.

    In JavaScript, you could do something like this:
    if (user.compare_ars("LEVEL 50"))
    {
    bbs.menu("menu_50");
    // Allow level 50 stuff
    }
    else if (user.compare_ars("LEVEL 20"))
    {
    bbs.menu("menu_20");
    // Allow level 20 stuff
    }

    Ok, thanks. I got a handle on it. I was just making sure there was no security specific menus before I went this route. Thanks

    SysOp: C.G. Learn, AKA: DesotoFireflite
    Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com:23
    A Gamers Paradise - Over 250 Registered Online Game Doors!

    --- CAT (n.), Furry keyboard cover.
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
  • From Digital Man@VERT to DesotoFireflite on Tuesday, May 31, 2022 15:50:12
    Re: Security Level Menu
    By: DesotoFireflite to All on Tue May 31 2022 07:49 am

    Sorry in advance for such a stupid question, but I can't find the answer anywhere.

    Can I have a Security Level Specific Menu. I want to have a special main menu for users that I have to flag for security infractions, Level 20, that they alone will see. Is this possable. I know I can restrict menu commands on the main menu by using Ctrl-A codes by security level, but I prefer just making a special menu for this. Thanks in advance.

    That's not a built-in feature, but it would be easy to add to a/your command shell.

    In JS, the logic would be like this:

    if(bbs.menu_exists("main" + user.level))
    bbs.menu("main" + user.level);
    else
    bbs.menu("main");
    --
    digital man (rob)

    Sling Blade quote #6:
    Karl: he should've had a chance to grow up. He would had fun some time.
    Norco, CA WX: 78.2øF, 48.0% humidity, 9 mph SE wind, 0.00 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From DesotoFireflite@VERT/VALHALLA to Digital Man on Tuesday, May 31, 2022 20:03:41
    Re: Security Level Menu
    By: Digital Man to DesotoFireflite on Tue May 31 2022 03:50 pm

    Re: Security Level Menu
    By: DesotoFireflite to All on Tue May 31 2022 07:49 am

    Sorry in advance for such a stupid question, but I can't find the
    answer anywhere.

    Can I have a Security Level Specific Menu. I want to have a special
    main menu for users that I have to flag for security infractions,
    Level 20, that they alone will see. Is this possable. I know I can
    restrict menu commands on the main menu by using Ctrl-A codes by
    security level, but I prefer just making a special menu for this.
    Thanks in advance.

    That's not a built-in feature, but it would be easy to add to a/your command shell.

    In JS, the logic would be like this:

    if(bbs.menu_exists("main" + user.level))
    bbs.menu("main" + user.level);
    else
    bbs.menu("main");

    Thanks ROb, I think I have a handle on it now. I just wanted to make sure there wasn't something built in, before I tried to invent the wheel. My command shell is still in Baja, but I should be able to figure it out with what you gve me in js. Thanks.

    SysOp: C.G. Learn, AKA: DesotoFireflite
    Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com:23
    A Gamers Paradise - Over 250 Registered Online Game Doors!

    --- Don't eat the yellow snow!
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net