Topic Tools

Technical Support

Suggested Topics


  • 0 Votes
    3 Posts
    108 Views

    @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.

    c40c84ac-34ba-4c71-b3dd-d73334f4eec7-image.png

  • 0 Votes
    13 Posts
    561 Views

    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 https://github.com/NodeBB/nodebb-theme-persona/blob/master/templates/topic.tpl#L74

    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
    155 Views

    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 www.zultyscp.com 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
    1k Views

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

  • 0 Votes
    3 Posts
    2k Views

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