New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add "About This Forum" page with statistics, description, admins/mods, etc. #134
Comments
Maybe store it in the cache? We'd have to ensure it's transaction-safe, though... |
Should this be an extension? |
Hmm yes you're right I think it should be a default extension. Cache should work. The way I'm thinking of implementing it is similar to Flarum\Tags\Handlers\TagMetadataUpdater: on certain events, +1 or -1 the numbers (rather than recalculating them completely). Storing in cache would allow them to be recalculated by clearing the cache in case they got out of sync. |
We want to add an "About This Forum" page, probably linked to from the discussion list sidebar, that contains:
What needs to be done:
|
The proposed option to hide specific groups (#845) may impact this part:
Perhaps it would be possible to combine the two into one "Display options" dropdown, the options being:
It's possible that an admin might want to hide the group badge but include the group on the "About this forum" page ... but probably rather unlikely. |
I only did a cursory look but it seems like the cache in Flarum can be local. I.e. specific to a webserver (for example the APC usercache) as opposed to distributed (like Redis/Memcache). If that's the case then storing this in the cache is not going to work properly. Imagine what happens when you have 1000 users online and the cache is cleared 😱 |
@BartVB The caching system in Flarum is minimal right now. They need to improve that before this issue is implemented. |
@tobscure Do you plan to integrate this into https://github.com/flarum/flarum-ext-statistics? |
No, flarum-ext-statistics is purely for admins. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We do this to keep the amount of open issues to a manageable minimum. |
An 'About' page in some form still seems to be a good idea. |
I disagree, I think this is a responsibility of 3rd parties. Keeping core and the amount of core extensions minimal will be beneficial to us, piling yet another core extension onto our to do -- and users waiting for it to be developed -- will only bite us in the long run. Vote for close @flarum/core please review/comment. |
Can't disagree. 😉 It's easy to revive if we ever find the time or the request comes up very often. |
In the left side of the footer, like in esoTalk: show the number of discussions, posts, users, online users.
Need to track this information somewhere (a new "statistics" table?) — counting the tables is flawed, because (1) I believe it requires a full table scan for InnoDB and (2) it would include invisible/private/deketed discussions/posts.
The text was updated successfully, but these errors were encountered: