Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    1. Home
    2. thanhtantran
    T
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 6
    • Best 0
    • Groups 0

    thanhtantran

    @thanhtantran

    0
    Reputation
    391
    Profile views
    6
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    thanhtantran Follow

    Latest 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