Skip to content
  • Sort by Title

    Feature Requests
    7
    1 Votes
    7 Posts
    313 Views
    E

    @brazzerstop can you share link to your forum so I can get idea of format and number of posts?
    I think can write widget to read all posts, and re-order them.
    I did a small test of this, with the idea that just admin has access to view widget, with click to sort button.

    Technical thoughts:
    What is possible is to read all topicd or posts with write API, e.g.
    https://community.nodebb.org/api/v3/posts/{pid}
    delete them, sort, then rewrite
    But its not best method because new post ids are made.
    I have been wondering whether a bubble sort routine working directly on the database post number field might work. Saves re-writing records, only swapping that field.
    Up till now Ive never managed to get direct Mongo API calls working.
    The NodeBB API however is quite easy to use

  • 0 Votes
    2 Posts
    338 Views
    barisB

    This will be available in 1.18.4 https://github.com/NodeBB/NodeBB/issues/9845

  • 0 Votes
    2 Posts
    1k Views
    D

    https://www.npmjs.com/package/nodebb-plugin-category-sort-by-date

  • Groups - no sorting

    Bug Reports
    3
    0 Votes
    3 Posts
    2k Views
    barisB

    Yeah it might make more sense to use slugs instead of the actual group name when storing the key. Right now when you go to the group page you use a slug in the url and then the code grabs the group name using that slug to load the correct group's data.