• Feature Request: menu templates

    From Fernando Toledo@VERT to GitLab issue in main/sbbs on Wed Jan 26 19:13:56 2022
    open https://gitlab.synchro.net/main/sbbs/-/issues/329

    Just an idea:

    Support for custom template vars like @-codes for menu files (.msg, .asc, .ans, etc) using some character pairs: {} %% $$ &&

    example:

    {{VAR1}}

    {{TEXTO}}

    {{AVISO}}

    ![image](https://gitlab.synchro.net/main/sbbs/uploads/f1a65a3b25fe9c597f7e3d0742b197db/image.png)

    the you can use the js method bbs.menu() like this:
    ```
    var tpl_vars = {'VAR1': 'hola', 'TEXTO': 'blalbalb', 'AVISO': 'esto es un aviso'};
    bbs.menu("main", tpl_vars);
    ```

    The screen menu should render those variables to their respective values (replace text)

    ![image](https://gitlab.synchro.net/main/sbbs/uploads/c7427432a0994e37e5220e7f976e7fa7/image.png)

    NOTE: I use the INCLUDE @-code as workaround and create these included file on the fly. But this feature would be an easy way to do it

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab note in main/sbbs on Wed Jan 26 19:22:01 2022
    https://gitlab.synchro.net/main/sbbs/-/issues/329#note_2238

    Have you tried making use of the JS:<property-name> @-code? It works pretty much as you've described.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Fernando Toledo@VERT to GitLab note in main/sbbs on Thu Jan 27 02:24:23 2022
    https://gitlab.synchro.net/main/sbbs/-/issues/329#note_2241

    ohhh! I have overlooked this option, yeah! it is very similar and this covers my needs! thanks!

    (for these things, I love sbbs)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Fernando Toledo@VERT to GitLab issue in main/sbbs on Thu Jan 27 02:24:23 2022
    close https://gitlab.synchro.net/main/sbbs/-/issues/329

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Nigel Reed@VERT to GitLab note in main/sbbs on Mon Oct 5 22:31:41 2026
    https://gitlab.synchro.net/main/sbbs/-/work_items/329#note_10611

    This can be closed?

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From nelgin@VERT/EOTLBBS to GitLab note in main/sbbs on Wed Oct 7 02:15:07 2026
    Re: Feature Request: menu templates
    By: Nigel Reed to GitLab note in main/sbbs on Mon Oct 05 2026 22:31:41

    This can be closed?

    Ignore that, it was closed, I didn't realized that "open" was not in the search area.

    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com