• HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    Menu
    • HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    Get in touch
    Get in touch
    Menu
    • HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    • Sign in
    • Start free trial
    • Get in touch
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    • Documentation
      • Home
      • Read API
      • Write API
      • Plugin Development
    1. Home
    2. thanhtantran
    3. Posts
    T
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 6
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by thanhtantran

    • RE: How to reset the counting of topic and post each categories

      @baris said in How to reset the counting of topic and post each categories:

      In mongo cli, for each category you have to run the below query replacing the correct values.

      db.objects.update({_key: "category:<replace_category_id>"}, {$set: {"topic_count": "<replace_correct_topic_count>", "post_count": "<replace_correct_post_count>"}});

      This works like a charm

      posted in Technical Support
      T
      thanhtantran
    • RE: How to reset the counting of topic and post each categories

      MongoDB

      I am not familiar with this

      posted in Technical Support
      T
      thanhtantran
    • How to reset the counting of topic and post each categories

      Hello,

      I just did the cleaning by delete manually all post and topic in my forum. However, I don't know why now the categories showing negative number of topic and post. Please see the attachment.

      How to reset it to 0?

      posted in Technical Support
      T
      thanhtantran
    • Move nodebb from another server

      Hello,

      Today I tried to move nodebb (mongo) from old server (Ubuntu) to new server (Centos)

      I used nodebb-backup here (https://www.npmjs.com/package/nodebb-backup) to backup and restore it to the new nodebb folder in new server.

      Everything work fine, all data restored. I have to copy extracted file from old backup to new uploads folder (/opt/nodebb/public/uploads).

      But the number of thread and post still not correct in forum index. All categories show number of thread and post as the new forum, but there are all threads and posts there.

      How to update the number of thread and post in forum index. And latest post also (i use Lavender theme)

      posted in Technical Support
      T
      thanhtantran
    • RE: lavender theme shows only one topic per category on the homepage

      I even set to 3 recent replies, my board still display 1 topic on home

      posted in Technical Support
      T
      thanhtantran

    Get Started

    • Product
    • Pricing

    Resources

    • Demo Site
    • Answers
    • Docs
    • Bug Bounty

    Company

    • About
    • Blog
    • Contact
    Start Free Trial
    Github Facebook Instagram Twitter
    © 2014 – 2022 NodeBB, Inc. — Made in Canada.
    • Terms
    • Privacy
    • GDPR
    • DMCA
    • Contact
    Menu
    • Terms
    • Privacy
    • GDPR
    • DMCA
    • Contact