• Fallback system

    From GeekDoctor@21:4/111 to All on Wednesday, February 14, 2018 13:42:55
    I'm trying to setup the fallback system as more of a gag to go with our
    theme. We'll have SysOp only areas setup and displayed but for users they
    fall back to a restricted menu. The restricted menu will just display some ansi representing "The Brig" as they'll be sent to The Brig for attempting to access a restricted area.

    The issue. It always falls back to the main menu despite having fallback set to the "restrict" menu. The docs say there is an option in Configuration - General Settings for the default fallback menu, but I'm not seeing that in
    the General settings at all, so I can't even change it globally.

    I originally had A36 installed, but upgrade to A38 just to see if it would
    give me the option in General settings or start falling back to the
    configured fallback menu. Alas, neither was the case.

    Does anyone have a Default Fallback option in their general settings or know how I can get it to fall back to the desired menu?

    For informational purposes, I'm working remotely with a local install and sending The Captain (sysop) updates as I have them ready. Mostly Prompts and menus. Graphical display stuff, but none of that should affect the fallback system.

    Thanks,

    Russell Wiley Aka GeekDoctor
    The New Frontier ][
    Chief Engineer
    telnet: thenewfrontier2.hopto.org (when it's back up, The captain crashed his linux last night, so won't be up till he fixes it)

    --- Mystic BBS v1.12 A38 2018/01/01 (Windows/32)
    * Origin: U.S.S. Alliance (BBS Brampton) (21:4/111)
  • From Avon@21:1/101 to GeekDoctor on Thursday, February 15, 2018 21:14:25
    On 02/14/18, GeekDoctor pondered and said...

    Does anyone have a Default Fallback option in their general settings or know how I can get it to fall back to the desired menu?

    The docs you mention I suspect are the original ones that are quite dated.
    I'll do some homework and see what I can suss for you :)

    Best, Paul


    `I'm not expendable, I'm not stupid, and I'm not going' - Kerr Avon, Blake's 7

    --- Mystic BBS v1.12 A39 2018/02/06 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From Avon@21:1/101 to GeekDoctor on Thursday, February 15, 2018 21:31:09
    On 02/14/18, GeekDoctor pondered and said...

    The issue. It always falls back to the main menu despite having
    fallback set to the "restrict" menu. The docs say there is an option in Configuration - General Settings for the default fallback menu, but I'm not seeing that in the General settings at all, so I can't even change
    it globally.

    Trying to understand this further ... so you have a menu and in that you have set a fallback menu under its 'settings' option? Correct?

    And are you doing this in the default theme or in a different theme.. as you can get Mystic (as I understand it) to fall back to the default when needed
    or if things are missing in the non-default theme(s)

    Best, Paul


    `I'm not expendable, I'm not stupid, and I'm not going' - Kerr Avon, Blake's 7

    --- Mystic BBS v1.12 A39 2018/02/06 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From bcw142@21:1/145 to GeekDoctor on Thursday, February 15, 2018 11:38:28
    On 02/14/18, GeekDoctor said the following...

    I'm trying to setup the fallback system as more of a gag to go with our theme. We'll have SysOp only areas setup and displayed but for users they fall back to a restricted menu. The restricted menu will just display some ansi representing "The Brig" as they'll be sent to The Brig for attempting to access a restricted area.

    What Avon said ;) I Never thought about trying to do things quite that way.
    I think it expects Page Sysop to fallback to Page Sysop on the fallback
    theme not just a single page. Still I don't see why, if the theme has only
    one page that it wouldn't fall back to that. The fallback is to a theme not a menu generally.
    If you end up in "The Brig" do you stay there till you timeout and get dropped? That will generally happen in about 5 minutes by default/ Will the screen say you don't pass go and collect $200 ?
    Maybe in the brig you play Russian roulette till you either die or get out?
    Or perhaps a version of the games menu?
    I would expect at least a main menu for any theme, name it thebrig and who knows if it would ever show up. One way I'm pretty sure it will work is to
    copy the default theme to thebrig theme, edit all the menus except main to go to main and "The Brig" would be the main menu of that theme. There would
    still be a messages, but it would point to main which was "The Brig" so you'd always end up there.

    --- Mystic BBS v1.12 A38 2018/01/01 (Raspberry Pi/32)
    * Origin: Mystic Pi BBS bcw142.zapto.org (21:1/145)
  • From GeekDoctor@21:1/112 to Avon on Thursday, February 15, 2018 16:01:58
    Trying to understand this further ... so you have a menu and in that you have set a fallback menu under its 'settings' option? Correct?

    And are you doing this in the default theme or in a different theme.. as you can get Mystic (as I understand it) to fall back to the default when needed or if things are missing in the non-default theme(s)

    Correct.

    I have 3 menus involved.

    Main menu - Set Access to S10

    Sysop menu - Set Access to S255, Fallback to "restrict", Display File to "tnfbridge" (The display file for the Sysop Menu)

    restrict menu - Set access to S10, display file to restrict with restrict.ans and restrict.asc display files in the text directory

    In theory, having the access to the command off the main, but not the sysop men should fall back to the restrict menu, but instead it displays the main menu again.

    --- Mystic BBS v1.12 A38 2018/01/01 (Windows/32)
    * Origin: ACiD Telnet HQ / blackflag.acid.org (21:1/112)
  • From GeekDoctor@21:1/112 to bcw142 on Thursday, February 15, 2018 16:06:40
    What Avon said ;) I Never thought about trying to do things quite that way. I think it expects Page Sysop to fallback to Page Sysop on the fallback theme not just a single page. Still I don't see why, if the
    theme has only one page that it wouldn't fall back to that. The fallback is to a theme not a menu generally.

    Reading direct from the Menu Editor at the bottom of the screen when you have Fallback highlighted, "Menu loaded if user has no access" This says to me
    that it should redirect to whatever menu you have set in Fallback if the user doesn't have access to the menu. I'm not reading that as falling back to a different theme, but a different menu.

    --- Mystic BBS v1.12 A38 2018/01/01 (Windows/32)
    * Origin: ACiD Telnet HQ / blackflag.acid.org (21:1/112)
  • From quickshot@21:2/134 to GeekDoctor on Thursday, February 15, 2018 16:48:00
    Reading direct from the Menu Editor at the bottom of the screen when you have Fallback highlighted, "Menu loaded if user has no access" This
    says to me that it should redirect to whatever menu you have set in Fallback if the user doesn't have access to the menu. I'm not reading that as falling back to a different theme, but a different menu.

    When I test this here at Troy's Den it does exactly what it say. If the user does not have the access level set in the menu editor, it sends them to the fallback menu.

    Scott Miller
    ---Quickshot
    ----Troybbs.com

    --- Mystic BBS v1.12 A38 2018/01/01 (Linux/64)
    * Origin: Troy's Den * troybbs.com (21:2/134)
  • From GeekDoctor@21:1/112 to quickshot on Thursday, February 15, 2018 22:15:19
    When I test this here at Troy's Den it does exactly what it say. If the user does not have the access level set in the menu editor, it sends
    them to the fallback menu.

    That is what I would expect, but both here locally on my W10 system and on Chuck's BBS system (Linux) it's not doing that. I almost feel like there's something I'm missing and not seeing it. :(

    --- Mystic BBS v1.12 A38 2018/01/01 (Windows/32)
    * Origin: ACiD Telnet HQ / blackflag.acid.org (21:1/112)
  • From GeekDoctor@21:1/112 to quickshot on Friday, February 16, 2018 03:30:35
    When I test this here at Troy's Den it does exactly what it say. If user does not have the access level set in the menu editor, it sends them to the fallback menu.

    That is what I would expect, but both here locally on my W10 system and
    on Chuck's BBS system (Linux) it's not doing that. I almost feel like there's something I'm missing and not seeing it. :(

    I just did a fresh A38 base install with none of my modifications on a 2nd driv to make sure I didn't break something. Either I'm doing something wrong or min isn't operating the same way yours is. This is most perplexing.

    All I changed was Main Menu /* - sysop menu changed access to command to s10. In the sysop menu added restrict on the fallback line and created a menu named restrict with nothing but Quit to Main as an option. It still falls back to th main menu instead of the restrict menu. Did you do something other than what I did?

    Russell Wiley aka GeekDoctor
    Chief Engineer
    The New Frontier ][
    telnet: thenewfrontier2.hopto.org

    --- Mystic BBS v1.12 A38 2018/01/01 (Windows/32)
    * Origin: ACiD Telnet HQ / blackflag.acid.org (21:1/112)
  • From GeekDoctor@21:1/112 to ALL on Friday, February 16, 2018 10:14:26
    I found the issue. The issue resided within the /* sysop command on the main menu. Where in the "access" it said s10, the actual execution of the command was still set to s255. It's falling back to the correct page.

    Thanks for all input.

    Russell Wiley aka GeekDoctor
    Chief Engineer
    The New Frontier ][
    telnet: thenewfrontier2.hopto.org

    --- Mystic BBS v1.12 A38 2018/01/01 (Windows/32)
    * Origin: ACiD Telnet HQ / blackflag.acid.org (21:1/112)
  • From Avon@21:1/101 to GeekDoctor on Saturday, February 17, 2018 09:12:42
    On 02/16/18, GeekDoctor pondered and said...

    I found the issue. The issue resided within the /* sysop command on the main menu. Where in the "access" it said s10, the actual execution of
    the command was still set to s255. It's falling back to the correct
    page.

    Thanks for all input.

    Ah... OK good catch and glad you're sorted :)

    Best, Paul


    `I'm not expendable, I'm not stupid, and I'm not going' - Kerr Avon, Blake's 7

    --- Mystic BBS v1.12 A39 2018/02/06 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From GeekDoctor@21:1/112 to Avon on Friday, February 16, 2018 20:18:00
    Almost. I'd like to setup any Sysop only command, like Delete a Question from the voting both to redirect to "The Brig" if they don't have access, but that command is not a menu. A menu can fall back to another menu, but a command can't fall back to a menu. It would be nice if I could set something up that says....

    If |SL < 255 goto brig else execute command.

    Not sure if there's a way to do that.

    Russell Wiley aka GeekDoctor
    Chief Engineer
    The New Frontier ][
    telnet: thenewfrontier2.hopto.org

    --- Mystic BBS v1.12 A38 2018/01/01 (Windows/32)
    * Origin: ACiD Telnet HQ / blackflag.acid.org (21:1/112)
  • From Black Panther@21:1/186 to GeekDoctor on Friday, February 16, 2018 19:03:13
    On 02/16/18, GeekDoctor said the following...

    Almost. I'd like to setup any Sysop only command, like Delete a
    Question from the voting both to redirect to "The Brig" if they don't
    have access, but that command is not a menu. A menu can fall back to another menu, but a command can't fall back to a menu. It would be nice if I could set something up that says....

    I haven't tried this, but couldn't you set up multiple commands with the same hot key? I would try setting it up like:

    Command #1
    Delete Question
    Hot Key: D
    Access: s255
    (VD) Delete Voting Poll

    Command #2
    Delete Question
    Hot Key: D
    Access: s10!s255
    (GO) Go to new menu

    That way, if the user's security level is s255, it will run command #1. If
    the user has a security level of s10 through s254, it will run command #2.

    It might be a pain to set up each command this way, but I think it would work for what you are looking for. :)


    ---

    Black Panther
    a.k.a. Dan Richter
    Sysop - Castle Rock BBS (RCS)
    telnet://bbs.castlerockbbs.com
    http://www.castlerockbbs.com
    The sparrows are flying again....

    --- Mystic BBS v1.12 A38 2018/01/01 (Linux/64)
    * Origin: Castle Rock BBS - bbs.castlerockbbs.com (21:1/186)
  • From quickshot@21:2/134 to GeekDoctor on Friday, February 16, 2018 19:33:20
    Almost. I'd like to setup any Sysop only command, like Delete a
    Question from the voting both to redirect to "The Brig" if they don't
    have access, but that command is not a menu. A menu can fall back to another menu, but a command can't fall back to a menu. It would be nice if I could set something up that says....

    On your command for "delete a question" make the first command executed be to change menu's the the brig (menu command GO) set the access to s10!s100
    (where s10 is replace with the lowest access you want sent to the brig,
    where s100 is replace with the highest access you want sent to the brig)

    The access system actually has tons of flexibility, take a look at http://wiki.mysticbbs.com/doku.php?id=access_control

    Scott Miller
    ---Quickshot
    ----Troybbs.com

    --- Mystic BBS v1.12 A38 2018/01/01 (Linux/64)
    * Origin: Troy's Den * troybbs.com (21:2/134)
  • From GeekDoctor@21:1/112 to quickshot on Saturday, February 17, 2018 01:11:00
    The access system actually has tons of flexibility, take a look at http://wiki.mysticbbs.com/doku.php?id=access_control

    Thanks to you and Blank Panther. I thought there might be other codes that wasn't covered in the Display codes page that I could make use of. I'll have to go over that page with a fine tooth comb to see what else I can make use of.

    This may actually be a better way to handle the other commands as well instead of using the fallback system. Sure it might be a bit more to figure out, but it's really only a few commands that Users don't have access to, so might be worth it to keep access control consistent.

    Thanks for the help.

    Russell Wiley aka GeekDoctor
    Chief Engineer
    The New Frontier ][
    telnet: thenewfrontier2.hopto.org

    --- Mystic BBS v1.12 A38 2018/01/01 (Windows/32)
    * Origin: ACiD Telnet HQ / blackflag.acid.org (21:1/112)