• showmsghdr.js

    From Mortifis@1:103/705 to All on Sat Feb 22 12:03:53 2020
    Perhaps this should be in Synchronet JavaScript, but ...

    Anyone know the flow of message reading using the stock SBBS setup?

    I have been looking at showmsghdr.js and can effectively ignore messages to or from certain people so the Header is not displayed but the message itself is displayed ... so, anyone know which *.js calls showmsghdr.js?

    Thanks ~Mortifis

    ---
    þ Synchronet þ AlleyCat! BBS - http://alleycat.synchro.net:81
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Mortifis on Sat Feb 22 11:53:11 2020
    Re: showmsghdr.js
    By: Mortifis to All on Sat Feb 22 2020 12:03 pm

    Perhaps this should be in Synchronet JavaScript, but ...

    Anyone know the flow of message reading using the stock SBBS setup?

    I have been looking at showmsghdr.js and can effectively ignore messages to or from certain people so the Header is not displayed but the message
    itself
    is displayed ... so, anyone know which *.js calls showmsghdr.js?

    None. It is called via the MsgHdrBodySeparator @-code (by default) in ctrl/text.dat.

    The message *body* display is handled in the C++ source.

    digital man

    Synchronet "Real Fact" #37:
    Synchronet's Windows Control Panel is built with Borland C++ Builder.
    Norco, CA WX: 56.8øF, 71.0% humidity, 0 mph W wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rampage@1:103/705 to Mortifis on Sun Feb 23 11:13:16 2020
    Re: showmsghdr.js
    By: Mortifis to All on Sat Feb 22 2020 12:03:53


    I have been looking at showmsghdr.js and can effectively ignore
    messages to or from certain people so the Header is not displayed
    but the message itself is displayed ... so, anyone know which *.js
    calls showmsghdr.js?

    as noted tangentally in IRC, i think you're too close to the bone there... back up a step to where the messages are being scanned and approached for display and do the detection/skipping there... that way the entire message is skipped in you don't have to do a 2-step boogie to not display the header and body...


    )\/(ark

    ---
    þ Synchronet þ The SouthEast Star Mail HUB - SESTAR
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Mortifis@1:103/705 to Rampage on Mon Feb 24 09:45:03 2020
    Re: showmsghdr.js
    By: Mortifis to All on Sat Feb 22 2020 12:03:53


    I have been looking at showmsghdr.js and can effectively ignore messages to or from certain people so the Header is not displayed
    but the message itself is displayed ... so, anyone know which *.js calls showmsghdr.js?

    as noted tangentally in IRC, i think you're too close to the bone there... back up a step to where the messages are being scanned and approached for display and do the detection/skipping there... that way the entire message is skipped in you don't have to do a 2-step boogie to not display the
    header
    and body...


    DM mentioned that it is hardcoded so the best I can get is not display the header .. thanks for the suggestion, though

    ~Mortifis

    ---
    þ Synchronet þ AlleyCat! BBS - http://alleycat.synchro.net:81
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rampage@1:103/705 to Mortifis on Mon Feb 24 09:08:50 2020
    Re: Re: showmsghdr.js
    By: Mortifis to Rampage on Mon Feb 24 2020 09:45:03


    as noted tangentally in IRC, i think you're too close to the bone
    there... back up a step to where the messages are being scanned
    and approached for display and do the detection/skipping there...
    that way the entire message is skipped in you don't have to do a
    2-step boogie to not display the header and body...

    DM mentioned that it is hardcoded so the best I can get is not
    display the header .. thanks for the suggestion, though

    i was suggesting a C/C++ code change ;)

    one that might possibly morph into a slightly more elaborate twit filtering patch such that a per user twit filter setup would be viable... granted, there's only a few that some consider twits but the feature would be nice and could possible work like the one in GoldED where the message is skipped entirely or the message is displayed with the message body showing "block by twit filter" and offering the option to view the message anyway... depending on the user reading the messages, they might want to read a message from or to an entry in their twit list at times...


    )\/(ark

    ---
    þ Synchronet þ The SouthEast Star Mail HUB - SESTAR
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Mortifis@1:103/705 to Rampage on Mon Feb 24 13:08:58 2020
    Re: Re: showmsghdr.js
    By: Mortifis to Rampage on Mon Feb 24 2020 09:45:03


    as noted tangentally in IRC, i think you're too close to the bone
    there... back up a step to where the messages are being scanned
    and approached for display and do the detection/skipping there...
    that way the entire message is skipped in you don't have to do a
    2-step boogie to not display the header and body...

    DM mentioned that it is hardcoded so the best I can get is not
    display the header .. thanks for the suggestion, though

    i was suggesting a C/C++ code change ;)

    LOL, well, hacking the *.c is out of my scripting realm :-)

    ---
    þ Synchronet þ AlleyCat! BBS - http://alleycat.synchro.net:81
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)