• 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. Tags
    3. topics.tpl
    Log in to post
    • All categories
    • fais3000

      API endpoint to get online users and active topics
      Technical Support • users socket topics.tpl • • fais3000

      3
      0
      Votes
      3
      Posts
      205
      Views

      julian

      @scottalanmiller is correct, those numbers are produced on the fly based on active websocket sessions, and not stored anywhere.

      However, you might be interested in https://github.com/barisusakli/nodebb-plugin-browsing-users, which brings a live-list of current users in-topic back to topic.tpl 😄

    • fais3000

      Is there a way to show recent or popular posts from same category?
      General Discussion • topics.tpl widgets related topics • • fais3000

      4
      0
      Votes
      4
      Posts
      206
      Views

      fais3000

      @julian Thanks, I'm aware of suggested topics, we're already using that but it gets topics from other categories too. Which doesn't work when you just want to focus on certain type of topics (a category) only.

    • S

      topics.tpl Missing in Extend - Widget Section
      NodeBB Development • suggested topics recent topics topics.tpl • • srinik

      4
      0
      Votes
      4
      Posts
      552
      Views

      S

      @baris Entered the title in the input box but didn't work.

      Just copied the html code in the container (as specified in your image) ...and it worked out.

      After going through the code ...i came to know that

      <div class="panel-heading"><h3 class="panel-title">{{title}}</h3></div>

      was missing in that ....thus there was no title.

      Thanks 😄

      BTW ... Is there any fix for the Recent Topics issue?

    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