Datitisev Admin Dashboard

License Latest Stable Version Donate
This extension re-designs the administration dashboard.

Screenshots:

Install

composer require datitisev/flarum-ext-dashboard

Usage

Just enable the extension!

Features

  • User, post & discussion count
  • Check for extension updates without composer!
  • [Developers] Add Your Own Widgets (post)
    • Now on Flarum core

To Do

  • Last 5/10 Users & Discussions
  • Remove side nav & order extensions by category (keyword), settings on click, etc...

Links

GitHub

    It seems that delete user or discussion will cause some mess of the count number

    Also if you create a new discussion in a category set as not shown on front page, dashboard won't update.

      Hey, it seems nice. ?
      Sure, it will be a great extension.

      Like Arcadia, posts counter is angry rigt now huhu...
      Imgur

      Thanks!

        Arcadia Hiob
        Yeah, I know that if you delete ethernet either users or discusiones the count will not be precise anymore.
        Right now, that number is the id of the last user & discussion created on the forum that is publicly accessible (no deleted discussions).
        In the future I may set up a new (and single) route to count entries in the database, but for now, you can get an idea


        Also, it doesn't show the post number because /API/posts currently returns 500

        Arcadia Also if you create a new discussion in a category set as not shown on front page, dashboard won't update.

        Great catch! Thanks!

        As I said before, I may fix this:

        In the future I may set up a new (and single) route to count entries in the database, but for now, you can get an idea

        But who really cares about those "test" (or unseen) posts ? ?


        PS: Updated original post with screenshots

        11 days later

        UPDATE v0.1.0-beta.3 IS HERE

        BRINGS OPPORTUNITIES FOR EXTENSION DEVELOPERS


        I've just released v0.1.0-beta.3, and while I haven't made much visual changes... I've added a very necessary feature: The Ability To Extend An Extension

        Now, any developer who wants to add a widget to the dashboard page, can do so.
        I will make a tutorial shortly, and will post it on the repository wiki
        Tutorial has been posted as How To Add Your Own Widget


        Detailed but less interesting changelog:

        • Added HEAD comment to PHP files
        • Added availability to add custom widgets via ItemList and custom component
        • Changed widgets from Dashboard* to Widget*
        • Added a items list to the dashboard page for sections
        • Created a DashboardSection component for external extensions to use when adding widgets to dashboard

        Very very nice job ! Do you recommend install it now, or wait inclusion as part of news admin UI ? in Beta 6 ?

          chrix Sorry for the late reply.
          This is my own extension, this won't be as part of the new Admin UI in beta.6.
          This, right now, just adds some content to the dashboard, and people can create their own widgets too.
          In the future, this extension will totally change the admin interface, regardless if there is a new admin ui or not.
          Remember that you can uninstall this extension if beta.6 does come with a better admin UI.

            datitisev Thanks for reply. I'll try your extension. I hope you'll continue to improve it.

            2 months later

            Duncan No, it isn't... It's only broken in the latest dev-master. Can you delete all cache possible?

            Caches:
            1. Delete storage/cache
            2. Delete assets/*.js
            3. Browser Cache

            Disable & Enable the extension and log out & log in.

            See if it gets resolved.

            3 months later

            UPDATE v0.1.0-beta.4 IS HERE

            SUPPORT FOR FLARUM beta.6!


            datitisev/flarum-ext-admindashboard@v0.1.0-beta.4 brings support for Flarum beta.6 and says good bye to Flarum beta.5.
            It also has a few bugfixes.
            Sorry about this update being late, I hop from project to project and forget some of them...


            Detailed but less interesting changelog:

            • Added icon, color, and background color to the extension's square in Admin > Extensions
            • Updated code for Flarum beta.6; dropped support for beta.5
            • Updated README to have information and added an extending section which links to the wiki on How To Create Your Own Widget (added in v0.1.0-beta.3)
            • Fixed locale datitisev-dashboard.admin.settings.title having no translation
            5 days later

            Hi!
            I get this 'error':

            Extension	Version Installed	New Version
            hyn/flarum-default-group	0.5.0	0.3.0
            
              a month later

              Hi, thank for your work.

              In my Dashboard, i can view 6 users while i have 5 users because i have deleted 1 user.

              When you get users total number, you use user id ?