• ecwebv4 - forum threads list off by 1 (newest not shown)

    From Noisome@1:103/705 to echicken on Mon Feb 20 15:41:22 2017
    Howdy.

    I'm trying to read the local forum group for the BBS and I can create a new thread in both the web and terminal, but on the web it won't show the newest thread, but the second to newest.

    Thread1 - Created Feb 20, 2017, 10:30pm - Shown
    Thread2 - Created Feb 20, 2017, 10:31pm - Not Shown

    If I create Thread3 at 10:32pm, then Thread2 will show but Thread3 will not.

    All are visible via a terminal session. No I did not test original Theme. Any suggestions on where to look first?

    ---
    * Synchronet * Digital 52 - Whatever floats...
    * Origin: Vertrauen - vert.synchro.net (1:103/705)
  • From echicken@1:103/705 to Noisome on Mon Feb 20 21:41:04 2017
    Re: ecwebv4 - forum threads list off by 1 (newest not shown)
    By: Noisome to echicken on Mon Feb 20 2017 15:41:23

    I'm trying to read the local forum group for the BBS and I can create a new thread in both the web and terminal, but on the web it won't show the newest thread, but the second to newest.

    I can't reproduce that problem on my system, but I vaguely recall fixing a bug like that a while back. When did you install the web UI or when was the last time you updated?

    All are visible via a terminal session. No I did not test original Theme.

    I'm not sure what you mean about themes, but unless you've modified the Forum page it's unlikely to matter.

    Any suggestions on where to look first?

    Not really. It'll be a bug and not related to any configuration options. Would be helpful to know when you installed / updated, and to confirm that you grabbed it from my GitHub repo and not another.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    * Synchronet * electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - vert.synchro.net (1:103/705)
  • From Noisome@1:103/705 to echicken on Mon Feb 20 19:22:56 2017
    Re: ecwebv4 - forum threads list off by 1 (newest not shown)
    By: echicken to Noisome on Mon Feb 20 2017 09:41 pm

    I can't reproduce that problem on my system, but I vaguely recall fixing a bug like that a while back. When did you install the web UI or when was the last time you updated?

    I downloaded synchronet from cvs last night and built it. I grabbed ecweb4 early today from github. No modifications to files have been made yet other than what scfg configures and moving ecweb4 into the directories following the steps on github.

    ---
    * Synchronet * Digital 52 - Whatever floats...
    * Origin: Vertrauen - vert.synchro.net (1:103/705)
  • From Noisome@1:103/705 to Noisome on Wed Feb 22 21:51:26 2017
    Resolved this by modifying forum.js. I also posted this on github.

    Line 934 for the ./lib/forum.js the m < msgBase needs to be m <= msgBase.

    for (var m = start; m < msgBase.last_msg; m++) {
    for (var m = start; m <= msgBase.last_msg; m++) {

    ---
    * Synchronet * Digital 52 - Whatever floats...
    * Origin: Vertrauen - vert.synchro.net (1:103/705)
  • From echicken@1:103/705 to Noisome on Thu Feb 23 08:38:38 2017
    Re: ecwebv4 - forum threads list off by 1 (newest not shown)
    By: Noisome to Noisome on Wed Feb 22 2017 21:51:26

    Resolved this by modifying forum.js. I also posted this on github.

    Thanks. That and another change have been committed.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    * Synchronet * electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - vert.synchro.net (1:103/705)