Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Tech
  3. Leaderboard on home page?

Leaderboard on home page?

Scheduled Pinned Locked Moved Tech
3 Posts 3 Posters 9 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B This user is from outside of this forum
    B This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #1

    I'm fairly new to NodeBB so forgive me for any gaps in basic knowledge.

    I have the leaderboard plugin but want to display it underneath the category list on my homepage, rather than a whole different route. Sounds like I need to make it into a widget and then add that widget to a region of the page.

    I had a bash at converting the plugin to a widget based on the published instructions for writing a widget, and by comparing with other widgets, but currently my widget doesn't even appear in the available widgets list.

    Can anyone give me an idea of how to achieve what I'm trying to do?

    yariplus@community.nodebb.orgY baris@community.nodebb.orgB 2 Replies Last reply
    0
    • B [email protected]

      I'm fairly new to NodeBB so forgive me for any gaps in basic knowledge.

      I have the leaderboard plugin but want to display it underneath the category list on my homepage, rather than a whole different route. Sounds like I need to make it into a widget and then add that widget to a region of the page.

      I had a bash at converting the plugin to a widget based on the published instructions for writing a widget, and by comparing with other widgets, but currently my widget doesn't even appear in the available widgets list.

      Can anyone give me an idea of how to achieve what I'm trying to do?

      yariplus@community.nodebb.orgY This user is from outside of this forum
      yariplus@community.nodebb.orgY This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #2

      Do you have a repo or code to show?

      1 Reply Last reply
      0
      • B [email protected]

        I'm fairly new to NodeBB so forgive me for any gaps in basic knowledge.

        I have the leaderboard plugin but want to display it underneath the category list on my homepage, rather than a whole different route. Sounds like I need to make it into a widget and then add that widget to a region of the page.

        I had a bash at converting the plugin to a widget based on the published instructions for writing a widget, and by comparing with other widgets, but currently my widget doesn't even appear in the available widgets list.

        Can anyone give me an idea of how to achieve what I'm trying to do?

        baris@community.nodebb.orgB This user is from outside of this forum
        baris@community.nodebb.orgB This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #3

        Another ⌛ reply.

        I've refactored the leaderboard plugin and added a widget. Also updated to run on 4.x.

        image.png

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups