× Benvenuti sul nostro forum su Sint Wind PI!

Postate qui domande o segnalate problemi / bug che riscontrate,

file Template Saratoga

More
9 years 8 months ago #4490 by roberto2011
Replied by roberto2011 on topic Template Saratoga
Leggi bene la documentazione.
C'è tutto quello che ti serve .
Come creare il db nel tuo hosting. Le istruzione SQL ect ect

Sensori Davis +BME280 + Raspberry b+ webCam serrasanta.fleanet.it (Eremo di Serrasanta - Gualdo Tadino - 1.340 m s.l.m.)

Please Log in to join the conversation.

  • antosere10
  • antosere10's Avatar
  • Visitor
  • Visitor
9 years 8 months ago #4491 by antosere10
Replied by antosere10 on topic Template Saratoga
potresti darmi un link predefinito

Please Log in to join the conversation.

More
9 years 8 months ago #4492 by roberto2011
Replied by roberto2011 on topic Template Saratoga

Sensori Davis +BME280 + Raspberry b+ webCam serrasanta.fleanet.it (Eremo di Serrasanta - Gualdo Tadino - 1.340 m s.l.m.)
The following user(s) said Thank You: antosere10

Please Log in to join the conversation.

  • antosere10
  • antosere10's Avatar
  • Visitor
  • Visitor
9 years 8 months ago #4493 by antosere10
Replied by antosere10 on topic Template Saratoga
roberto ti ringrazio ci sono riuscito ora funziona ma ho ancora un piccolo problemi no l'icona del termometro non c'è se puoi dai un occhiata

Please Log in to join the conversation.

  • antosere10
  • antosere10's Avatar
  • Visitor
  • Visitor
9 years 8 months ago - 9 years 8 months ago #4495 by antosere10
Replied by antosere10 on topic Template Saratoga
ROBERTO scusa ma credo di avere grossi problemi, sono riuscito a farlo leggere al database ora ho queste 3 cose

1 thermometer non funziona non si vede l'immagine
2 le fasi lunari non funzionano
3 alba e tramonto rimane fisso a 1

per quanto riguarda php.ini e via dicendo e tutto apposto, poiche il sito del meteo è posizionato sul mio server ddicato poichè facciamo hosting
puoi darmi una mano a far partire questo template, please.
Last edit: 9 years 8 months ago by antosere10.

Please Log in to join the conversation.

  • Campo
  • Campo's Avatar
  • Visitor
  • Visitor
9 years 8 months ago #4497 by Campo
Replied by Campo on topic Template Saratoga
ciao, è possibile fare un refresh alla pagin index.php cosi da avere gli ultimi dati senza premere F5 o ricaricare la pagina?

Please Log in to join the conversation.

  • antosere10
  • antosere10's Avatar
  • Visitor
  • Visitor
9 years 7 months ago #4500 by antosere10
Replied by antosere10 on topic Template Saratoga
perfetto ci sono riuscito e funziona tutto un grazie a ROBERTO B)

meteo.flynet-tech.net

Please Log in to join the conversation.

More
9 years 6 months ago #4607 by ciapa85
Replied by ciapa85 on topic Template Saratoga
salve, ho installato il template saratoga, ancora devo aspettare che mi arrivi l'rfm01 per collegare il swpi direttamente alla mia pce.
attualmente ho impostato il swpi in modalità simulazione.
Ho caricato sul sito la cartella SWPI che trovo nei download e l'ho configurata per caricare i dati sul database, poi ho caricato anche la cartella del template saratoga.
la mia domanda era questa: se cancella la cartella SWPI dal sito e mantengo solo quella del template i dati me li carica lo stesso sul database? sono arrivato a capire che sicuramente il file meteo.txt lo devo far caricare sulla nuova cartella, il file config penso che vada bene quello che c'è, ma il file swpi_logger lo devo aggiungere o no?
Grazie

Please Log in to join the conversation.

More
9 years 6 months ago #4660 by pierpis
Replied by pierpis on topic Template Saratoga
Visto che parliamo di Template Saratoga vorrei chiedere una informazione, questa:
Si può inserire la maschera Saratoga in un articolo (pagina) di Joomla?
Perchè fra poco sono pronto al passaggio Saratoga/Joomla.... e non vorrei perderlo del tutto, mi piacerebbe aprirlo in un click da un pulsante.
Solo la maschera che vi posto in allegato.
Grazie

Sensori PCE-FWS20, DVB-T 820T2 SDR, BMP085, Raspberry Pi mod. B www.meteoportocervo.it (Abbiadori Porto Cervo - Arzachena - OT) 108 m s.l.m.)
Attachments:

