Author Topic: Meteotemplate - new free website template  (Read 630636 times)

0 Members and 2 Guests are viewing this topic.

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Meteotemplate - New Plugin – Air Quality Forecast Canada
« Reply #7275 on: June 27, 2017, 06:52:43 PM »
New Plugin – Air Quality Forecast Canada

Hi guys,

this new plugin shows air quality forecast for selected Canadian province, supports both English and French.

DEMO: http://www.meteotemplate.com/template/plugins/airQualityForecastCA/index.php

Enjoy

Offline Bashy

  • brecklandweather.com/meteo
  • Forecaster
  • *****
  • Posts: 1465
  • brecklandweather.com/index.php
    • Breckland Weather
Re: Meteotemplate - new free website template
« Reply #7276 on: June 28, 2017, 02:37:57 AM »
Station data for today is showing yesterdays rain at 42mm, todays is 27.6mm so far....

PS, when i choose 24hrs from the drop list its doubles yesterdays amount to 84mm
« Last Edit: June 28, 2017, 03:03:34 AM by Bashy »
Kind regards
Bashy

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - new free website template
« Reply #7277 on: June 28, 2017, 05:17:48 AM »
Hi,
this happens when people set their update intervals too fast and the server is slower and when the next update starts before the previous one is finished, it uses the previous cache file. If this happens at midnight, it will save previous day´s rain over to the next day as well. You need to edit the first entry in the db for that day and change the rain to 0 and if you are using some very short interval for the updates you will probably need to increase it.

Offline Bashy

  • brecklandweather.com/meteo
  • Forecaster
  • *****
  • Posts: 1465
  • brecklandweather.com/index.php
    • Breckland Weather
Re: Meteotemplate - new free website template
« Reply #7278 on: June 28, 2017, 05:32:16 AM »
Its deffo not a slow server I believe its an i5 with 16gb and there is only 5 sites on it,
its not like a 1 and 1 server where theres a 1000+

I remember having to edit the database before as well, cant a check be put in place, i mean
its really obvious that say for example 42mm didnt fall 1 minute after midnight, is there no
way to fail safe this?

Putting that one aside, if i havent used the admin side of the site for say an hour or so, when i
open the menu and choose an admin option, it says im not authorised, yet if i click back and do that
again, it lets me in...
Kind regards
Bashy

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - new free website template
« Reply #7279 on: June 28, 2017, 05:33:35 AM »
This depends on the browser session expiry time and if that happens you must re-create the session, which is done by the homepage script.

Offline Bashy

  • brecklandweather.com/meteo
  • Forecaster
  • *****
  • Posts: 1465
  • brecklandweather.com/index.php
    • Breckland Weather
Re: Meteotemplate - new free website template
« Reply #7280 on: June 28, 2017, 05:34:53 AM »
This depends on the browser session expiry time

Thanks, Can this be adjusted by me somewhere?
Kind regards
Bashy

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - new free website template
« Reply #7281 on: June 28, 2017, 06:02:33 AM »
No, these things are built-in to browsers, I think Chrome uses 20mins

Offline Bashy

  • brecklandweather.com/meteo
  • Forecaster
  • *****
  • Posts: 1465
  • brecklandweather.com/index.php
    • Breckland Weather
Re: Meteotemplate - new free website template
« Reply #7282 on: June 28, 2017, 06:05:37 AM »
Oh, OK,  thanks.
Kind regards
Bashy

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Meteotemplate - IMPORTANT! – Site Backup
« Reply #7283 on: June 28, 2017, 08:12:49 AM »

Offline gillesroszak

  • Contributor
  • ***
  • Posts: 114
  • Qui trop écoute la météo, passe sa vie au bistrot.
    • meteokerbach
Re: Meteotemplate - new free website template
« Reply #7284 on: June 28, 2017, 08:23:26 AM »
it's done. Thanks for the warning

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - new free website template
« Reply #7285 on: June 28, 2017, 08:24:22 AM »
The problem is that I know about 4 users who had this problem, the passwords and everything were unchanged, it seems to be an injection to the menu, but until I see someone´s access log to find the issue I cant really fix it, I checked all the menu related pages, they all require the session and being logged in

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - new free website template
« Reply #7286 on: June 28, 2017, 08:25:08 AM »
This really could be anything, for example both the users told me they were on vacation and Im just wondering, if you connect via public wifi, who knows...

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - new free website template
« Reply #7287 on: June 28, 2017, 09:01:25 AM »
OK, based on two access logs I have seen, this looks like someone guessed the password, re-created the cookie and that logged them in straight because from the access logs I can see they were immediately logged in, the template would ask for password or redirect to login page, but there is no try of that, as a fix for now, i removed the cookie feature, you can dwonload updated header.php, which for now should prevent anyone misusing the cookie. Also then log out of your template and for now you will not be able to use the Remember me feature if you update the new header.

Offline Bashy

  • brecklandweather.com/meteo
  • Forecaster
  • *****
  • Posts: 1465
  • brecklandweather.com/index.php
    • Breckland Weather
