hehe
What I found to be a problem. The problem to be very trivial.
File lastret.txt not be current, and the date was the September 1.
I probably can not set WXSIM to create this file automatically.
I manually update the file and now everything work.
But I see a small error. On the charts, after moving the cursor, do not display values. I get a blank label.
Can I fix this? How?
To get wxsim to create lastret.txt you need to choose that “Ext Boot”-thingy and at least i had to set up a SS-call what runs WRET before i upload the files. WRET then just starts and automaticly closes itself few seconds later and create the lastret.txt.
For the labels…Humm…
Could it be a css-thingy there? Will add a txt-color the labels and update the zip so we can test, as it seems the texts are defined (the boxes sizes varys) but no text are visible…
Wisse,
And it seems to me that you have a problem with lastret.txt
1st wrong path to the file
or
2nd no current data in the file lastret.txt (that was my problem)
or
3 no file lastret.txt
Hi Henkka, I have managed to get it working great’ish, it was this line
$filea = ‘./plaintext-parser-data.txt’;
it had .php i finally figured it out even though someone told me that 1st time round but i forgot #-o
The data inside the floating tooltip is not showing and i have figured out why but not how to fix…?
This is causing the problem thats in my top.php i think its supposed to be there for the template setup
and it could be that im using the black template and a lot of my data is white hence you cant t see the
data in the tooltip cause its showing white, well thats what i think i the reason is, if i comment out those
2 lines the data appears in the tooltip
Simon,
I see that you have a similar problem with tooltip like me.
Following your suggestion, I change the color of the template to blue. Now you can see the text in tooltip.
So just the opportunity to nominate the color of the font.
Maybe Henkka can suggest how to change it.
One more thing I wonder.
Why Lifted Index is displayed so differently. I have in mind my earlier chart on the page with the forecast http://www.andretti.pl/wxsimforecast.php, and this now being tested http://www.andretti.pl/wxsim_forecast.php.
The older version always verify. And currently do not indicate the possibility of a storm.
The new version shows a very high Lifted Index
That confirmed my tought of what the color-issue was. Should have a fix now where font is forced to black in the tooltip. Zip updated.
Changed file: jquery.wxsim.allinone.js
Hi guys,
i’ve tried to setup this great script but without success :?
First of all: I’ve set the wret like the attachment…is it ok?
Second: here is the link of the script: http://www.meteocarmignano.it/wxnewpage.php Unfortunately it shows only the first part of the script but hour by hour and meteogram not.
Here is my settings:
// Icondir-paths (Yeah, we have 5 sets of them :D)
$iconDir ='wxsim/img/dotvoid_frc/'; // Dotvoid icons
$iconDirb = 'wxsim/img/dotvoid_mini/'; // Dotvoid mini
$bignumbdir = "wxsim/img/bignumb/"; // colorized numbers
$windarrows = "wxsim/img/arrows/"; // windarrows
$uvimg = "wxsim/img/UV_icons/"; // UV-icons
// jQuerydir-path
$jsdir = "jquery/"; // js-folder
// Other paths
$pathtolsparser = 'wxsim/wxsim.allinone.lastretparser.php';
$lastretfile = "./lastret.txt";
$plaintextFile = './plaintext.txt'; // location of the WXSIM plaintext.txt
$filea = 'wxsim/plaintext-parser-data.php';
$fileb = './plaintext-parser-lang-'.$lang.'.txt'; // just change the path, language are detetcred auto
Last question: How to resize the margin of this script?
I’ve tried to change the values in the wxsim.allinone.settings but it remains out of border.
Many thanks in advance,
<?php
/*
WXSIM allinone V. 1.0
Modded and combined WXSIM plaintext.txt and lastret.txt-parser by Henkka, nordicweather.net, July 2010
Orginal plaintext-parser.php script by Ken True - [email protected]
Many thanks also to Snowi & jwwd for testing the script :)
*/
if (isset($_GET['lang']) ) {
$lang=strtolower($_GET['lang']);
}
error_reporting(0);
// Paths to needed files, CHANGE THEESE!
include_once './wxsim.allinone.settings.php';
include_once './wxsim.allinone.functions.php';
// End of settings here
Settings:
<?php
// Settingsfile for combined WXSIM's plaintext.txt-parser & lastret.txt-parser
// Icondir-paths (Yeah, we have 5 sets of them :D)
$iconDir ='./wxsim/img/dotvoid_frc/'; // Dotvoid icons
$iconDirb = './wxsim/img/dotvoid_mini/'; // Dotvoid mini
$bignumbdir = "./wxsim/img/bignumb/"; // colorized numbers
$windarrows = "./wxsim/img/arrows/"; // windarrows
$uvimg = "./wxsim/img/UV_icons/"; // UV-icons
// jQuerydir-path
$jsdir = "./wxsim/jquery/"; // js-folder
// Other paths
$pathtolsparser = './wxsim.allinone.lastretparser.php';
$lastretfile = './forecast/lastret.txt';
$plaintextFile = './forecast/plaintext.txt'; // location of the WXSIM plaintext.txt
$filea = './forecast/plaintext-parser-data.txt';
$fileb = './forecast/plaintext-parser-lang-'.$lang.'.txt'; // just change the path, language are detetcred auto