myWeather 2 released (v2.4.8)

Attenzione: version 2.4.8 with multy-city
myWeather 2 finalmente rilasciato.
La versione è pressoché quella della beta, tranne piccole correzioni.
Eccovi una demo:
New York
23°
Tokyo
21°
Rome
24°
Le features attive sono:
- Nuova grafica
- Admin per la ricerca e salvataggio della città su weather
- Multi Città
- Nuovo parser xml
- CSS esterno, cosi da personalizzare facilmente
- Sistema di cache
- Sistema di template
- Multilingua (italiano,english)
- Widger ready (tnx to eti)
- Scelta fra
gradi Celsius e FahrenheitSistema Metrico e Sistema Inglese
Buon download.
Leggi: Come creare un template
Scarica myWeather.psd
Scarica myWeather 2.4.8
Lingue
Con la versione 2.4.8 l’amministrazione ora è tradotta in inglese e in italiano. All’interno del pacchetto troverete il file myweather.pot con cui effettuare nuove traduzioni. Mandatemi le vostre traduzioni a developer@thedeveloperinside.com, e le inseriro nelle prossime versioni.
beta testing
Se ne volete farne parte, inviatemi un email a developer@thedeveloperinside.com con il vostro nome (o nick se volete) e l’indirizzo del vostro blog (se l’avete, ma difficilmente potete non averlo se vi interessa). Non posso pagare, ma sarete citati nel readme.txt. Quando ne farete parte io vi inivieerò, appena disponibile, il pacchetto in beta, così da poterlo testare.
release notes
2.4.8
bug fix
multi-language: Italian, English
2.4.7
reset plugin is always visible
choose metric system or english system
2.4.6.2
fix template
fix xml
new reset plugin
2.4.6.1
fix for php error level
fix for feel like
2.4.6
fix name change in siteurl. Thanks to Eliot Lear.
new cache directory check
new save system
2.4.5
fix file_get_contents (auto switch from CURL on file_get_contents). Thanks to Ryan
2.4.3
fix per template
2.4.1
corretto bug sul sistema di cache
2.4
multy-city
nuovo sistema di cache
grafica adatta alla versione 2.5 di wordpress
gestione plugin spostata da Impostazione a Plugin
bug fix
2.3.4
corretto errore in attivazione per permessi file
2.3.3
corretto errore in installazione (su php 4)
2.3.2
corretto errore in installazione (credo, visto che a me andava anche prima)
2.3.1
xml parser for PHP4
2.3
new xml parser (simplexml)
template manager
working with php5
2.2
bug fix for xml parser
2.1
bug fix for wordpress 2.3
178 commenti
iKite Theme ?? – Xu.hel’s Blog dice:
12/09/2007 alle 06:23
[...] Gravatar?Trackping Separator ?myWeather ??????????????????????????? [...]
Herramientas de acceso a la información meteorológica dice:
16/09/2007 alle 18:44
[...] si nosotros gestionamos nuestro propio servidor con WordPress, podemos optar por plugins como Get Weather o [...]
Tecnologia » Blog Archiv » Herramientas de acceso a la información meteorológica dice:
16/09/2007 alle 18:52
[...] si nosotros gestionamos nuestro propio servidor con WordPress, podemos optar por plugins como Get Weather o [...]
Herramientas para la información meteorológica « Cosas sencillas dice:
17/09/2007 alle 10:12
[...] si nosotros gestionamos nuestro propio servidor con WordPress, podemos optar por plugins como Get Weather o [...]
WordPress Plugins Database » Plugin Details » myWeather dice:
17/09/2007 alle 15:00
[...] Visit [...]
M.S. dice:
24/09/2007 alle 16:30
Hello,
I wanted to thank you for this little but extremely useful plugin.
It was pretty easy to modify it to feet my blog’s layout and for that I’m grateful, but I’d like to have a larger set of weather statuses represented, and I wonder where can I get more information about the classes used in the configuration file (where you grouped them to use the same icon).
Your help would be appreciated.
Eduardo dice:
24/09/2007 alle 19:56
hi MS,
your theme for myWeather is very beautiful.
myWeather return varius parameters:
$locale – Language
$ut – Temperature Scale
$ud – distance scale
$us – velocity/time scale
$up – pressure scale
$city – city name
$time – time
$lat – latitude
$lon – longitude
$suns – sunset
$sunr – sunrice
$zone – zone
$lsup – date
$obst – observatory
$tmp – temperature
$weather – forecast
$icon – forecast icon
$bar_r – pressure
$bar_d – pressure type
$wind_s – wind speed
$wind_gust – wind gust
$wind_t – wind direction (N,S,E,W)
$hmid – humidity (%)
$vis – visibility (distance)
$uv_i – uv ray
$uv_t – ray type
$dewp – Punto di rugiada (in temp)
$moon_icon – moon icon numbers
$moon_t – moon type
use in output string.
Sorry of my English
iKite Theme ?? – Xu.hel’s Blog dice:
28/09/2007 alle 09:55
[...] WordPress 2.3 ??? tag ? Widgets ??????myWeather ?????myWeather [...]
Dave dice:
4/12/2007 alle 06:36
Hi — I am interested in using your myWeather WordPress plug-in, however it doesn’t seem compatible with WordPress 2.3. Do you plan to release a new version in the near future?
Thanks.
The Developer Inside » Blog Archive » myWeather 2.1 dice:
5/12/2007 alle 20:51
[...] Leggi myWeather 2.1 [...]
Guido dice:
6/12/2007 alle 10:24
Ciao, mi fa piacere incontrare sul web un designer napoletano; ma le tue informazioni sono scarse.
Anche io sono di Napoli e da poco per diletto ho realizzato un sito con wordpress; se vuoi vistalo e dammi un commento. Ora sono alla ricerca di miglioramenti e ho trovato il tuo plugin per il tempo; a dire il vero, già ho provato altri plugin per il tempo, ma sarei maggiormente interessato ad un plugin che invece del tempo attuale mi mostri le previsioni (non ti sembra più interessante?).
Comunque, mi sembra molto bello il lavoro fatto per la gallery; io da parte mia sto cercando di realizzare la gallery con l’integrazione con Gallery2 e WPG2, penso sia una ottima soluzione.
Per quanto riguarda le hosting solutions; ho da vari anni un dominio proprietario su Playnet (www.megadimaonline.it), che non mi ha mai dato problemi di sicurezza. Attualmente, però non è aggiornato con l’utilizzo di WP, perchè sto utilizzando Altervista per testare i miei lavori.
Ciao.
Eduardo dice:
6/12/2007 alle 11:14
Caro Guido,
Il sistema myWeather “tecnicamente” ha già al suo interno le previsioni per 5 giorni (oltre le quali weather.com richiede una registrazione)
Pultroppo il parser xml attuale è decisamente complicato per gli elementi oltre il giorno attuale. Passando al parser del PHP5 i problemi sparirebbero, ma anche la compatibilità della plug-in.
Comunque nella nuova versione cercherò di inserire questa opzione.
Per l’host ti ringrazio, ma ho già deciso per bluehost, appena la carta di credito me lo permette.
myWeather widget | Erata.NET dice:
6/12/2007 alle 13:59
[...] MyWeather plugin’s homepage. [...]
eti dice:
6/12/2007 alle 14:01
Ho aggiunto al tuo plugin le funzioni per poterlo utilizare come widget.
Detagli con codice php qua (in inglese):
http://www.erata.net/weblog/programming/2007/12/06/myweather-widget/
Forse nella prosima versione lo poi aggiungere al plugin.
Eduardo dice:
6/12/2007 alle 14:18
Stupendo, non ci avevo proprio pensato.
Se sei daccordo lo inserisco nella prossima versione, naturalmente citandoti fra gli autori (fammi sapere se hai un account su wordpress.com cosi verrai direttamente linkato il tuo profilo)
eti dice:
6/12/2007 alle 14:36
Certo che sono daccordo a inserire le funzioni nella prossima vertione.
Il mio username su wordpress.com e alpinism, pero se vuoi puoi linkare a questo blog – http://www.erata.net
Harold dice:
25/12/2007 alle 16:56
What is the code to the sidebar ?
Thx
Eduardo dice:
27/12/2007 alle 21:45
the code is:
< ?php wp_myweather();?>
flashmotus dice:
4/01/2008 alle 23:29
che piacere conoscere un blogger web developer napoletano, concittadino e collega, sono interessatissimo al tuo myWeather 2.0 che scarico ed installo subito. A proposito spero possa interessarti l’appuntamento del prossimo 26 gennaio a napoli dove stiamo organizzando il primo Napoli Pizza Beta mi permetto di postare il link http://napolipizzabeta.pbwiki.com/FrontPage
a presto
Kurt dice:
28/01/2008 alle 12:04
Hello,
I really like the simplicity of this plugin. When I activate Fahrenheit, the temperature is not displayed. Instead, it displays the following:
1/28/08 4:45 PM EST°
I only need to display the temperature. Is there any way I can fix this? I am running WP 2.3.2.
Thanks.
Eduardo dice:
28/01/2008 alle 12:19
Hello,
You have installed the latest version? If yes, check the template if there is the variable $tmp. 1/28/08 4:45 PM EST ° is the $time.
Kurt dice:
28/01/2008 alle 15:15
Eduardo,
Thanks for the response. I downloaded and installed the latest version of your plugin (V2.1). Where do I look for this variable? In the myweather.php file? Which line? Or should it be in the code which I insert into my sidebar?
Eduardo dice:
28/01/2008 alle 15:42
myweather.php
#line 234
Tell me also that you entered City.
Kurt dice:
28/01/2008 alle 19:58
Eduardo,
Here is my line 234 from the php file:
$weather=’‘.$city.’‘.$tmp.’‘;
It looks like the TMP is correct. The city I am displaying is Abiquiu, New Mexico, USA.
When I change over to Celsius, everything works fine.
I saw that someone on the Wordpress forums was having the same problem with Fahrenheit temperatures.
Eduardo dice:
28/01/2008 alle 20:43
Sorry, it seems, is a error on xml parser.
As soon as possible i fixed then.
Kurt dice:
28/01/2008 alle 20:47
Thanks Eduardo. Looking forward to the update.
Kurt
Dave dice:
30/01/2008 alle 19:03
Every few days, I’ve noticed that the current temperature will not display on the myWeather button. Instead, the date and time are displayed in extra-large type that extends far outside the button. For example, at this moment, the button displays “1/30/08″ in a font that covers the entire length and width of the button, and “11:25 AM EST°” is displayed outside the button. Based on what I’ve seen in past, this problem will correct itself at some point, but it may be an hour or two later. Do you know what causes this problem to occur, and how to prevent it? Thanks.
Eduardo dice:
30/01/2008 alle 19:29
Read starting with this comment.
Dave dice:
30/01/2008 alle 21:05
Thanks, Eduardo. Sorry to have missed the earlier posts….there was a translation problem.
Mauikek dice:
31/01/2008 alle 17:52
Per prima cosa complimenti per my weather.
Chiedo scusa se non sono molto afferrato..non riesco a far funzionare il programma.
Ho installato la plugin e l’ho attivata.
Poi da opzioni ho scelto la mia città Padova,tutto ok.
Sono andato in widgets e in un widget semplice di testo ho incollato
Non vedo in homepage la barra meteo.
Dove sbaglio?Cosa vuol dire: Place this code in your template:
”
in che senso template?
Scusami per la domanda masono nuovo nel mondo wordpress
Grazie in anticipo per l’eventuale risposta.
Eduardo dice:
31/01/2008 alle 18:07
Haaa, finalmente un italiano.
Allora, sono 2 cose diverse. Prima cosa non c’e il supporto widget (ci sarà nella prossima versione, attualmente in sviluppo, ma puoi effettuare questa modifica per inserirla tu: widget support).
Comunque devi semplicemente inserire < ?php wp_myweather();?> (senza spazio fra < e ?) nel tuo template (nella sidebar in generale). Puoi farlo direttamente online da "Aspetto->editor temi”
Mauikek dice:
31/01/2008 alle 18:18
Grazie di cuore per avermi risposto.
O mamma mia..era come temevo…
non prendermi in giro ma non saprei proprio da dove iniziare!!
Ci so andare in editor temi, ma poi?
Quella stringa esattamente dove devo incollarla?
Appena apro editor temi sulla destra ho una serie di opzioni tipo foglio di stile, stile ccs,archivi,testata ecc…quli di quelli devo scegliere?
Non so nulla di editor temi?
Mi puoi aiutare?
Ho cercato anche la tua mail nel tuo blog ma non l’ho trovata.
Volevo mandarti il contenuto del mio tema per farmi indicare dove mettere la stringa.
Scusami ancora il disturbo
Mauikek
Mauikek dice:
31/01/2008 alle 18:52
Aiuto!!!
Vorrei tanto myweather nel mio sito!!!
Eduardo dice:
31/01/2008 alle 18:53
hee, un momento. Devi scegliere sidebar, e poi piazzala dove vuoi e clicca su aggiorna. Se non conosci l’html ci posso fare poco.
mauikek dice:
31/01/2008 alle 19:02
Scusami
Mauikek dice:
31/01/2008 alle 19:18
Chiedo scusa se non conosco l’html.
Ho selezionato barra laterale (Ho wordpress in italiano quindi credo sia quella sidebar)
Ho messo il codice ma a quanto pare non lo salva.Sotto infatti mi dice che se il file fosse scrivibile potrei modificarlo.
allora via ftp mi sono preso il file sidebar.php e l’ho aperto con wordpad e ho messo la stringa,l’ho salvato.
Niente da fare.
Pazienza starò senza il meteo.
Scusa il disturbo.
Eduardo dice:
31/01/2008 alle 19:23
Non volevo certo colpevolizzarti per non conoscere l’html, ma certo non posso dirti come fare via commenti. Non so nemmeno che tipo di tema hai. Comunque se hai messo il codice nella pagina ed hai caricato online basta attivare il plug-in, dovrebbe funzionare perfettamente. Mi raccomando il codice senza lo spazio fra < e ?.
Mauikek dice:
31/01/2008 alle 19:30
Posso chiederti un favore?
Posso mandarti il file sidebar.php via mail?
così lo modifichi tu.
Sempre se non è un disturbo.
Eduardo dice:
31/01/2008 alle 21:56
usa http://phpfi.com/ e poi inviami il link della pagina.
myWeather 2.3 released | The Developer Inside dice:
2/02/2008 alle 21:54
[...] Aggiunto anche il supporto per i widget della sidebar, aggiugendo eti come sviluppatore, essendo venuta a lui l’idea [...]
myWeather: come creare un template | The Developer Inside dice:
6/02/2008 alle 21:02
[...] Ecco a voi la guida per creare un template per myWeather: [...]
Kurt dice:
11/02/2008 alle 17:21
Eduardo,
When I add the new 2.3 version to my sidebar I get the following error:
Fatal error: Cannot instantiate non-existent class: simplexmlelement in /home/ddigger1/public_html/wp-content/plugins/myweather/myweather.php on line 81
I was having the Fahrenheit display problem in 2.1 and thought this version would solve that, but now it is breaking my sidebar completely. Any idea what to do?
Kurt
Eduardo dice:
11/02/2008 alle 17:34
myWeather 2.3 working with PHP 5.
Do you have PHP 5? If not, you aren’t going to be able to use simpleXML.
Kurt dice:
11/02/2008 alle 17:50
Eduardo,
Sorry, I just saw that 2.3 is only good with PHP5. I need to brush up on my Italian! I need 2.2 to solve the xml parser problem. When I download 2.2 from the WP Plugins site I get a bad zip header and no installation folder. Any help?
Eduardo dice:
11/02/2008 alle 17:56
Sorry,the 2.2 has never been released. I am working on a corrected version for PHP 4.
eti dice:
12/02/2008 alle 11:09
E vero che SimpleXMLElement e l’unica cosa per quale il plugin funziona solo con php5 ? Non uso piu php da qualche anno ma immagino che un parser xml deve essistere che funziona con tutte le versioni di php. Forse essiste una versione di SimpleXMLElement per php4. Ancora ci sono alcuni di noi che non possono cambiare php da 4 a 5 sul webserver. Spero che trovi una soluzione per fare il plugin funzionare su php4.
Buon lavoro
Eduardo dice:
12/02/2008 alle 11:16
SimleXML è l’unico motivo per cui funziona su php5, ed esiste una versione da includere per il 4. Ma cambiano delle cose ed non è propriamente leggero. Sto valudando altri parser xml, ma per il 4 sono tutti complicati pare.
Al più presto vedrò di rilasciare la nuova versione retrocompatibile.
myWeather 2.3.1 released senza svn ufficiale | The Developer Inside dice:
12/02/2008 alle 21:50
[...] Leggi myWeather 2.3.1 [...]
Kahil dice:
22/02/2008 alle 23:02
I have tried and tried to get this plugin to work. I get the same error every time…
“Plugin could not be activated because it triggered a fatal error.”
tmadg dice:
1/03/2008 alle 19:48
Could not active plugin, i get an error:
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/tmdag/public_html/blog/wp-content/plugins/myweather/myweather.php on line 104
myWeather 2.3.2 released (v2.3.2) | The Developer Inside dice:
1/03/2008 alle 23:19
[...] Leggi myWeather 2.3.2 [...]
Eduardo dice:
1/03/2008 alle 23:20
try with 2.3.1
tmdag dice:
1/03/2008 alle 23:44
2.3.2 didn’t help with my error :/
Eduardo dice:
1/03/2008 alle 23:57
sorry, but not see this error. Can you be more specific?
tmdag dice:
2/03/2008 alle 00:16
i don’t know how to be more specyfic … I’ve downloaded plugin “myweather.2.3.2.zip”, copied unzipped folder into the wp-content/plugins. And when trying to activate i get error:
Plugin could not be activated because it triggered a fatal error.
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/tmdag/public_html/blog/wp-content/plugins/myweather/myweather.php on line 105
(myweather 2.3.2 and 2.3.3 wordpress)
Eduardo dice:
2/03/2008 alle 01:00
new update, try more.
tmdag dice:
2/03/2008 alle 09:01
plugin activated
it’s ok now
eti dice:
4/03/2008 alle 19:30
Ciao Eduardo,
You may be interested in this update
http://www.erata.net/weblog/programming/2007/12/06/myweather-widget/#update
With this only admin users can change the settings of the plugin.
Eduardo dice:
4/03/2008 alle 20:34
Ho già aggiornato i file. Al prossimo update conterrà anche questa modifica.
Come al solito grazie.
Max Hoffmann dice:
5/03/2008 alle 01:45
Thanks for the great plugin. It looks totally cool. Is there a simple way to run two plugins to display the weather of two different places?
Vladimir dice:
30/03/2008 alle 19:12
I have problem with this plugin…
I got this message when I click “Update config” in admin panel:
Please help, Vladimir
Finalmente Wordpress 2.5 | The Developer Inside dice:
30/03/2008 alle 20:24
[...] effettuato un piccolo bug fix su myWeather, quindi per voi ora c’e la 2.3.4 da scaricare. myWeather dovrebbe essere compatibile al 100% [...]
hela dice:
6/04/2008 alle 08:57
Hi,
your installation side for myWeather on Wordpress.org is incomplete:
1. dl link missing
4. where to place code missing
5. admin usage missing
Thanks
hela
Eduardo dice:
6/04/2008 alle 10:59
hi hela,
download link in a orange button on plugin page.
I rewrote a readme.txt for the wordpress.org page.
Dogan dice:
12/04/2008 alle 04:55
Hi there,
I love the plugin you made, widget works fine, it’s actually awesome.
But i got a little problem, i need to show 2 or more cities on sidebar.
I’m using w.p 2.5 and i only could add the widget one time.. So you got a solution to let it show 2 or more cities ?
Dogan dice:
12/04/2008 alle 04:57
And forgot to ask, i also need to change the width of the widget, how am i gonna do that ?
Dogan dice:
12/04/2008 alle 11:30
just to let you know, i resized the widget, but i still need to add more cities to sidebar.
any help ?
Eduardo dice:
12/04/2008 alle 13:29
Sorry, this version support one city. For more cities you try a old version
1 (on wordpress plugin directory -> myweather -> Other Versions),but i can’t support it. In next version i try to reinsert a more cities support.
sorry for my bad english.
Do?an Özdemir dice:
13/04/2008 alle 09:45
Thanks ! I will try it out.
Dogan dice:
13/04/2008 alle 09:47
oh and again forgot to ask, which version are you talking about ?
Eduardo dice:
13/04/2008 alle 10:36
version 1.0
Dogan dice:
13/04/2008 alle 11:55
Hmm.. 1.0 release is yr first release i guess.. it’s not really good. Whatever i guess, i’ll wait till you the next one released, or try to make it self.
So, thanks, take care!
Jazia dice:
21/04/2008 alle 13:25
quando provo a cercare una città mi da questo errore:
Fatal error: Call to a member function getAllChildren() on a non-object in /misc/15/359/013/341/user/web/blogfirenze.org/wp-content/plugins/myweather/admin.myweather.php on line 133
Eduardo dice:
21/04/2008 alle 14:30
Grazie Jazia per il report dell’errore, ma mi serve sapere anche che versione hai del php installato sul server e che città hai cercato.
Jazia dice:
21/04/2008 alle 15:00
grazie dell’aiuto!
il mio server monta php 5.2.4 e ho provato a cercare firenze
Eduardo dice:
21/04/2008 alle 15:06
E’ il mio lavoro (si fa per dire
). Comunque penso sia dovuto al fatto che essendo la lista inglese non esiste Firenze, ma Florence. Prova così è fammi sapere. Cercherò al piu presto di correggere questo errore.
Jazia dice:
21/04/2008 alle 15:20
niente da fare… mi da lo stesso errore!
grazie ancora dell’aiuto!
piscione75 dice:
22/04/2008 alle 17:44
Complimenti ottimo davvero. Installato e funzionante sia su WP 2.3 che WP 2.5.
Volevo provare la versione 1 per la funzione multi city..
PS: il colore è sempre e solo blu..!? anche se in stile web 2.0 è davvero carina.
ciao
Eduardo dice:
22/04/2008 alle 17:59
Ciao. Per il multi-città devo lavorarci, dalla 1 alla 2 c’è di mezzo un database è non e la cosa più semplice del mondo.
Per il colore la versione attuale supporta i temi. Puoi crearne uno tu (il tutorial è qui).
myWeather 2.4 released, con il multi-città | The Developer Inside dice:
23/04/2008 alle 00:11
[...] Leggi myWeather 2.4 [...]
Anastasios dice:
28/04/2008 alle 23:16
Ciao Eduardo,
Mi piace il tuo plugin ma non funziona al mio siti. Non so perche o se facio qualche sbaglio. Al plugin–> my weather c’e solo un linea di testo e scrive select city. Sotto questo c’e un link (search city) che non funziona. Please help e scusa per mio italiano (Sono Greco)
Eduardo dice:
29/04/2008 alle 09:42
Ciao Anastasios,
Quando lo installi la prima volta c’e sempre solo la riga “Search city” con il campo di testo “insert city name” e il pulsante (submit) “search city”. non è un link. L’ho testato su FF, Safari, IE6 e IE7 è funzionavano perfettamente. Testato anche su wordpress 2.3 e 2.5 dove funzionano perfettamente.
Puoi darmi maggiori informazioni?
Anastasios dice:
29/04/2008 alle 10:47
Grazie per l’ aiuto Eduardo. Si ho capito, il plugin funziona bene ma adesso non si vede bene. Non posso capire perche le photo sonno “out of place”. Potevi vedere la cosa che ti dico se vai al mio sito. Vede il sidebar …
Grazie mille
Eduardo dice:
29/04/2008 alle 10:54
Di nulla. Comunque il problema, guardando l’html del tuo sito, è dovuto a strani doppi o tripli tag html (2 volte strong e un tag left che non uso). Comunque il plug-in funziona con i template, puoi modificarlo tu stesso sia l’html che il css in “\myweather\templates\default”. Comunque potebbe essere un problema di qualche altra tua plug-in.
Un anno di questo blog | The Developer Inside dice:
29/04/2008 alle 20:31
[...] ho effettuato un piccolo update per myWeather, in quanto ho trovato un errore nel sistema di cache. Se usare myWeather 2.4, aggiornate al più [...]
Anastasios dice:
30/04/2008 alle 04:53
Il problema c’e solo se vedi il sito con Firefox. Con IE e Safari il plugin funziona bene.
Grazie
cecilio dice:
7/05/2008 alle 09:29
hi,
i can´t use the plugin. Appears the next message:
Warning: file_get_contents(http://xoap.weather.com/search/search?where=madrid) [function.file-get-contents]: failed to open stream: Connection timed out in /opt/lampp/htdocs/wordpress/wp-content/plugins/myweather/admin.myweather.php on line 164
no city found
i tried several cities and several formats ( like madrid,spain …) without success.
what’s wrong? thank you in advance.
Eduardo dice:
7/05/2008 alle 09:59
myWeather requires the parameter “allow_url_fopen” set on true, in your php.ini. Look at blue “tip” on the php manual.
Cecilio dice:
7/05/2008 alle 17:52
thank you for your quick answer. well, i´m not an expert at all, but in the /opt/lampp/etc/php.ini line 434 appears: allow_url_fopen = on
it´s the rigth file?, the rigth value? ( you said true instead ); I´ve changed to true without success. Should i make a “reload” of the file after edited ?
Rgds
Troy dice:
19/05/2008 alle 22:04
Edguardo,
For some reason my cities can not be found. Is there a way to hard-code my cities in to the php? Or how else would I get them, thanks!
Troy
Troy dice:
19/05/2008 alle 22:21
Ok, it actually can’t find any city. I’m deleting 2.4.1 and trying 2.4.0… I’ll let you know if I have the same problem.
Troy dice:
19/05/2008 alle 22:23
Ok… well, i just installed 2.4.0 and it can’t find any city at all. I’ve even tried Atlanta, GA, even Long Beach, CA. Whats going on ?
Troy dice:
19/05/2008 alle 22:50
Ok, I actually found out my problem. I didn’t realize my server was running PHP4, not 5. Switched it and VOILA! Thanks for a rocking plugin Eduardo.
Alessandro dice:
2/06/2008 alle 17:00
Ciao! Innanzitutto complimenti per la bellissima plugin, davvero molto molto utile e semplice da utilizzare. Però… ho un grandissimo problema, che a quanto pare è già stato segnalato, ma non ho notato una risposta risolutiva. Ecco il problema: tutto funziona benissimo con IE e Safari, ma con Firefox tutto appare “scombinato” e fuori posto. La cosa particolarmente strana è che ciò accade SOLO nella homepage del mio sito, se ad esempio apro la pagina di un post specifico, tutto torna a posto e si visualizza correttamente.
Ecco come si vede: http://i29.tinypic.com/oqdrth.jpg
Ho cercato di dare un’occhiata al codice, ma non sono affatto all’altezza… in ogni caso mi sembra molto strano che possa trattarsi di un problema di codice, proprio in virtù del fatto che il problema si presenta SOLO con Firefox, e SOLO nella homepage!
Mi piacerebbe molto utilizzare questa plugin sul mio sito, ma finchè non riuscirò a risolvere questo problema non la potrò lasciare
Posso sperare in un aiuto? Grazie infinite!
Alessandro
Alessandro dice:
2/06/2008 alle 17:16
Alcuni dati che potrebbero servire:
- Wordpress versione: 2.5.1
- Tema utilizzato: Dilectio ( http://wp-themes.designdisease.com/2007/12/21/dilectio-wordpress-theme/ )
- PHP 5
Eduardo dice:
2/06/2008 alle 18:10
Grazie Alessandro per i complimenti. Purtroppo hai ragione, il problema non è di codice, ma dipende dal css del template. Pensavo di aver corretto e bloccato gli errori più comuni ma mi sbagliavo; è molto difficile stare dietro a tutti i template possibili. Comunque ho committato la 2.4.2, tempo una mezz’ora ed è scaricabile, a cui ho inserito un nuovo pezzo di css, sperando di risolvere i problemi. Fammi sapere.
Alessandro dice:
2/06/2008 alle 23:35
Gentilissimo! Ma non è ancora online o sono io che non la trovo? Grazie!
Alessandro
Eduardo dice:
3/06/2008 alle 19:23
Ora c’è. L’avevo già caricato ieri sera ma non voleva saperne di aggiornarsi.
Alessandro dice:
3/06/2008 alle 19:31
Pessime notizie: il problema persiste. Dimmi se posso esserti utile in qualsiasi modo, se ti servono determinate informazioni per poter analizzare meglio il problema sono a tua disposizione!
Ale
Alessandro dice:
3/06/2008 alle 21:38
Anche la 2.4.3 ha lo stesso problema!!! Maledizione!!!!!
Eduardo dice:
3/06/2008 alle 22:02
Ho trovato l’errore. Mi sono studiato la tua home e ho trovato. C’e un errore nel tuo html, per essere precisi nel post “Giugno 2008 @ RosaDeiVenti”. quando nella home spezza a: E Venerdì 27 Giugno Continua a leggere »
Non chiude lo strong, e ciò distrugge tutto l’html a cascata. Facci caso sotto è tutto in grassetto. Firefox, a differenza di altri browser che tendono ad autocorregersi, fa visualizzare l’errore.
Controlla il more nel tuo articolo.
Alessandro dice:
3/06/2008 alle 22:29
Accidenti… ora do un’occhiata, mi dispiace averti fatto perdere tempo per un errore che era mio!!! Ora do un’occhiata e ti faccio sapere
Mille grazie in ogni caso!
Alessandro dice:
3/06/2008 alle 22:34
AVEVI RAGIONEEEEE! MAMMA MIA QUANTO SONO FELICE! Finalmente posso sfoggiare la plugin in tutto il suo splendore! Sei stato grande, veramente grazie di cuore!
Ale
Dean dice:
6/06/2008 alle 19:09
I would like to place a title onto the existing widget. How would I do that, or is there is a fix for this?
Ryan dice:
15/06/2008 alle 01:15
Hi, this plugin is not working for me. This is the error I am getting when entering a city:
Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /mnt/local/home/delnorte/delnorteoutfitters.com/temp/wp-content/plugins/myweather/admin.myweather.php on line 164
Warning: file_get_contents(http://xoap.weather.com/search/search?where=Oakes,+ND) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /mnt/local/home/delnorte/delnorteoutfitters.com/temp/wp-content/plugins/myweather/admin.myweather.php on line 164
no city found
Ryan dice:
15/06/2008 alle 01:37
ok, so I didn’t see the above comments. it appears to be a php.ini issue?
Ryan dice:
15/06/2008 alle 02:35
This is not working at all.
I’m using WP 2.5.1, server is PHP 5.2
same error I listed above. Any ideas?
Ryan dice:
15/06/2008 alle 03:11
so my host doesn’t support ‘function.file-get-contents’ , they say it is a secruity issue and should not be supported. They say instead to use this cURL which I replaced in your admin.myweather.php
starting at line 161:
$fdata = “http://xoap.weather.com/search/search?where=”.str_replace(” “,”+”,$_POST['code']);
$ch = curl_init();
$timeout = 5; // set to zero for no timeout
curl_setopt ($ch, CURLOPT_URL, $fdata);
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
$file_contents = curl_exec($ch);
curl_close($ch);
// display file
echo $file_contents;
now when I search for a city, I don’t get the error and it echos the city I searched for, but also says “no city found”. So its still not working.
Ryan dice:
15/06/2008 alle 03:30
so the problem is with the ‘function.file-get-contents’ my host (dreamhost) does not support it because they say it is a security threat. They suggest this as a solution:
http://wiki.dreamhost.com/CURL
I replaced line 164 of admin.myweather.php with this CURL alternative and no longer had the error, but it still said “no city found” and that was it.
Eduardo dice:
15/06/2008 alle 12:51
Hello Ryan.
You’re right, but CURL is an extension to activate, not all servers there
have. However, I tried to fix with the 2.4.4 (published soon), which contains an if for CURL.
Sorry for my bad English
Giuseppe dice:
15/06/2008 alle 15:03
ciao Eduardo,
ho provato ad attivare il tuo fantastico plugin, ma niente da fare e mi dà questo errore :
Parse error: syntax error, unexpected T_IF in /web/htdocs/www.atinablog.it/home/wp-content/plugins/myweather/myweather.php on line 30
Eduardo dice:
15/06/2008 alle 15:17
Me ne sono accorto, ho già fatto il commit della 2.4.5. Attendo che venga pubblicata.
Max Hoffmann dice:
15/06/2008 alle 17:09
Thank you very much for adding the multi-city function. This feature is totally usefull!
Giuseppe dice:
15/06/2008 alle 17:20
ancora non va…
Parse error: syntax error, unexpected T_VARIABLE in /web/htdocs/www.atinablog.it/home/wp-content/plugins/myweather/myweather.php on line 32
Eduardo dice:
15/06/2008 alle 17:25
Attendi per favore, c’è un problema con il commit. Ho già effettuato il commit dei file corretti, ma l’attesa del refresh di wordpress può essere lunga. prova a ri-scaricare il file tra 1 ora circa.
Max Hoffmann dice:
15/06/2008 alle 17:26
I got, the same PHP error also. There is just a semi-colon (;) missing on line 31.
Giuseppe dice:
15/06/2008 alle 17:30
ok… era solo per segnalartelo…
Ryan dice:
16/06/2008 alle 04:05
“However, I tried to fix with the 2.4.4 (published soon), which contains an if for CURL. However, I tried to fix with the 2.4.4 (published soon), which contains an if for CURL.”
2.4.4? Isn’t the latest version 2.4.5?
I guess I’ll try the 2.4.4 version then.
Eduardo dice:
16/06/2008 alle 12:23
Version 2.4.4 is not working! Download version 2.4.5. I delete the 2.4.4 from wordpress.org as soon as possible.
Cedric dice:
16/06/2008 alle 18:29
Thanks a lot for this plug-in, it is very usefull!
Ryan dice:
16/06/2008 alle 23:09
ok, I finally got it working.
http://www.delnorteoutfitters.com/temp/?page_id=15
How would you get it to show the States?
Eduardo dice:
17/06/2008 alle 10:12
if you want to see even the state, go to at line 240 and comment like this:
//list($template['city'])=explode(”,”,$template['city']);
Attention, the display may not be correct.
Ryan dice:
18/06/2008 alle 00:02
great, that worked:
http://www.delnorteoutfitters.com/temp/information
Ryan dice:
23/06/2008 alle 18:10
Hi Eduardo,
Is it possible to add myWeather to several pages?
Although, a different city on each page?
So… page_1.html has (myWeather city 1), page_2.html has (myWeather city 2), ect…. ?
Thanks
Eduardo dice:
23/06/2008 alle 21:47
sorry, is not possible.
dan dice:
29/06/2008 alle 16:26
Hi Eduardo – plugin server seems to be down – showed -18 for Bangkok …
Eduardo dice:
29/06/2008 alle 18:09
Sorry, myweather working with a weather.com server. If it does not work, unfortunately I can not do anything. It might be a momentary problem.
Eliot Lear dice:
22/07/2008 alle 14:44
small problem with myweather.php. You set plugin_directory to get_option(’home’). This should be get_option(’siteurl’). That way the wordpress directory doesn’t have to apear at the top level.
Anders dice:
4/08/2008 alle 20:09
Hello!
It just work if i use myweather as a widget… I try to place this code in the template but it doesnt work, what am I doing wrong?
Levien dice:
7/08/2008 alle 17:13
Can you please check?
Fatal error: Call to a member function getElement() on a non-object in /home/content/l/e/v/levien/html/thisisibiza/wp-content/plugins/myweather/myweather.php on line 96
http://www.thisisibiza.com
Eduardo dice:
7/08/2008 alle 17:59
@levien
The problem could be because a temporary error on weaher.com server.
@ Anders
Go to admin->design->widget. Or use <?php wp_myweather();?> in your template.
Dan dice:
28/08/2008 alle 19:16
Hi – still get the same fatal error. Since three weeks now.
Are you able to fix it Eduardo?
Tks – D.
myWeather 2.4.6 | The Developer Inside dice:
29/08/2008 alle 22:00
[...] Leggi myWeather 2.4.6 [...]
Max Forlani dice:
30/08/2008 alle 13:38
Hi,
just did the plugin update to the latest version, but now the admin panel gives errors on two lines (string expected line 16 and 64). Thanks to this, the plugin doesn’t show properly anymore, hence had to disable it.
Please let me know when you have resolved this issue so I can enable it again.
Cheers,
Max
Eduardo dice:
30/08/2008 alle 16:14
Hello Max,
Unfortunately I don’t see these errors, so you may make me screenshot?
Nehemoth dice:
31/08/2008 alle 18:48
Warning: preg_match() expects parameter 2 to be string, array given in /home/.fenton/nehemoth/www.nehemoth.com/wp-content/plugins/myweather/admin.myweather.php on line 16
Warning: unserialize() expects parameter 1 to be string, array given in /home/.fenton/nehemoth/www.nehemoth.com/wp-content/plugins/myweather/admin.myweather.php on line 69
Warning: unserialize() expects parameter 1 to be string, array given in /home/.fenton/nehemoth/www.nehemoth.com/wp-content/plugins/myweather/myweather.php on line 73
I’m receiving those errors.
I like the plugin very much.
Also don’t know if you have seen the weather information from Weather.com which also tell ya how the temp feels like.
For example Santo Domingo, Dominican Republic 31°C
Feels Like
38°C
Which is by far more precisely
Anyway love your plugin
Eduardo dice:
31/08/2008 alle 19:24
@ Nehemoth
For feel like use {FLICK} in your myWeather template.
For error i think that the problem is the php error level too high. However you try 2.4.6.1.
Nehemoth dice:
1/09/2008 alle 01:54
Fatal error: Call to a member function getElement() on a non-object in /home/.fenton/nehemoth/www.nehemoth.com/wp-content/plugins/myweather/myweather.php on line 112
with the new 2.4.6.1
Also I can search for cities but when I Save them just disappear.
Weird
Also in the widget area make a disaster, I have to desactive the plugin so the others works.
Excuse me my poor English
Eduardo dice:
1/09/2008 alle 10:11
I want to released a new version to correct this bug as soon as possible. Meanwhile you can try to delete from the table wp_options lines that begin with “wp_weather” so as to reset all settings.
P.S.
My English is worse than yours.
Nehemoth dice:
2/09/2008 alle 22:41
As I am new to wordpress I will wait for the new version.
Hope you add more options as Humidity or Feels Like as I told ya before
JR dice:
4/09/2008 alle 17:24
Nice plugin,
I have a problem with Internet explorer 7 window resizing, this plugin always keeps its absolute position i.e. it doesn’t move relative to its container (side-bar)
any ideas on how to fix it?
daniel dice:
9/09/2008 alle 22:34
hi! i have the same fatal error with the new version 2.4.6.1 on line 112. there is no change if i delete the settings from the table. argh!
please fix it!
McPace dice:
1/10/2008 alle 00:07
Will you provide the .gifs as .pngs with no background?
McPace dice:
1/10/2008 alle 06:33
Or if you will provide the source files, I will create pngs for you.
Pete dice:
2/10/2008 alle 14:55
Cool – thanks!
Nehemoth dice:
3/10/2008 alle 22:06
Eduardo the version hosted on Wordpress is the 2.4.6.1
Where we can download the next version (2.4.6.2)
Regards
Nehemoth dice:
3/10/2008 alle 22:14
Well, I found it on wordpress
http://downloads.wordpress.org/plugin/myweather.2.4.6.1.zip
Nehemoth dice:
4/10/2008 alle 02:40
Installed the last version, deleted the old information and is working like a charm.
Thank u man
myWeather 2 – WP Plugin Archive dice:
8/10/2008 alle 10:01
[...] myWeather 2 zeigt das aktuelle Wetter in einer Stadt in einem gut gestylten Button an. Es können mehrere Städte zur Anzeige ausgewählt werden. Bookmarks setzen: Diese Icons verlinken auf Bookmark Dienste bei denen Nutzer neue Inhalte finden und mit anderen teilen können. [...]
Jesse dice:
15/10/2008 alle 21:22
Hi, I am using the latest version of your plugin on Wordpress 2.6 and the plugin randomly will lose all its settings and will not display anything on my webpage. If I check phpmyadmin the value for the wp_weather_city option is a:1:{s:5:”Array”;s:0:”";} instead of a zip code or city code.
Also my Array.xml file in the cache folder contains:
Invalid location provided
Any ideas as to why this is happening?
sve dice:
11/11/2008 alle 10:47
Hello
I have create a personal template with the {WIND_S} :: velocità vento,it works but I do not know the units Kph or Knots.
Thank you for response
Eduardo dice:
11/11/2008 alle 11:16
@sve
I think that the unit is mph.
@Jesse
wp_weather_city in db is a serialized array. You can give me the specifications of your server?
Jesse dice:
11/11/2008 alle 17:47
Server is a Linux server running
Apache 2.2.9
PHP Version 5.2.6 CGI/FastCGI
MySQL 5.0.45
Anything else?
Plugin-Tip: myWeather 2.0 » Blogwiese dice:
12/11/2008 alle 10:00
[...] ein Wetter-Plugin ist nicht gerade neu, aber dieses finde ich sehr hübsch, vor allem weil es vom Aussehen her an das Dashboard-Widgets vom Mac [...]
» Wetter Plugin dice:
12/11/2008 alle 14:13
[...] morgen las ich bei Cindy etwas von einem Wetter Plugin zuerst war ich entäuscht, Zürich wollte er nicht finden, aber, da muss man erstmal darauf [...]
sve dice:
12/11/2008 alle 19:31
Is it possible to transform wind units from mph to Km/h in windget
Thanks
SVE
Eduardo dice:
14/11/2008 alle 18:47
@Sve
i insert the conversion in the next release.
@Jesse
Sorry, I have no idea.
sve dice:
14/11/2008 alle 21:40
I made myself conversion mph to kmh and also modified my weather admin for select °F and mph or °C and km/h. And it’s OK
Thank you ,if you want the 2 modified files Myweather.php and myweather-admin.php send me an email.
SVE
Ryan Wahlstrom dice:
21/11/2008 alle 02:56
I was using your widget just fine, really liked it. Then I upgraded to word press 2.6 from 2.5. At same time, I upgraded your widget. No I can get no display. After I select the city and click save – nothing happens – it just leaves everything blank. WOULD LOVE TO HAVE MYWEATHER widget back, please advise.
Eduardo dice:
21/11/2008 alle 11:24
@Ryan
Get last version and click reset plugin
Morten Tillquist dice:
21/11/2008 alle 16:54
Hallo
It a nice WP plugin
Is it possibel to get a PDS-file of the wether logo, so i can make bagground there match my web-site !
Best regards Morten /Denmark
Ryan dice:
22/11/2008 alle 22:17
Eduardo, now I get the following error:
“Huston. We have a problem. Try it!”
This occurs after I search for the city, then select it. When I click save city, it doesn’t work – just leaves blank with above error.
I upgraded to World Press 2.6 (mistake) and that is when the problem started.
Thank you
Bryan??-???? » Wordpress plugin – myWeather 2.4.7 has been released dice:
24/11/2008 alle 17:59
[...] plugin ??????: http://www.thedeveloperinside.com/blog/myweather-20-released/ var adbard_key=”22f618ead71999aacc39f06b24d4f21a”; var abq=2; var abs=1; var aba=0; [...]
myWeather Template: ecco il psd – The Developer Inside dice:
6/12/2008 alle 12:23
[...] Leggi myWeather 2.4.6 [...]
Andrea dice:
6/12/2008 alle 17:59
Salve, è possibile spostare il box dalla barra laterale del blog al template header?
Eduardo dice:
8/12/2008 alle 11:30
La gestione della barra laterale è automatica se usi i widget. Ma tu puoi benissimo inserire il codice <?php wp_myweather();?> nella tua testata per averlo li, o piazzarlo in qualunque tua parte del template.
Luca dice:
29/12/2008 alle 19:13
ciao, ho scaricato la tua widget in locale in wordpress 2.7, ho inserito il codice in sidebar.php e anche in functions.php ma non visualizzo niente.
mi aggiunge solo una riga nella colonna di sinistra ma nient’altro.
E’ un problema legato alla release 2.7 di WP?
se mi puoi aiutare, te ne sarei grato.
ciao
luca
Eduardo dice:
29/12/2008 alle 20:02
Da quello che ho potuto provare, funziona perfettamente con la 2.7.
Posso solo darti questi consigli:
1) Hai messo il codice giusto? Cioè <?php wp_myweather();?> . Puoi anche usare i widget se li usi.
2) Hai inserito almeno una città? Non si sa mai…
3) Non è detto che la plugin funzioni, in quanto richiede che il comando CURL oppure file_get_contents del php possa aprire i file in remoto, il che non è detto.
Luca dice:
29/12/2008 alle 22:12
Grazie x la tua velocissima risposta!
domanda stupida: come faccio a selezionare almeno una città?
Io ho inserito solo il codice
Come faccio a selezionare una città?
Avevo provato una vecchia versione del tuo widget e selezionando il codice di Bergamo riuscivo a vedere correttamente la previsione, ora non più.
Fammi sapere.
Tantissime grazie ancora!
Eduardo dice:
29/12/2008 alle 22:24
No no, dalla vecchia versione è totalmente cambiata. Vai nell’amministrazione e nel menu delle plug-in troverai la voce myWeather. Inserire una cittá è semplice, basta ricercarla con search city ed aggiungere quella che vuoi dal risultato della ricerca.
Luca dice:
29/12/2008 alle 22:36
funziona, fantastico, grazie 1000!!!
En.nicuilie.eu Blogs » Top 1000 WordPress Plugin Authors dice:
31/12/2008 alle 08:33
[...] myWeather [...]
NLC dice:
5/01/2009 alle 12:32
Huston. We have a problem. Try it!
Mi appare questa scritta nella pagina di gestione del plugin. Non mi trova nessuna città!
Uso Wordpress 2.7 su Altervista
Puoi aiutarmi?
jerry dice:
18/01/2009 alle 18:24
using 2.47 on wordpress 2.6.
The wp_myweather_city option is reset every time I load the plugin admin page.
I narrowed down to this piece of code:
if(!@preg_match(”/{/i”,$city) && $city!=”"){
$city=explode(”||”,$city);
$cityname=explode(”||”,$cityname);
$new=array();
$x=0;
foreach($city as $a){
$new[$a]=$cityname[$x];
$x++;
}
$city=serialize($new);
update_option(’wp_weather_city’,$city);
delete_option(”wp_weather_city_name”);
}
Obviously, the “explode” function is wrong as there are no “||” in the serialized value.
If I comment this code (as well as in my_weather.php and if I have only one city, then it works.
roger dice:
19/01/2009 alle 09:49
Hi Eduardo,
Great plugin, I have one problem that my deg numbers are too big and do not fully display. Sorry I am beginner can you advise, cannot see font size in code?
Thanks again,
R.
http://www.emigratetooz.com/
Eduardo dice:
19/01/2009 alle 10:27
@roger: plugin use a css file in your template folder (wp-content/plugins/myweather/templates/default/style.css) and modify “#wp_myweather .wp_myweather em”.
@ jerry: is very very strange, but I will study the situation looking at how to improve the code
sorry for my bad English
laubocheng dice:
10/04/2009 alle 08:21
THANKS FOR YOUR PLUGIN!
gilkudik dice:
11/05/2009 alle 04:40
Hi.
Thanks for this excelent plugin.
What represents each icon?
in the weather.com sdk are 47… are the same?
thanks again