Welcome Guest [Log In] [Register]
Support Staff Recommendation
All communities remaining on zIFBoards/InvisionFree should check their conversion opt-in selection in their Admin CP (menu item Tapatalk Conversion)
(Read More)
We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Multiquote (on) Multiquote (off)
Add Reply
Top 'x' Statistics & Feeds [working]
Topic Started: Dec 7 2017, 07:21 PM (201 Views)
Viral
Member Avatar
Viral
[ *  *  *  *  *  * ]
Name: Top 'x' Statistics & Feeds
Description: Adds a table to the forum which shows various different statistics and board feeds (aka modules, or sections). The modules available are:
  • Overall Top Posters
    • Username
    • Group
    • Last Activity
    • Join Date
    • Posts

  • Today's Top Posters
    • Username
    • Join Date
    • Posts Made Today
    • Percentage of Posts Made Today

  • Newest Members
    • Username
    • Group
    • Last Activity
    • Join Date
    • Posts

  • Most Recently Active Members (a.k.a last online)
    • Username
    • Group
    • Last Activity
    • Join Date
    • Posts

  • Newest Replies
    • Topic Title
    • Username
    • Number of Replies

  • Active Topics
    • Topic Title
    • Topic Starter
    • Forum
    • Number of Replies
    • Number of Views
    • Topic Info (last post date, and member who posted)

Admins can disable any of the sections (and sub-sections), or just set them so they don't show by default. In the table, there is a settings panel where members can then configure the settings for themselves. For example, if an admin turned "Active Topics" off by default, a member can go to the panel and turn it on, and then set it so under this section it shows "Topic Title" and "Topic Starter". Your settings can be configured separately across different devices, so on your small-screen smartphone you could enable only one section instead of three, for example. There is a "reset all" link in the settings panel which will reset all settings to whatever the Admin has set as default.

There is a refresh button which refreshes all sections (and shows some loading text during the process). Alternatively, you can just click the section name to refresh just one section instead of them all (each section also has a loading symbol).

There is also a collapse/ expand button, similar to what forums have. Members can collapse the table if they do not want to see the statistics and expand it again at a later date if they wish. Again, this is device specific - so you can collapse the table on smart phones, and expand it on your laptop (for example). Admins set the table to either expand or collapse by default.

Finally, you can also move the table from the top of the page to the bottom of the page, and vice versa. Admins can choose where the table appears by default.

As you can see, Admins have a lot of control over the default settings of the table - its position, whether its collapsed/ expanded, which modules to show and hide (or even disable). Admins can also change the titles of all sections (and their sub-sections), the loading text, refresh text, title and even how many rows should be shown. For example, you could set the title to "Top 10 Statistics" and tell the table to show 10 rows of data instead of 5. This was originally a premium modification, and is now being offered for free in my "everything should be open-source" movement :) .

Information: This is the only working "Top 'x' Statistics" code available for ZetaBoards now after a recent update caused all similar codes to stop working. The code has also been set up to add extra modules for different statistics and feeds. This option is there for developers to maximise the usefulness of this modification.

PREVIEW

The statistics table:

Posted Image

Main settings:

Posted Image

Module-specific settings:

Posted Image

CODE || INSTALLATION

The code and installation instructions are available on my GitHub page: click here.

More general instructions are here: clicky.

Please give the repository a 'star' if you use the modification :) .
Edited by Viral, Dec 7 2017, 11:25 PM.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · ZetaBoards Codes & Modifications · Next Topic »
Add Reply