Users page users list



  • We don't use avatars on our NodeBB, and the userpage looks a little ugly.

    0_1524876473866_d1da27bc-7869-4c3c-9c22-44c949a3765a-image.png

    Is it possible to list the users in a way like this (or something)

    ID NAME POSTS REG.DATE STATUS
    1 Fukster 4.951 12-Apr-2017 Admin
    2 Catch 753 15-Apr-2017 User
    3 Elath 15 15-Apr-2017 User
    4 Laphal 1.184 19-Apr-2017 Developer
    5 Soul 9.024 21-Apr-2017 Global Moderator
    6 Cutt 675 22-Apr-2017 Banned
    7 Larky 554 22-Apr-2017 User
    8 JOhn 4.881 24-Apr-2017 User
    9 Coolguy41 2 26-Apr-2017 User
    10 TrustMeImADolphin 61 28-Apr-2017 Moderator


  • @mj i think you can fork your theme and change the .tpl template for the users list page as you wish


  • Admin

    Yes, the path here would be to update your persona's .tpl with a table to list users... alternatively you can override the theme's template with your own template (instead of modifying persona, which might get overridden on an update) via a custom plugin. Let me know if you need help getting started 🙂



  • @julian said in Users page users list:

    Yes, the path here would be to update your persona's .tpl with a table to list users... alternatively you can override the theme's template with your own template (instead of modifying persona, which might get overridden on an update) via a custom plugin. Let me know if you need help getting started 🙂

    Yes please 🙂


  • Admin

    This is the quickstart plugin: https://github.com/NodeBB/nodebb-plugin-quickstart

    You'll want to fork it (or clone it) and replace all instances of "quickstart" with your own plugin, whatever you want to call it.

    There's a templates/ folder in there. Any templates that follow the same directory structure will override the them, so you'l want to copy users.tpl from Persona and change it to show what you want.

    Then you can activate the plugin, build NodeBB, and the users template should be changed.


 

Suggested Topics

| |