Topic Tools

Technical Support

Suggested Topics

  • 0 Votes
    3 Posts

    @Arun-K You can look at the data in the post object in a topic. For example in this topic your post is the main one so it has an index of 0.

    A comment like @PitaJ 's post doesn't have a toPid field so it is a top level reply. I have directly replied your post so my post object has a toPid field.


  • 0 Votes
    13 Posts

    Hmm you should be able to display some content only after the first posts by adding a if in the topic.tpl. For example on this line

    You can add

    {{{ if !posts.index }}} only visible on main post {{{ end }}}

    Since the main posts has an index of 0, that content will only show in the main post.

  • 0 Votes
    1 Posts

    I've had nodebb setup for a bit now and through some bumps and scrapes have always kept it running. After upgrading to V1.13.0 NodeBB would fail to load with a "Internal Server Error". After updating to 1.13.1 the website once again loads, however when trying to view any topics in the forums it times out loading. I've reviewed every possible plugin that could potentially be in the way and disabled several without success. I'm not seeing anything in the logs so may be looking in the wrong place. Everything is fully functional to posting new topics, viewing recent ones, discarding, deleting, purging, and the admin console. The only issue comes when its time to actually open a topic fully. The RSS Feeds properly display all the recent topics and content as well.

    My server is running MongoDB and proxied via nginx behind LetsEncrypt SSL Certificate, and can be seen at however does require a login, there is a single public post informing Guests that a login is required where you can see the issue.

    Any help on where to look for this and assistance in resolving would be appreciated.

  • 0 Votes
    3 Posts

    Yes master branch (accidentally but dont want to have to downgrade) 😄 Thanks

  • 0 Votes
    3 Posts

    Thank you very much, this seems to have done the trick