matteocontrini I cannot run experiments in production (obviously).
No ofc not. We'll see, I'll still try to look into this, and I'm sure we'll find what the cause is at some point.
matteocontrini I cannot run experiments in production (obviously).
No ofc not. We'll see, I'll still try to look into this, and I'm sure we'll find what the cause is at some point.
askvortsov yes I could enable MySQL logging, which is quite verbose. I'll see what to do
Have an issue where one widget (websockets) is greyed out even though it's not active on the layout anywhere. It originally was, but I disabled due to a bug - however I can't get it back on now.
JSON.stringify(app.widgets)
"{\"widgets\":[{\"key\":\"topPosters\",\"isUnique\":true,\"placement\":\"end\",\"position\":3,\"extension\":\"afrux-top-posters-widget\",\"id\":\"afrux-top-posters-widget:topPosters\"},{\"key\":\"news\",\"isUnique\":true,\"placement\":\"top\",\"position\":1,\"extension\":\"afrux-news-widget\",\"id\":\"afrux-news-widget:news\"},{\"key\":\"forumStats\",\"isDisabled\":false,\"isUnique\":true,\"placement\":\"end\",\"position\":2,\"extension\":\"afrux-forum-stats-widget\",\"id\":\"afrux-forum-stats-widget:forumStats\"},{\"key\":\"onlineUsers\",\"isUnique\":true,\"placement\":\"end\",\"position\":1,\"extension\":\"afrux-online-users-widget\",\"id\":\"afrux-online-users-widget:onlineUsers\"},{\"key\":\"topLikeGivers\",\"isUnique\":true,\"placement\":\"end\",\"position\":3,\"extension\":\"miniflar-top-like-givers-widget\",\"id\":\"miniflar-top-like-givers-widget:topLikeGivers\"},{\"key\":\"WebsocketOnlineUsersWidget\",\"isDisabled\":false,\"placement\":\"end\",\"position\":1,\"extension\":\"kyrne-websocket\",\"id\":\"kyrne-websocket:WebsocketOnlineUsersWidget\"}],\"states\":{\"afrux-top-posters-widget:topPosters\":{},\"afrux-news-widget:news\":{},\"afrux-forum-stats-widget:forumStats\":{},\"afrux-online-users-widget:onlineUsers\":{},\"miniflar-top-like-givers-widget:topLikeGivers\":{},\"kyrne-websocket:WebsocketOnlineUsersWidget\":{}},\"config\":{\"instances\":[{\"id\":\"afrux-news-widget:news\",\"extension\":\"afrux-news-widget\",\"key\":\"news\",\"placement\":\"top\",\"position\":0},{\"id\":\"afrux-forum-stats-widget:forumStats\",\"extension\":\"afrux-forum-stats-widget\",\"key\":\"forumStats\",\"placement\":\"end\",\"position\":0},{\"id\":\"afrux-online-users-widget:onlineUsers\",\"extension\":\"afrux-online-users-widget\",\"key\":\"onlineUsers\",\"placement\":\"end\",\"position\":1},{\"id\":\"afrux-top-posters-widget:topPosters\",\"extension\":\"afrux-top-posters-widget\",\"key\":\"topPosters\",\"placement\":\"end\",\"position\":2},{\"id\":\"miniflar-top-like-givers-widget:topLikeGivers\",\"placement\":\"end\",\"position\":3}],\"disabled\":[\"kyrne-websocket:WebsocketOnlineUsersWidget\"]}}"
ctml Oh I'm guessing it's because the widget doesn't specify the isUnique
value, I should set default values for when they're not provided. I've logged the issue and will look into it when I can afrux/forum-widgets-core6
I have a small request to be able to set mobile access not to load, so that the page access speed can be guaranteed. Because after installing these plugins, I can clearly perceive that the page access speed has become slower. Also, the widget in the mobile interface affects the idea of mobile simplicity, so I wonder if it is possible to develop a small button for setting the mobile interface not to load? Thank you for your consideration and look forward to implementing it!
In the short term, to keep the mobile interface from showing these widgets, I am hiding them with css, but this method does not make access faster and the resources will still load.
giter I do plan to add an option to hide them on mobile, but not for performance reasons, because there is no performance impact, by default the widgets load what they need after the page has loaded, so whether they are hidden or visible on mobile will make no difference performance wise and the page will still load as fast as it did before.
What about allowing one to click on the username to go to that person's profile (for the top posters, and any other widget that lists people). And/or, any plan to one day add the ability to make things this "week" or "year" or "all time," instead of just this month?
Edit: Oh, I see online users does link to profiles. Just the top posters one doesn't. Okay. Not a big deal. Really nice extensions. Thanks!
010101 What about allowing one to click on the username to go to that person's profile (for the top posters, and any other widget that lists people). And/or, any plan to one day add the ability to make things this "week" or "year" or "all time," instead of just this month?
Sometime in the future hopefully
if i set 2,3,4 items in the header or in the footer and go on the smartphone, the items do not go among themselves. there stay in horizontal line.
This patch fixes a bug where database query results were not getting cached because of file permissions making the cache directory not writable and failing silently. With this update, when the cache is not writable an alert is displayed in the extension admin page, and widgets that require the cache will simply safely not work until file permissions are fixed.
@sanwhere this should fix it for you.
@matteocontrini I believe this might be what was causing the problem in your forum last summer , that can only be confirmed if your cache directory is indeed not writable by the forum.
update error;
[UnexpectedValueException]
Only root package requirements can receive temporary constraints and afrux/forum-widgets-core is not one
murdocklawless What are you running and what do you have installed? did you install the bundle or the extensions individually?
here are my extensions, only link preview is disabled and yes I installed them individually.
+--------------------------------+---------+--------+
| Flarum Extensions | | |
+--------------------------------+---------+--------+
| ID | Version | Commit |
+--------------------------------+---------+--------+
| flarum-likes | v1.2.0 | |
| flarum-subscriptions | v1.2.0 | |
| flarum-tags | v1.2.0 | |
| flarum-flags | v1.2.0 | |
| flarum-lock | v1.2.0 | |
| afrux-forum-widgets-core | v0.1.6 | |
| clarkwinkelmann-likes-received | 1.0.0 | |
| fof-follow-tags | 1.1.1 | |
| flarum-suspend | v1.2.0 | |
| flarum-approval | v1.2.0 | |
| v17development-seo | v1.8.0 | |
| v17development-blog | v0.5.0 | |
| the-turk-diff | 1.1.1 | |
| justoverclock-welcomebox | 1.3.5 | |
| justoverclock-user-statistics | 0.1.7 | |
| justoverclock-hashtag | 0.2.2 | |
| ianm-synopsis | 1.2.0 | |
| ianm-html-head | 1.1.0 | |
| ianm-follow-users | 1.0.5 | |
| fof-user-bio | 1.0.2 | |
| fof-upload | 1.1.0 | |
| fof-terms | 1.1.2 | |
| fof-subscribed | 1.0.2 | |
| fof-split | 1.0.1 | |
| fof-sitemap | 1.0.3 | |
| fof-profile-image-crop | 1.0.1 | |
| fof-polls | 1.0.5 | |
| fof-pages | 1.0.1 | |
| fof-merge-discussions | 1.2.1 | |
| fof-links | 1.0.3 | |
| fof-ignore-users | 1.0.2 | |
| fof-formatting | 1.0.2 | |
| fof-drafts | 1.0.3 | |
| fof-doorman | 1.0.1 | |
| fof-disposable-emails | 1.0.0 | |
| fof-default-group | 1.0.1 | |
| fof-byobu | 1.1.1 | |
| fof-best-answer | 1.1.8 | |
| fof-analytics | 1.0.0 | |
| flarum-sticky | v1.2.0 | |
| flarum-statistics | v1.2.0 | |
| flarum-pusher | v1.2.0 | |
| flarum-nicknames | v1.2.0 | |
| flarum-mentions | v1.2.0 | |
| flarum-markdown | v1.2.0 | |
| flarum-lang-turkish | 1.2.0.1 | |
| flarum-emoji | v1.2.0 | |
| flarum-bbcode | v1.2.0 | |
| extiverse-mercury | 0.1.3 | |
| clarkwinkelmann-who-read | 1.4.0 | |
| afrux-top-posters-widget | v0.1.3 | |
| afrux-online-users-widget | v0.1.5 | |
| afrux-forum-stats-widget | v0.1.0 | |
+--------------------------------+---------+--------+