FriendsOfFlarum / forum-statistics-widget

Add a forum statistics widget to the sidenav section of your Flarum forum.
MIT License
8 stars 2 forks source link

Statistics goes to top #2

Open tolgaaaltas opened 4 years ago

tolgaaaltas commented 4 years ago

My Widget Order is -200 but if i visit any profile and go back to home, Forum Statistics Widget goes to top.

Ralkage commented 4 years ago

@tolgaaaltas what other extensions do you have that add additional widgets other than Tags? (The Online Users extension doesn't have a priority number set btw if you have that extension installed by chance).

tolgaaaltas commented 4 years ago

No, Here's my php flarum info

Flarum core 0.1.0-beta.11.1
PHP version: 7.2.24-0ubuntu0.18.04.3
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, pcntl, Reflection, SPL, sodium, session, standard, mysqlnd, PDO, xml, bcmath, bz2, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, intl, json, exif, mysqli, pdo_mysql, Phar, posix, pspell, readline, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlwriter, xsl, zip, Zend OPcache
+---------------------------------+----------------+--------+
| Flarum Extensions               |                |        |
+---------------------------------+----------------+--------+
| ID                              | Version        | Commit |
+---------------------------------+----------------+--------+
| fof-follow-tags                 | 0.3.4          |        |
| tolgaaaltas-lang-turkish        | 0.11.2         |        |
| nikovonlas-web-push             | v0.1.0-beta.9  |        |
| flarum-tags                     | v0.1.0-beta.11 |        |
| flagrow-analytics               | 0.8.0          |        |
| noriods-auto-more               | 0.3.0          |        |
| flarum-pusher                   | v0.1.0-beta.9  |        |
| michaelbelgium-discussion-views | v3.1.0         |        |
| amaurycarrade-syndication       | v0.3.1         |        |
| flarum-bbcode                   | v0.1.0-beta.8  |        |
| flarum-emoji                    | v0.1.0-beta.10 |        |
| squeevee-fancybox               | 0.2-beta       |        |
| flagrow-sitemap                 | 0.2.0          |        |
| flarum-likes                    | v0.1.0-beta.9  |        |
| fof-formatting                  | 0.1.4          |        |
| flarum-suspend                  | v0.1.0-beta.10 |        |
| jordanjay29-summaries           | 0.3.1          |        |
| xelson-chat                     | dev-master     |        |
| fof-forum-statistics-widget     | 0.1.1          |        |
| fof-links                       | 0.2.1          |        |
| fof-merge-discussions           | 0.3.3          |        |
| reflar-webhooks                 | 0.2.1          |        |
| fof-pages                       | 0.3.0          |        |
| fof-polls                       | 0.1.1          |        |
| fof-transliterator              | 0.2.0          |        |
| fof-user-directory              | 0.3.3          |        |
| flarum-lock                     | v0.1.0-beta.9  |        |
| flarum-subscriptions            | v0.1.0-beta.9  |        |
| flarum-sticky                   | v0.1.0-beta.9  |        |
| flarum-statistics               | v0.1.0-beta.9  |        |
| v17development-seo              | 1.1            |        |
| flarum-markdown                 | v0.1.0-beta.10 |        |
| flarum-mentions                 | v0.1.0-beta.10 |        |
| franzl-open-links-in-new-tab    | v0.1.0         |        |
| clarkwinkelmann-passwordless    | 1.0.3          |        |
| reflar-cookie-consent           | 0.2.0          |        |
| flagrow-impersonate             | 0.2.0          |        |
| fof-upload                      | 0.8.2          |        |
| flarum-flags                    | v0.1.0-beta.10 |        |
| fof-disposable-emails           | 0.1.0          |        |
| the-turk-diff                   | 0.1.0-beta.6   |        |
| fof-nightmode                   | 0.4.0          |        |
| fof-byobu                       | 0.4.1          |        |
| clarkwinkelmann-who-read        | 1.0.0-beta1    |        |
| tolgaaaltas-turkish             | 0.1.57         |        |
+---------------------------------+----------------+--------+
Base URL: https://zincirsiz.net
Debug mode: ON
Ralkage commented 4 years ago

Hi @tolgaaaltas,

Sorry for the delay!

Ordering items on the sidebar is a bit finicky right now seeing as each item either has a hard-coded sort order (in Flarum core or community extensions) or one simply isn't present and defaults to 0. I'll try to come up with a solution and keep you posted 👍