Please Log in to join the conversation.

More
9 years 5 months ago - 9 years 5 months ago #4675 by ragugo
Replied by ragugo on topic Template Saratoga
@pierpis
Guarda se ti può andare bene così

www.praiadofrances.net.br/it/home/stazione-meteo.html

In Joomla
1) Crea un Modulo Wrapper inserendo in posizione una tua nuova posizione es. stazione-meteo, inserisci in URL l'URL completo www.tuosito/meteo/wxindex.php
2)Controlla se hai il Plugin Load Modules attivato
3)Crea un articolo inserendo con il text editor {loadposition stazione-meteo}
Guarda le immagini allegate
Così a me funziona.

Attachment joomla.jpg not found

Attachments:
Last edit: 9 years 5 months ago by ragugo.

Please Log in to join the conversation.

More
9 years 5 months ago #4677 by pierpis
Replied by pierpis on topic Template Saratoga
Ciao ragugo, ti ringrazio della risposta
Non volevo inserire tutto il template saratoga, ma solo la parte dei dettagli stazione, ovvero la parte centrale.
Se guardi il sito che ho appena pubblicato, col pulsante "Old Site" ho tentato di fare quello che volevo..... non sono riuscito a farlo come avrei pensato ma una bozza l'ho fatta-

www.meteoportocervo.it

Ciao e grazie ancora

Sensori PCE-FWS20, DVB-T 820T2 SDR, BMP085, Raspberry Pi mod. B www.meteoportocervo.it (Abbiadori Porto Cervo - Arzachena - OT) 108 m s.l.m.)

Please Log in to join the conversation.

More
9 years 5 months ago #4701 by ragugo
Replied by ragugo on topic Template Saratoga
Un saluto a tutti
ho un problemino col template Saratoga non riesco a fare visualizzare il forecast, le ho provate di tutte ma niente da fare chi sa dirmi cosa attivare e in quale file per farlo funzionare correttamente?

questo è il link www.praiadofrances.net.br/it/home/stazione-meteo.html
se poi da menu vado in Dettagli previsionali mi appare questo

Attachment Schermata2014-11-04alle21.19.08.png not found

Attachments:

Please Log in to join the conversation.

More
9 years 5 months ago #4733 by mabo1966
Replied by mabo1966 on topic Template Saratoga
Salve,
ho anche io utilizzato il template Saratoga, seguendo le indicazioni, tutto ok , ma come ad altri il termometro non funziona. Qualcuno ha qualche consiglio?
Grazie e Saluti a tutto il forum
link: www.mabo1966.altervista.org/wxindex.php

Please Log in to join the conversation.

More
9 years 5 months ago #4761 by Roberto Vaccaro
Replied by Roberto Vaccaro on topic Template Saratoga
Ciao Roberto
ho implementato sul mio sito il template saratoga



ma, non riesco a visualizzare le previsioni. Cosa sto sbagliando?

Please Log in to join the conversation.

More
9 years 4 months ago #4771 by roberto2011
Replied by roberto2011 on topic Template Saratoga
ciao roberto scusa il ritardo. puoi darmi il link??

Sensori Davis +BME280 + Raspberry b+ webCam serrasanta.fleanet.it (Eremo di Serrasanta - Gualdo Tadino - 1.340 m s.l.m.)

Please Log in to join the conversation.

More
9 years 4 months ago - 9 years 4 months ago #4773 by Roberto Vaccaro
Last edit: 9 years 4 months ago by Roberto Vaccaro.

Please Log in to join the conversation.

More
9 years 4 months ago #4774 by roberto2011
Replied by roberto2011 on topic Template Saratoga
DEvi sostituire il file WU-forecast.php con questo

Attachment WU-forecast_2014-12-03.zip not found



Forecast richiede una key per l'utilizzo con pochi click la generi.
Ciao Ciao

Sensori Davis +BME280 + Raspberry b+ webCam serrasanta.fleanet.it (Eremo di Serrasanta - Gualdo Tadino - 1.340 m s.l.m.)
Attachments:

Please Log in to join the conversation.

More
9 years 4 months ago #4775 by pierpis
Replied by pierpis on topic Template Saratoga
Scusate l'intromissione.... :( :(
Ho ancora in rete il vecchio sito www.meteoportocervo.it/Base-World1/index.php che non stà funzionando più da tempo, ma che gli è capitato?
Forse l'attivazione del nuovo www.meteoportocervo.it lo ha disturbato?
Vorrei riattivarlo per avere un collegamento tra i due.
Qualcuno può capirci qualcosa?
Grazie

