• reply.ssjs vs other .ssjs files

    From Retro Guy@1:229/2 to All on Wednesday, August 15, 2018 10:23:49
    From: retro.guy@RETROBBS.remove-b0h-this

    To: DOVE-Net.Synchronet_Discussion
    Hello,

    I run a Synchronet system with a heavily modified web interface. To do
    this I've had to change some of the .ssjs files to match the interface.

    What I found was that it seems all the files honor the setting of whether
    or not to display topnav/leftnav etc., but reply.ssjs does not. It just displays them.

    I've modified my copy for my needs, but didn't know if this is
    intentional, or an oversight (or maybe I have no idea what I'm doing,
    which is always an option). Thought I'd mention it. Clips from the files
    are below.

    reply.ssjs:

    write_template("header.inc");
    load(topnav_html);
    load(leftnav_html);

    other .ssjs files:

    if(do_header)
    write_template("header.inc");
    if(do_topnav)
    load(topnav_html);
    if(do_leftnav)
    load(leftnav_html);
    if(do_rightnav)
    write_template("rightnav.inc");

    I'm running 3.17, Rev A - Feb 20, 2018

    Retro Guy

    ---
    þ Synchronet þ RetroBBS - retrobbs.rocksolidbbs.com
    --- Synchronet 3.17a-Win32 NewsLink 1.110
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net

    --- SoupGate-Win32 v1.05
    * Origin: www.darkrealms.ca (1:229/2)
  • From Digital Man@1:229/2 to All on Wednesday, August 15, 2018 11:31:01
    From: digital.man@vert.synchro.net.remove-wx6-this

    To: Retro Guy
    Re: reply.ssjs vs other .ssjs files
    By: Retro Guy to DOVE-Net.Synchronet_Discussion on Wed Aug 15 2018 10:23 am

    Hello,

    I run a Synchronet system with a heavily modified web interface. To do
    this I've had to change some of the .ssjs files to match the interface.

    What I found was that it seems all the files honor the setting of whether
    or not to display topnav/leftnav etc., but reply.ssjs does not. It just displays them.

    I've modified my copy for my needs, but didn't know if this is
    intentional, or an oversight (or maybe I have no idea what I'm doing,
    which is always an option). Thought I'd mention it. Clips from the files
    are below.

    reply.ssjs:

    write_template("header.inc");
    load(topnav_html);
    load(leftnav_html);

    other .ssjs files:

    if(do_header)
    write_template("header.inc");
    if(do_topnav)
    load(topnav_html);
    if(do_leftnav)
    load(leftnav_html);
    if(do_rightnav)
    write_template("rightnav.inc");

    I'm running 3.17, Rev A - Feb 20, 2018

    Cool. If you want to send me the fixed reply.ssjs I'll check it into CVS for others to use.

    digital man

    This Is Spinal Tap quote #43:
    I feel my role in the band is ... kind of like lukewarm water.
    Norco, CA WX: 81.2øF, 57.0% humidity, 0 mph S wind, 0.00 inches rain/24hrs
    --- Synchronet 3.17a-Win32 NewsLink 1.110
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net

    --- SoupGate-Win32 v1.05
    * Origin: www.darkrealms.ca (1:229/2)
  • From Retro Guy@1:229/2 to All on Thursday, August 16, 2018 10:19:40
    From: retro.guy@RETROBBS.remove-eu2-this

    To: Digital Man
    Re: reply.ssjs vs other .ssjs files
    By: Digital Man to Retro Guy on Wed Aug 15 2018 11:31 am

    Re: reply.ssjs vs other .ssjs files
    By: Retro Guy to DOVE-Net.Synchronet_Discussion on Wed Aug 15 2018 10:23 am

    Hello,

    I run a Synchronet system with a heavily modified web interface. To do this I've had to change some of the .ssjs files to match the interface.

    What I found was that it seems all the files honor the setting of whether or not to display topnav/leftnav etc., but reply.ssjs does not. It just displays them.

    I've modified my copy for my needs, but didn't know if this is intentional, or an oversight (or maybe I have no idea what I'm doing, which is always an option). Thought I'd mention it. Clips from the files are below.


    Cool. If you want to send me the fixed reply.ssjs I'll check it into CVS for others to use.

    digital man

    Done. Hopefully you'll find it in RETROBBS.in If not, it's also here: http://retrobbs.rocksolidbbs.com/files/reply.ssjs.zip (as a zip file)

    This copy works fine for me here. Thanks!

    Retro Guy

    ---
    þ Synchronet þ RetroBBS - retrobbs.rocksolidbbs.com
    --- Synchronet 3.17a-Win32 NewsLink 1.110
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net

    --- SoupGate-Win32 v1.05
    * Origin: www.darkrealms.ca (1:229/2)