• Theming Random Rumor (RR1)

    From Alpha@21:4/158.2 to All on Thu Aug 6 11:24:54 2020
    134
    Enigma theming question!

    Where do I set the option for modifying/theming a pre-defined MCI code in a menu? For instance, a Main Menu instance of a Random Rumor (%RR1)?

    I'd like to apply a python string format... But not sure where in either theme.json or theme_name-main.json I should do this... Thanks for any pointers.

    Cheers,

    Alpha

    --- ENiGMA 1/2 v0.0.12-beta (linux; x64; 12.18.3)
    * Origin: The Drunken Gamer (21:4/158.2)
  • From NuSkooler@21:1/121 to Alpha on Thu Aug 6 22:23:26 2020
    Twas Thursday, August 6th when Alpha said...
    Where do I set the option for modifying/theming a pre-defined MCI code in a menu? For instance, a Main Menu instance of a Random Rumor (%RR1)?
    I'd like to apply a python string format... But not sure where in either theme.json or theme_name-main.json I should do this... Thanks for any pointers.

    If for example you have a menu entry "mainMenu" and the art contains %RR1, you can customize that view in your theme.hjson's "mainMenu" entry for RR1. Is that




















































































































































































    what you're after, or am I misunderstanding?



    --
    NuSkooler
    Xibalba BBS @ xibalba.l33t.codes / 44510(telnet) 44511(ssh)
    ENiGMA 1/2 BBS WHQ | Phenom | 67 | iMPURE | ACiDic
    --- ENiGMA 1/2 v0.0.12-beta (linux; x64; 12.13.1)
    * Origin: Xibalba -+- xibalba.l33t.codes:44510 (21:1/121)
  • From Alpha@21:4/158 to NuSkooler on Thu Aug 6 21:55:28 2020
    134
    If for example you have a menu entry "mainMenu" and the art contains
    %RR1, you can customize that view in your theme.hjson's "mainMenu" entry for RR1. Is that what you're after, or am I misunderstanding?

    I'm using the stock blocktronics theme - I feel like I'm missing something really basic LOL...


    |14 |07Alpha
    |14 |13Card & Claw BBS
    |06 |05cardandclaw.com:8888

    --- Mystic BBS v1.12 A46 2020/04/26 (Linux/64)
    * Origin: Card & Claw BBS (21:4/158)
  • From NuSkooler@21:1/121 to Alpha on Fri Aug 7 16:32:28 2020
    Alpha around Thursday, August 6th...
    I'm using the stock blocktronics theme - I feel like I'm missing something really basic LOL...

    If you're going to do theme customization, make your own theme as step 1 (see docs for details):

    - copy luciano_blocktronics my_theme
    - update mytheme/theme.hjson 'info' section at a minmum

    theme.hjson controls theming elements. See docs / look at the default one as examples.





    --
    NuSkooler
    Xibalba BBS @ xibalba.l33t.codes / 44510(telnet) 44511(ssh)
    ENiGMA 1/2 BBS WHQ | Phenom | 67 | iMPURE | ACiDic
    --- ENiGMA 1/2 v0.0.12-beta (linux; x64; 12.13.1)
    * Origin: Xibalba -+- xibalba.l33t.codes:44510 (21:1/121)
  • From Alpha@21:4/158 to NuSkooler on Mon Aug 10 13:12:16 2020
    134
    If you're going to do theme customization, make your own theme as step 1 (see docs for details):

    - copy luciano_blocktronics my_theme
    - update mytheme/theme.hjson 'info' section at a minmum

    theme.hjson controls theming elements. See docs / look at the default
    one as examples.

    Gotcha. I'm working from my own theme file. In theme.hjson I've added an
    entry for the main menu (onl, within the "menus:" block--

    mainMenu: {
    mci: {
    RR1: {
    itemFormat: "|04{rumor!styleL33t}"
    }
    }
    }

    ...but this must be wrong, because the screen freezes when I do this... Any ideas? thanks!


    |14 |07Alpha
    |14 |13Card & Claw BBS
    |06 |05cardandclaw.com:8888

    --- Mystic BBS v1.12 A46 2020/04/26 (Linux/64)
    * Origin: Card & Claw BBS (21:4/158)
  • From NuSkooler@21:1/121 to Alpha on Tue Aug 11 23:04:48 2020
    On Monday, August 10th Alpha muttered...
    Gotcha. I'm working from my own theme file. In theme.hjson I've added an entry for the main menu (onl, within the "menus:" block--
    ...but this must be wrong, because the screen freezes when I do this... Any ideas? thanks!

    Seems correct. I've never seen this though. Please create a ticket and I'll try















































































































































































    to look at sometime in the next few days.



    --
    NuSkooler
    Xibalba BBS @ xibalba.l33t.codes / 44510(telnet) 44511(ssh)
    ENiGMA 1/2 BBS WHQ | Phenom | 67 | iMPURE | ACiDic
    --- ENiGMA 1/2 v0.0.12-beta (linux; x64; 12.13.1)
    * Origin: Xibalba -+- xibalba.l33t.codes:44510 (21:1/121)
  • From Alpha@21:4/158 to NuSkooler on Wed Aug 12 08:55:48 2020
    134
    On Monday, August 10th Alpha muttered...
    Gotcha. I'm working from my own theme file. In theme.hjson I've added entry for the main menu (onl, within the "menus:" block--
    ...but this must be wrong, because the screen freezes when I do this. Any ideas? thanks!

    Seems correct. I've never seen this though. Please create a ticket and I'll try to look at sometime in the next few days.


    Cool, added the issues in Github.

    And thanks for making awesome open source software :)


    |14 |07Alpha
    |14 |13Card & Claw BBS
    |06 |05cardandclaw.com:8888

    --- Mystic BBS v1.12 A46 2020/04/26 (Linux/64)
    * Origin: Card & Claw BBS (21:4/158)