$SITE['WDdateMDY'] = false;$SITE['WDdateMDY'] = true;
--
You received this message because you are subscribed to the Google Groups "wview" group.
To view this discussion on the web visit https://groups.google.com/d/msg/wview/-/MapXEv7H_YwJ.
To post to this group, send email to wv...@googlegroups.com.
To unsubscribe from this group, send email to wview+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/wview?hl=en.
Hi,I have installed the world-base & vview plugin but when I try to open the wxindex.php it shows this error:Fatal error: Call to undefined function print_css_style_menu() in/homepages/40/d300554888/htdocs/meteocam/Saratoga/menubar.phpon line 101Any suggestions?Jordi
On 4 July 2012 04:35, SaratogaWX <webmaster@saratoga-weather.org> wrote:
The WV-plugin for wview software to use the Saratoga-Weather free AJAX/PHP website templates is now available
at http://saratoga-weather.org/wxtemplates/index.php
Since wview does not currently offer FTP uploads except at one interval, I'd not developed a realtime/AJAX addition yet. Pedro has been working on a
addon that generates a Weather-Display-like clientraw.txt and uploads it at a frequent interval. When he's finished packaging it, we'll do an AJAX routine
for it.. the template set is already marked-up to support AJAX.
An additional feature provided is the display of yesterday min/max temperatures and times, along with yesterday's rain value. wview does not currently
have direct variables supporting this, but the generated NOAA-style climate report does, so the data is extracted from yesterday's NOAA report.
Do let me know your results on installing/running the template with wview plugin .. I'd be pleased to list your website along with other sites using the template set.
Enjoy and best regards,
Ken
--
That's great, David. Let me know when you've migrated it to the final URL and I'll add your site to the list :)
Best regards,
Ken
On Thursday, July 5, 2012 12:56:49 PM UTC-7, Wowzer wrote:
Hi Ken,
Thanks for the info. So far the dev site is looking good, http://bartlesvilleweather. com/wxdev/. Plan is to migrate all changes to http://bartlesvilleweather. com/ when complete.
Regards,
David
--
You received this message because you are subscribed to the Google Groups "wview" group.
To view this discussion on the web visit https://groups.google.com/d/msg/wview/-/mFbNwjrT77AJ.
To post to this group, send email to wv...@googlegroups.com.
To unsubscribe from this group, send email to wview+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/wview?hl=en.
##########################################################################
# end of configurable settings
##########################################################################
?>
#
if(file_exists("Settings-language.php")) { include_once("Settings-language.php"); }
else { // use defaults built-in
# Multilanguage support constants - please do NOT change the settings below
# DO NOT CHANGE THESE SETTINGS
$SITE['installedLanguages'] = array (
'af' => 'Afrikaans',
'bg' => 'български език',
'ct' => 'Català',
'dk' => 'Dansk',
'nl' => 'Nederlands',
'en' => 'English',
'fi' => 'Suomi',
'fr' => 'Français',
'de' => 'Deutsch',
'el' => 'Ελληνικά',
'ga' => 'Gaeilge',
'hu' => 'Magyar',
'it' => 'Italiano',
'no' => 'Norsk',
'pl' => 'Polski',
'pt' => 'Português',
'ro' => 'limba română',
'es' => 'Español',
'se' => 'Svenska',
);
# DO NOT CHANGE THESE SETTINGS
$SITE['ISOLang'] = array ( // ISO 639-1 2-character language abbreviations from country domain
'af' => 'af',
'bg' => 'bg',
'ct' => 'ca',
'dk' => 'da',
'nl' => 'nl',
'en' => 'en',
'fi' => 'fi',
'fr' => 'fr',
'de' => 'de',
'el' => 'el',
'ga' => 'ga',
'it' => 'it',
'hu' => 'hu',
'no' => 'no',
'pl' => 'pl',
'pt' => 'pt',
'ro' => 'ro',
'es' => 'es',
'se' => 'sv',
);
# DO NOT CHANGE THESE SETTINGS
$SITE['langCharset'] = array( // for languages that DON'T use ISO-8859-1 (latin) set
'bg' => 'ISO-8859-5',
'el' => 'ISO-8859-7',
'hu' => 'ISO-8859-2',
'ro' => 'ISO-8859-2',
'pl' => 'ISO-8859-2',
'ru' => 'UTF-8',
'gr' => 'UTF-8'
);
# DO NOT CHANGE THESE SETTINGS
$SITE['WULanguages'] = array ( // for WeatherUnderground forecast supported languages
'af' => 'afrikaans',
'bg' => 'bulgarian',
'ct' => 'catalan',
'dk' => 'danish',
'nl' => 'dutch',
'en' => 'english',
'fi' => 'finnish',
'fr' => 'french',
'de' => 'deutsch',
'el' => 'greek',
'ga' => 'gaelic',
'hu' => 'hungarian',
'it' => 'italian',
'no' => 'norwegian',
'pl' => 'polish',
'pt' => 'portuguese',
'ro' => 'romanian',
'es' => 'espanol',
'se' => 'swedish',
);
# End - multilanguage support constants
# Now prune the installedLanguages based on langavail selection
$tarray = array();
foreach ($SITE['langavail'] as $n => $k) {
if(isset($SITE['installedLanguages'][$k])) {
$tarray[$k] = $SITE['installedLanguages'][$k];
}
}
$SITE['installedLanguages'] = $tarray;
# end prune the installedLanguages based on langavail selection
#
} // end use default language specs
# set the Timezone abbreviation automatically based on $SITE['tzname'];
# Set timezone in PHP5/PHP4 manner
if (!function_exists('date_default_timezone_set')) {
putenv("TZ=" . $SITE['tz']);
// print "<!-- using putenv(\"TZ=". $SITE['tz']. "\") -->\n";
} else {
date_default_timezone_set($SITE['tz']);
// print "<!-- using date_default_timezone_set(\"". $SITE['tz']. "\") -->\n";
}
$SITE['tzname'] = date("T",time());
if($SITE['allowThemeSwitch']) {
# begin Color Theme Switcher Plugin by Mike Challis
# http://www.642weather.com/weather/scripts.php
include_once('include-style-switcher.php');
$SITE['CSSscreen'] = validate_style_choice();
# end Color Theme Switcher Plugin
} else {
session_start(); // for preservation of language settings.
if ($SITE['CSSwideOrNarrowDefault'] == 'wide') {
$_SESSION['CSSwidescreen'] = 1;
$CSSstyle = str_replace ('.css','-wide.css',$SITE['CSSscreenDefault']);
} else {
$_SESSION['CSSwidescreen'] = 0;
$CSSstyle = str_replace ('.css','-narrow.css',$SITE['CSSscreenDefault']);
}
$SITE['CSSscreen'] = $CSSstyle;
}
# Automatic Info we might need
############################################################################
if(isset($_SERVER['REMOTE_ADDR'])) {$SITE['REMOTE_ADDR'] = $_SERVER['REMOTE_ADDR'];}
if(isset($_SERVER['REMOTE_HOST'])) {$SITE['REMOTE_HOST'] = $_SERVER['REMOTE_HOST'];}
if(isset($_SERVER['DOCUMENT_ROOT'])) {$SITE['WEBROOT'] = $_SERVER['DOCUMENT_ROOT'];}
if(isset($_SERVER['REQUEST_URI'])) {$SITE['REQURI'] = $_SERVER['REQUEST_URI'];}
if(isset($_SERVER['SERVER_NAME'])) {$SITE['SERVERNAME'] = $_SERVER['SERVER_NAME'];}
$SITE['remote'] = "onclick=\"window.open(this.href,'_blank');return false;\"";
$SITE['PHPversion'] = phpversion();
// default settings needed for various pages when the weather software plugin is not installed.
// do not change these
$SITE['WXsoftwareURL'] = '#';
$SITE['WXsoftwareLongName'] = '(unspecified)';
$SITE['WXtags'] = '';
# now fetch the weather software settings if it exists
if(isset($_REQUEST['wx']) and file_exists('Settings-weather-'.strtoupper($_REQUEST['wx']).'.php')) {
include_once('Settings-weather-'.strtoupper($_REQUEST['wx']).'.php');
} elseif(file_exists("Settings-weather.php")) {
include_once("Settings-weather.php");
}
?>
Hi,
I've unzipped again the Base-World and view plugin and copied all the content on my site; I've configured my wview in order to generate the WVtags.php and it runs, but it still gets the error when I start wxindex.php...I don't know what happens...The site where I've unzipped all the stuff is: http://meteocam.jordicorbella.com/saratogaAnd the error is:Fatal error: Call to undefined function print_css_style_menu() in/homepages/40/d300554888/htdocs/meteocam/saratoga/menubar.phpon line 101Thanks
To unsubscribe from this group, send email to wview+unsubscribe@googlegroups.com.
$SITE = array();
############################################################################
# Sitewide configuration - website style and features
############################################################################
To view this discussion on the web visit https://groups.google.com/d/msg/wview/-/lxvZHB3KW6sJ.
To unsubscribe from this group, send email to wview+un...@googlegroups.com.
$SITE['latitude'] = '41.4'; //North=positive, South=negative decimal degrees
$SITE['longitude'] = '-2'; //East=positive, West=negative decimal degrees
$SITE['cityname'] = 'METEOCAM';
$SITE['tz'] = 'America/Los_Angeles'; //NOTE: this *MUST* be set correctly to
$SITE['latitude'] = '41.3857'; //North=positive, South=negative decimal degrees
$SITE['longitude'] = '2.1699'; //East=positive, West=negative decimal degrees
$SITE['cityname'] = 'Barcelona';
$SITE['tz'] = 'Europe/Madrid'; //NOTE: this *MUST* be set correctly to
$SITE['WXSIM'] = true; // Set to false if you have not installed WXSIM
$SITE['WXSIM'] = false; // Set to false if you have not installed WXSIM
//*
$SITE['WUforecasts'] = array(
/*
$SITE['WUforecasts'] = array(
(until you have filled out the multi-city forecast area with stations of your own choosing, then change the '/*' back to '//*' to enable the $SITE['WUforecasts'] to work again.$SITE['EUwarningURL'] = 'http://www.meteoalarm.eu/index3.php?area=DK004&day=0&lang=en_UK';
$SITE['EUwarningURL'] = 'http://www.meteoalarm.eu/en_UK/0/0/ES001-Barcelona.html';
$SITE['lang'] = 'en'; // default language for website to use
$SITE['lang'] = 'es'; // default language for website to use
$SITE['conditionsMETAR'] = 'KSJC'; // set to nearby METAR for current conditions icon/text
$SITE['conditionsMETAR'] = 'LEBL'; // dist=7 mi (11 km), dir=NW, Barcelona Airport, Spain elev=6, dated=05-JUL-11
$SITE['DavisVP'] = true; // set to false if not a Davis VP weather station
$SITE['UV'] = true; // set to false if no UV sensor
$SITE['SOLAR'] = true; // set to false if no Solar sensor
$SITE['DavisVP'] = false; // set to false if not a Davis VP weather station
$SITE['UV'] = false; // set to false if no UV sensor
$SITE['SOLAR'] = false; // set to false if no Solar sensor
Hi!It was the error!Two questions:- I use the Spanish plugin but the actual conditions in Summary/temperature is always in English (Few clouds)...- Do not actualise the conditions itself automatically every x minutes? Is it necessary reload the page every time?Thank You for your help!Jordi Corbella
To view this discussion on the web visit https://groups.google.com/d/msg/wview/-/xugKZf9-OAAJ.
To unsubscribe from this group, send email to wview+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/wview/-/xugKZf9-OAAJ.
To unsubscribe from this group, send email to wview+un...@googlegroups.com.
'bg', // bulgarian
// 'ct', // 'catalan',
'dk', // 'danish',
'bg', // bulgarian
'ct', // 'catalan',
'dk', // 'danish',
$SITE['lang'] = 'es'; // default language for website to use
$SITE['lang'] = 'ct'; // default language for website to use
--
You received this message because you are subscribed to the Google Groups "wview" group.
To view this discussion on the web visit https://groups.google.com/d/msg/wview/-/OVY1wARnxBMJ.
To post to this group, send email to wv...@googlegroups.com.
To unsubscribe from this group, send email to wview+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/wview?hl=en.
--
You received this message because you are subscribed to the Google Groups "wview" group.
To view this discussion on the web visit https://groups.google.com/d/msg/wview/-/cGK5y01EulQJ.
To post to this group, send email to wv...@googlegroups.com.
To unsubscribe from this group, send email to wview+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/wview?hl=en.