• Change Users theme/language

    From Mandarax@1337:3/173 to All on Wed Dec 7 09:27:49 2022
    Is there an easy way in a script or menu command to set change a users theme depending on conditions or selections ? I am assuming maybe the only way is just to set the users account setting for that in my script? If so, will this update instantly to effect what they are doing on the BBS right then ?

    I am basically wanting to use my startup script to determine a certain theme depending on the users ansi capabilities or term size on connection and assign the theme I want for each. I fairly sure I know the way to do this, but just wanted to make sure I'm not missing something easier.

    Additionally, does anyone have any real mpl documentation ? Something that gives me more of a reference to available functions and variables built in ?

    Thanks


    Insomnia City BBS SysOp
    Kalamazoo, MI USA
    bbs.farcasternet.org Telnet 23, SSH 2222

    ... Users come in two types: Those who have lost data, and those who will.

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: Insomnia City - Kalamazoo, MI (1337:3/173)
  • From opicron@1337:1/109 to Mandarax on Wed Dec 7 19:22:53 2022
    Is there an easy way in a script or menu command to set change a users the depending on conditions or selections ? I am assuming maybe the only way i just to set the users account setting for that in my script? If so, will update instantly to effect what they are doing on the BBS right then ?

    I read in Mystic A48 changelog there are a bunch of Python functions to autoload ansi of configs based on the term size.

    Also Mystic will autoshow the Ansi files based on smart naming. So I think most

































































































































































































































































































































































































































































































































































































































    can be done by just renaming the graphic files.

    Is that what you mean?

    oP!

    ... Operator, give me the number for 911

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: TheForze - bbs.theforze.eu:23 (1337:1/109)
  • From Mandarax@1337:3/173 to opicron on Wed Dec 7 14:42:48 2022
    I read in Mystic A48 changelog there are a bunch of Python functions to autoload ansi of configs based on the term size.

    Also Mystic will autoshow the Ansi files based on smart naming. So I
    think most can be done by just renaming the graphic files.

    No, I am utilizing that feature at the moment already. I was going to use it

































































































































































































































































































































































































































































































































































































































    for a way to fully be compatible with ANSI and ASCII in both 80 and 132 sizes and also using lightbar menus. Right now I don't see a way Mystic will adjust lightbar menu item locations bases on terminal size. The only way I see it working is either using two difference sets of menu entries for each screen size or two seperate themes.


    Insomnia City BBS SysOp
    Kalamazoo, MI USA
    bbs.farcasternet.org Telnet 23, SSH 2222

    ... What does it mean to pre-board? Do you get on before you get on?

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: Insomnia City - Kalamazoo, MI (1337:3/173)
  • From Mandarax@1337:3/173 to Mandarax on Wed Dec 7 17:48:51 2022
    use it for a way to fully be compatible with ANSI and ASCII in both 80
    and 132 sizes and also using lightbar menus. Right now I don't see a

    I guess I could just use the ansi display file for both screen sizes and then set Access Strings to load different lightbar menu items depending on screen size. That is probably the best way to do it. I am going to play around with that method I suppose. :D


    Insomnia City BBS SysOp
    Kalamazoo, MI USA
    bbs.farcasternet.org Telnet 23, SSH 2222

    ... Condense soup, not books!

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: Insomnia City - Kalamazoo, MI (1337:3/173)
  • From MeaTLoTioN@1337:1/101 to Mandarax on Thu Dec 8 09:48:25 2022
    On 07 Dec 2022, Mandarax said the following...

    Is there an easy way in a script or menu command to set change a users theme depending on conditions or selections ? I am assuming maybe the
    only way is just to set the users account setting for that in my script? If so, will this update instantly to effect what they are doing on the
    BBS right then ?

    In the accounts menu (A on a stock BBS from the main menu) you can press K to change the "Language" which is actually changing the theme. If you look at the accounts menu in the mystic cfg you will see what menu command is run to make that happen, so you can replicate it in a script easy enough then.

    Hope this helps.

    ---
    |14Best regards,
    |11Ch|03rist|11ia|15n |11a|03ka |11Me|03aTLoT|11io|15N

    |07ÄÄ |08[|10eml|08] |15ml@erb.pw |07ÄÄ |08[|10web|08] |15www.erb.pw |07ÄÄÄ¿ |07ÄÄ |08[|09fsx|08] |1521:1/158 |07ÄÄ |08[|11tqw|08] |151337:1/101 |07ÂÄÄÙ |07ÄÄ |08[|12rtn|08] |1580:774/81 |07ÄÂ |08[|14fdn|08] |152:250/5 |07ÄÄÄÙ
    |07ÄÄ |08[|10ark|08] |1510:104/2 |07ÄÙ

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: thE qUAntUm wOrmhOlE, rAmsgAtE, uK. bbs.erb.pw (1337:1/101)
  • From opicron@1337:1/109 to Mandarax on Thu Dec 8 20:13:22 2022
    use it for a way to fully be compatible with ANSI and ASCII in both 8 and 132 sizes and also using lightbar menus. Right now I don't see a

    I guess I could just use the ansi display file for both screen sizes and set Access Strings to load different lightbar menu items depending on scre size. That is probably the best way to do it. I am going to play around that method I suppose. :D

    I love the inner lingo :P and that sounds like a approach I would take too. Thanks for the heads up. Wanting to go for an extended 'resolution' for a while
































































































































































































































































































































































































































































































































































































































    now.

    oP!

    ... Top secret! Burn before reading!

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: TheForze - bbs.theforze.eu:23 (1337:1/109)
  • From paulie420@1337:3/129 to Mandarax on Thu Dec 8 15:04:02 2022
    Additionally, does anyone have any real mpl documentation ? Something
    that gives me more of a reference to available functions and variables built in ?

    So we don't have any GREAT options here, but I've put together the most 'new' stuff available - it includes mpl docs, whatsnew.txt (for new functions), 19 MPL tutors by Black Panther, xqtr's MPL tutor, xqtr's MPY
    Functions Manual and can be found @ 2oFB by searching for 'mpldos_2o22.zip' in the file areas. :P



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

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (1337:3/129)
  • From Mandarax@1337:3/173 to paulie420 on Thu Dec 8 23:32:28 2022
    Functions Manual and can be found @ 2oFB by searching for 'mpldos_2o22.zip' in the file areas. :P

    Thanks, I'll snatch it up and take a look.


    Insomnia City BBS SysOp
    Kalamazoo, MI USA
    bbs.farcasternet.org Telnet 23, SSH 2222

    ... Computers all wait at the same speed!

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: Insomnia City - Kalamazoo, MI (1337:3/173)