Sensori PCE-FWS20, DVB-T 820T2 SDR, BMP085, Raspberry Pi mod. B www.meteoportocervo.it (Abbiadori Porto Cervo - Arzachena - OT) 108 m s.l.m.)

Please Log in to join the conversation.

More
9 years 4 months ago #4776 by Roberto Vaccaro
Replied by Roberto Vaccaro on topic Template Saratoga

roberto2011 wrote: DEvi sostituire il file WU-forecast.php con questo

Attachment WU-forecast_2014-12-03.zip not found



Forecast richiede una key per l'utilizzo con pochi click la generi.
Ciao Ciao


è una cosa già fatta, comunque ho provato a sostituire ugualmente il file ma senza sucesso. Unico dubbio è dove metter la key

$SITE = '123456777';

Aggiungerla nel config nel setting o nello stesso WU-forecast ?

Io sono su Aruba, non è che ci sia qualche incompatibilità?

Please Log in to join the conversation.

More
9 years 4 months ago #4777 by Roberto Vaccaro
Replied by Roberto Vaccaro on topic Template Saratoga

pierpis wrote: Scusate l'intromissione.... :( :(
Ho ancora in rete il vecchio sito www.meteoportocervo.it/Base-World1/index.php che non stà funzionando più da tempo, ma che gli è capitato?
Forse l'attivazione del nuovo www.meteoportocervo.it lo ha disturbato?
Vorrei riattivarlo per avere un collegamento tra i due.
Qualcuno può capirci qualcosa?
Grazie


Mi pare che tua stia mandando il file meteo.txt nella root meteoportocervo.it
il template è in meteoportocervo.it/Base-World1/ prova a cambiare la path nel config.php

$JSONfile = '../meteo.txt'; // Path file meteo.txt

Please Log in to join the conversation.

More
9 years 4 months ago #4778 by roberto2011
Replied by roberto2011 on topic Template Saratoga
La key api va inserita alla riga 109 del file WU-forecast.php
$WUAPIkey = 'specify-for-standalone-use-here';
importante cartella cache in lettura e scrittura.

Sensori Davis +BME280 + Raspberry b+ webCam serrasanta.fleanet.it (Eremo di Serrasanta - Gualdo Tadino - 1.340 m s.l.m.)

Please Log in to join the conversation.

More
9 years 4 months ago #4779 by roberto2011
Replied by roberto2011 on topic Template Saratoga
@pierpis
nel file config hai scritto
$JSONfile = /home/meteo111/public_html/swpi/meteo.txt
sostituisci con
$JSONfile = ../swpi/meteo.txt

ciao ciao

Sensori Davis +BME280 + Raspberry b+ webCam serrasanta.fleanet.it (Eremo di Serrasanta - Gualdo Tadino - 1.340 m s.l.m.)

Please Log in to join the conversation.

More
9 years 4 months ago #4780 by pierpis
Replied by pierpis on topic Template Saratoga

roberto2011 wrote: @pierpis
nel file config hai scritto
$JSONfile = /home/meteo111/public_html/swpi/meteo.txt
sostituisci con
$JSONfile = ../swpi/meteo.txt

ciao ciao


