Pop-Up Thingie

>>> Magnum BBS <<<
  • Home
  • Forum
  • Files
  • Log in

  1. Forum
  2. FidoNet
  3. SYNC SYSOPS
  • Feature Request: menu templates

    From Fernando Toledo@1:103/705 to GitLab issue in main/sbbs on Thu Jan 27 01: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
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Thu Jan 27 01: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.
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Fernando Toledo@1:103/705 to GitLab note in main/sbbs on Thu Jan 27 08: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)
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Fernando Toledo@1:103/705 to GitLab issue in main/sbbs on Thu Jan 27 08:24:23 2022
    close https://gitlab.synchro.net/main/sbbs/-/issues/329
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • Who's Online

  • Recent Visitors

    • Sam Shaxted
      Sun Sep 13 14:48:09 2026
      from Sittingbourne, Kent via SSH
    • Furryboy
      Sun Sep 13 13:32:38 2026
      from Romania, Galati via SSH
    • Bob Worm
      Sun Sep 13 13:31:58 2026
      from Wales, Uk via Telnet
    • Rixter
      Sun Sep 13 12:01:35 2026
      from Madison, Nc via Telnet
    • Quenix
      Sun Sep 13 01:29:15 2026
      from Qu�bec, Canada via Telnet
    • Rixter
      Sun Sep 13 00:01:34 2026
      from Madison, Nc via Telnet
    • Sam Shaxted
      Sat Sep 12 21:49:00 2026
      from Sittingbourne, Kent via Telnet
    • Sam Shaxted
      Sat Sep 12 21:44:55 2026
      from Sittingbourne, Kent via SSH
  • System Info

    Sysop: Keyop
    Location: Huddersfield, West Yorkshire, UK
    Users: 764
    Nodes: 16 (2 / 14)
    Uptime: 07:34:59
    Calls: 12,752
    Calls today: 6
    Files: 15,355
    Messages: 6,556,532

© >>> Magnum BBS <<<, 2026