• exec/showmsgavatar.js

    From rswindell@VERT to CVS commit on Wed Jan 10 20:37:33 2018
    exec showmsgavatar.js NONE 1.1
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv3749

    Added Files:
    showmsgavatar.js
    Log Message:
    This script may be used in place of showmsghdr.js if you already have a
    custom msghdr.asc and want to continue to use it (with avatars). Just add @exec:showmsgavatar@ (uppercase) below your custom header in msghdr.asc.



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thu Apr 11 07:03:12 2019
    exec showmsgavatar.js 1.2 1.3
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv5835

    Modified Files:
    showmsgavatar.js
    Log Message:
    Use the new bbs.msghdr_top_of_screen property to determine if the avatar should be shown at the top of the screen or relative to the bottom of the header.



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sun Apr 28 06:52:36 2019
    exec showmsgavatar.js 1.3 1.4
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv27654

    Modified Files:
    showmsgavatar.js
    Log Message:
    Don't show avatars to users whose terminals don't support EX-ASCII



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tue Jun 4 02:02:09 2019
    exec showmsgavatar.js 1.5 1.6
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv13792

    Modified Files:
    showmsgavatar.js
    Log Message:
    Add support for a "default sub-board" avatar (sub_default) in the [avatars] section of modopts.ini (the value is base64-encoded avatar data). If
    the <sub_code>_default or <group_name>_default keys exist, those defaults will be used as appropriate (both <sub_code> and <group_name> are lower-case).
    The avatar options ([avatars] section) of modopts.ini is cached (in bbs.mods) for performance reasons, so changes require a log-off/on to see.



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tue Jun 11 04:27:55 2019
    exec showmsgavatar.js 1.7 1.8
    Update of /cvsroot/sbbs/exec
    In directory cvs:/home/rswindell/sbbs/exec

    Modified Files:
    showmsgavatar.js
    Log Message:
    Fixed bug when viewing email msgs from users without an avatar:
    !JavaScript .../showmsgavatar.js line 27: TypeError: msg_area.sub[sub] is undefined



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Sun Nov 22 21:20:18 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/7260c60c966480016e8a1b3f
    Modified Files:
    exec/showmsgavatar.js
    Log Message:
    Allow configurable placement of avatar in message headers

    Set the following in the modopts.ini [avatars] section:
    msghdr_draw_top (default is true)
    msghdr_draw_above (default is true)
    msghdr_draw_right (default is true)

    Set any of these to false to override the default behavior -
    for DesotoFireflite (VALHALLA).

    This commit also includes a couple of changes I've been apparently
    sitting on:
    - display avatars even for non-ANSI/non-CP437 terminal users
    - cache the smbdefs.js in bbs.mods.smbdefs (I don't recall why)

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net