:( :( Ho guardato nella config di Base-World1..... ma è già cosi come mi hai consigliato o devo cercarlo in altra config?

Sensori PCE-FWS20, DVB-T 820T2 SDR, BMP085, Raspberry Pi mod. B www.meteoportocervo.it (Abbiadori Porto Cervo - Arzachena - OT) 108 m s.l.m.)

Please Log in to join the conversation.

More
9 years 4 months ago - 9 years 4 months ago #4781 by Roberto Vaccaro
Replied by Roberto Vaccaro on topic Template Saratoga

roberto2011 wrote: La key api va inserita alla riga 109 del file WU-forecast.php

$WUAPIkey = 'specify-for-standalone-use-here';
importante cartella cache in lettura e scrittura.

ti allego la parte di codice come la ho io ma sempre nulla di fatto
//    $doIncludeWU = true;
//    include("WU-forecast.php");  for just the text
//  or ------------
//    $doPrintWU = false;
//    include("WU-forecast.php");  for setting up the $WUforecast... variables without printing
//
//  or ------------
//    $doIncludeWU = true;
//    $doPrintHeadingWU = true;
//    $doPrintIconsWU = true;
//    $doPrintTextWU = false
//    include("WU-forecast.php");  include mode, print only heading and icon set
//
// Variables returned (useful for printing an icon or forecast or two...)
//
// $WUforecastcity 		- Name of city from WU Forecast header
//
// The following variables exist for $i=0 to $i= number of forecast periods minus 1
//  a loop of for ($i=0;$i<count($WUforecastday);$i++) { ... } will loop over the available 
//  values.
//
// $WUforecastday[$i]	- period of forecast
// $WUforecasttext[$i]	- text of forecast 
// $WUforecasttemp[$i]	- Temperature with text and formatting
// $WUforecastpop[$i]	- Number - Probabability of Precipitation ('',10,20, ... ,100)
// $WUforecasticon[$i]   - base name of icon graphic to use
// $WUforecastcond[$i]   - Short legend for forecast icon 
// $WUforecasticons[$i]  - Full icon with Period, <img> and Short legend.
//
// Settings ---------------------------------------------------------------
//REQUIRED: a WU API KEY.. sign up at http://www.wunderground.com/weather/api/
$WUAPIkey = 'mykey1234567890mykey'; // use this only for standalone / non-template use
// NOTE: if using the Saratoga template, add to Settings.php a line with:
//    $SITE['WUAPIkey'] = '';
// and that will enable the script to operate correctly in your template
//
$iconDir ='./forecast/images/';	// directory for carterlake icons './forecast/images/'
$iconType = '.jpg';				// default type='.jpg' 
//                            		use '.gif' for animated icons from http://www.meteotreviglio.com/
//$iconDir ='';					// set to '' to use the Wunderground icons instead
//
//
$WU_URL = 'http://italian.wunderground.com/weather-forecast/zmw:00000.10.16120';
//
// The optional multi-city forecast .. make sure the first entry is for the $WU_URL location
// The contents will be replaced by $SITE['WUforecasts'] if specified in your Settings.php

/*

Dimenticavo... la cartella cahe ha tutti i permessi, infatti ci trovo files .txt aggiornati
Last edit: 9 years 4 months ago by Roberto Vaccaro.

Please Log in to join the conversation.

More
9 years 4 months ago #4782 by roberto2011
Replied by roberto2011 on topic Template Saratoga
io non ho cambiato il wu_url, non credo centri nulla ma prova a lasciarlo cosi. cancella i file nella cache e vediamo che combina :)

$WU_URL = ' www.wunderground.com/global/stations/06075.html ';

Sensori Davis +BME280 + Raspberry b+ webCam serrasanta.fleanet.it (Eremo di Serrasanta - Gualdo Tadino - 1.340 m s.l.m.)

Please Log in to join the conversation.

More
9 years 4 months ago #4783 by roberto2011
Replied by roberto2011 on topic Template Saratoga
@perpis
crea l'api key per Weather Underground.

Sensori Davis +BME280 + Raspberry b+ webCam serrasanta.fleanet.it (Eremo di Serrasanta - Gualdo Tadino - 1.340 m s.l.m.)

Please Log in to join the conversation.

More
9 years 4 months ago #4785 by Roberto Vaccaro
Replied by Roberto Vaccaro on topic Template Saratoga

roberto2011 wrote: io non ho cambiato il wu_url, non credo centri nulla ma prova a lasciarlo cosi. cancella i file nella cache e vediamo che combina :)

$WU_URL = ' www.wunderground.com/global/stations/06075.html ';


Fatto, mi ricrea questi files:
Attachments:

Please Log in to join the conversation.

More
9 years 4 months ago #4789 by roberto2011
Replied by roberto2011 on topic Template Saratoga
Sembra funzionare tutto,
www.iw1pur.com/swpiweb/check-fetch-times.php

Forse qualche problema di aruba prova a settare
allow_url_fopen su on
tramite file .htaccess aggiungendo la seguente riga di codice: php_value allow_url_fopen On

ciao ciao

Sensori Davis +BME280 + Raspberry b+ webCam serrasanta.fleanet.it (Eremo di Serrasanta - Gualdo Tadino - 1.340 m s.l.m.)

Please Log in to join the conversation.

More
9 years 4 months ago #4791 by Roberto Vaccaro
Replied by Roberto Vaccaro on topic Template Saratoga
Sì .... ma il mio host è windows, mi pare che .htacces non ci sia

Please Log in to join the conversation.

More
9 years 4 months ago #4792 by roberto2011
Replied by roberto2011 on topic Template Saratoga
Da pannello di controllo sito personalizza php.ini
allow_url_fopen = on

Sensori Davis +BME280 + Raspberry b+ webCam serrasanta.fleanet.it (Eremo di Serrasanta - Gualdo Tadino - 1.340 m s.l.m.)

Please Log in to join the conversation.

Time to create page: 0.782 seconds