Re: Meteotemplate - new free website template
« Reply #7288 on: June 28, 2017, 11:14:55 AM »
Thanks for the Heads UP, Do we know any ip addresses we can block?
Is there a way that if the password is guessed incorrectly it will lock you out (them) and the only
way to rectify that would be to use the FTP, to get their password right, they must have had very
simple passwords......
Kind regards
Bashy

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - new free website template
« Reply #7289 on: June 28, 2017, 11:32:14 AM »
I know the IP, but I dont want to post it here in case they do a Google search and find this thread. For now, just make sure you follow the instructions in the Blog. As far as I can see, it looks like the 3 people might not follow one of the crucial instructions in the wiki, so hopefully this should not affect others, but I would still do what I posted in the Blog.

Offline gillesroszak

  • Contributor
  • ***
  • Posts: 114
  • Qui trop écoute la météo, passe sa vie au bistrot.
    • meteokerbach
Re: Meteotemplate - new free website template
« Reply #7290 on: June 28, 2017, 02:49:04 PM »
Hi guys,
I have a problem with the page "perspective" of meteotemplate look at the screenshot below!!!!
what can it be ?
 [ You are not allowed to view attachments ]

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - new free website template
« Reply #7291 on: June 28, 2017, 05:05:25 PM »
Hi Gilles,
rule number 1 :D Always provide a link please

Offline Bashy

  • brecklandweather.com/meteo
  • Forecaster
  • *****
  • Posts: 1465
  • brecklandweather.com/index.php
    • Breckland Weather
Re: Meteotemplate - new free website template
« Reply #7292 on: June 29, 2017, 12:48:40 AM »
I know the IP, but I dont want to post it here in case they do a Google search and find this thread. For now, just make sure you follow the instructions in the Blog. As far as I can see, it looks like the 3 people might not follow one of the crucial instructions in the wiki, so hopefully this should not affect others, but I would still do what I posted in the Blog.

Thanks, i go it, Looks like they have been reported for WP hacking too a couple of days ago
Could you elaborate please,

Quote
it looks like the 3 people might not follow one of the crucial instructions in the wiki

i.e. which one in case many of us (namely me) may not have done also..?

I have all my sites and the 4 other clients auto backed up to PC here at home, nightly, i think i have it
set to 1 weeks worth, plus 1 monthly, i also have it duplicated on to a backup drive but in the same PC
so hopefully im covered for any eventuality not just the MT situ'

Kind regards
Bashy

Offline gillesroszak

  • Contributor
  • ***
  • Posts: 114
  • Qui trop écoute la météo, passe sa vie au bistrot.
    • meteokerbach
Re: Meteotemplate - new free website template
« Reply #7293 on: June 29, 2017, 04:11:46 AM »

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - new free website template
« Reply #7294 on: June 29, 2017, 05:24:41 AM »
I know the IP, but I dont want to post it here in case they do a Google search and find this thread. For now, just make sure you follow the instructions in the Blog. As far as I can see, it looks like the 3 people might not follow one of the crucial instructions in the wiki, so hopefully this should not affect others, but I would still do what I posted in the Blog.

Thanks, i go it, Looks like they have been reported for WP hacking too a couple of days ago
Could you elaborate please,

Quote
it looks like the 3 people might not follow one of the crucial instructions in the wiki

i.e. which one in case many of us (namely me) may not have done also..?

I have all my sites and the 4 other clients auto backed up to PC here at home, nightly, i think i have it
set to 1 weeks worth, plus 1 monthly, i also have it duplicated on to a backup drive but in the same PC
so hopefully im covered for any eventuality not just the MT situ'

Follow the checklist I posted in the Blog and hopefully you will be fine, in the absolute worst scenario, a backup is always a solution, there is nothing secret in the template so all that can happen is that a certain page does not work. But if you do what I posted in the Blog it should not be a problem.

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Meteotemplate - Block Update – Air Quality Canada 3.0
« Reply #7296 on: June 29, 2017, 07:44:29 AM »
Block Update – Air Quality Canada 3.0

Hi guys,

- the block now automatically adds link to the Air Quality Forecast Canada plugin – if available
- improved CSS
- optimization

Enjoy

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Meteotemplate - Jun 29, 2017 – Q/A
« Reply #7297 on: June 29, 2017, 09:12:53 AM »
Jun 29, 2017 – Q/A

In the top header I can set either the flag image or custom, is there a way to just delete that image completely?

Have you thought about using Postgres database instead of MySQL? It seems to be able to handle more data?

Any news about version 15?

It says that Cumulus supports the API only partially, what does it mean?

Answers in the Blog :-)

Enjoy

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Meteotemplate - New Block – Daily Deviations
« Reply #7298 on: June 29, 2017, 01:50:04 PM »
New Block – Daily Deviations

Hi guys,

in this new block you first select a particular month and year. The script will then draw a graph of daily average temperature and temperature range for the selected month and compare it with the overall average for that particular month and the average for the month of the selected year. It might sound a bit complicated, but once you see it you will get what it does. No setup required.

DEMO: http://www.meteotemplate.com/template/indexBlockDemoWide.php?block=dailyDeviations#/

Enjoy

Offline juppie

  • Member
  • *
  • Posts: 25
Re: Meteotemplate - new free website template
« Reply #7299 on: June 29, 2017, 03:13:45 PM »
Hello Jachym
In the report, the diagrams for temperature, humidity, wind etc. are not displayed.

http://wetter-lehmschlenke.de/template/pages/station/reportDaily.php?d=29&m=06&y=2017

Greeting Juppi