Justoverclock Geo Weather Want to know what's the weather out there? Don't you want to go out to check? Dear lazy boy...here is the solution! A Flarum extension. Add a weather widget to Flarum...and you can remain seated! Multilanguage support Usage Register your free api key on http://api.openweathermap.org/ and paste the generated key into extension settings. Installation Install with composer: composer require justoverclock/geo-weather:"*" Updating composer update justoverclock/geo-weather:"*" php flarum cache:clear Links Packagist GitHub
Justoverclock Ffuser1 i've tried both api, city name and geographical coordinates, and i get the same result, actual code is based on geographical coordinates (and i get device location)
Ffuser1 Justoverclock I'm definitely adding this. It's a well thought out extension. Can you make it to show current date and possibly auto updating time as well?
Ffuser1 It's not showing on mobile. I feel it would be nice if it shows in one of the following locations on mobile: -just below the forum logo -or below the login/username in the sidebar
Justoverclock Ffuser1 yes Iβve added a css that u can easily override, because I was not sure how to show on mobile I will try some solutions Here the code to override @media only screen and (max-width: 992px) { .weather{ display: none; } }
Ffuser1 Justoverclock I edited it to display from none to inline. It showed above discussion lists at the top of the page. I don't know how to make it to show just above Fof links at the side for mobile only. The display position is good for desktop.
tankerkiller125 This is pretty damn neat! I won't lie I enjoy seeing the weather on websites and stuff I visit. Although currently a mute point since Windows 10 now has it in the task bar. However it seems that Win 11 removed it from the task bar again so who knows!
[deleted] Justoverclock Mega challenge world be a dedicated page with clocks in different time zones and weather for each... π (throws down gauntlet, then calmly walks away...) π€
Ralkage Packing some major heat with this extension @Justoverclock !π One minor suggestion would be to make it so that the widget doesn't show when the API key isn't entered in the extension settings. Right now, it shows up regardless if an API key is set or not and just shows the temp as 0.
Justoverclock Ralkage interesting, how can I do this? Never used before i can check if the api key field is null or empty.
Justoverclock 0.1.4 Fixed SetInterval error on console composer update justoverclock/geo-weather:"*" php flarum cache:clear