module weather

Begonnen von algebre, 01 Juni 2007, 23:42:06

⏪ vorheriges - nächstes ⏩

0 Mitglieder und 1 Gast betrachten dieses Thema.

algebre

hi
nice weather module
you can see it here

moskote01

Thank you for sharing :)
Techno & Hiphop Events aus Berlin
docsexlin.de

algebre

who can translate these three lines to german?

<?php
define
("_SELECT_CUNTRY","Click on the country wished to visualize weather information <br />then on the city for more information. ");
define("_INSTALL_FLASH_PLAYER","*** To see this application you must have flash player updated  *** ");
define("_FLASH_PLAYER_LINK"," To update or download flash player click here.");
?>


moskote01

<?php
define
("_SELECT_CUNTRY","Klicken Sie auf das Land für das Sie Wetterinformationen m&ouml;chten <br />Danach w&auml;hlen Sie die Stadt um mehr Informationen zu erhalten. ");
define("_INSTALL_FLASH_PLAYER","*** Um diesen Service nutzen zu k&ouml;nnen ben&ouml;tigen Sie den neuesten Flash-player  *** ");
define("_FLASH_PLAYER_LINK"," F&uuml;r ein update oder download der neusten Flash-player Version klicken Sie bitte hier.");
?>
Techno & Hiphop Events aus Berlin
docsexlin.de

algebre

thank you
this archive contain 3 languages

algebre

small bug fix :BD:

StegRene

#6
.... what Country-Code i have use for Austria ?
___________________________________________

Aaaahhh - i see, you select the country with the aktive language.
Can i change this?

We in Austria speak german, but we don´t want to see the german weather ;)


It´s a nice module, but sorry for my bad english ;)

algebre

hi
open modules/meteo/index.php
line 28
$country = 'AT'; // DE, BNL, BE, DE, GB ... ,
Austria = AT

StegRene

I´ll try it with AT and AUT, but it´s open allways germany ;)
Look at here: http://viennaffairs.at/modules.php?name=meteo

algebre

this bug is fixed in second edition

algebre

country code list ( in french)

http://www.bnf.fr/PAGES/infopro/produits/pdf/codepays.pdf

you can find on the net this list in your language

algebre

line 25-to-30
replace this code :(first version)
$country = strtoupper(_DOC_LANGUAGE);
if ($country != 'FR'  && $country != 'DE') {
//Pour choisir un autre pays en démarrage, changez:  $country = 'BNL';  ou encore $country = 'DE'; etc.
$country = ''; // DE, BNL, BE, DE, GB ... ,
}
$lien = 'http://weather.eu.msn.com/f5/loader19.swf?mode=continent&amp;continent='.$continent.'&amp;lang='.$country.'&amp;defaultCountry='.$country.'&amp;lang='.$country.''; // ne pas modifier -ici-


by:

second version
$lg = strtoupper(_DOC_LANGUAGE);
if ($lg != 'FR'  && $lg != 'DE') {
//Pour choisir un autre pays en démarrage, changez:  $country = 'BNL';  ou encore $country = 'DE'; etc.
$country = 'AT'; // DE, BNL, BE, DE, GB ... ,
}else $country = $lg;
$lien = 'http://weather.eu.msn.com/f5/loader19.swf?mode=continent&amp;continent='.$continent.'&amp;lang='.$lg.'&amp;defaultCountry='.$country.'&amp;lang='.$lg.''; // ne pas modifier -ici-

StegRene

I think, i have the second version ..............

Look here:


$lg = strtoupper(_DOC_LANGUAGE);
if ($lg != 'FR'  && $lg != 'DE') {
//Pour choisir un autre pays en démarrage, changez:  $country = 'BNL';  ou encore $country = 'DE'; etc.
$country = 'AT'; // DE, BNL, BE, DE, GB ... ,
}else $country = $lg;
$lien = 'http://weather.eu.msn.com/f5/loader19.swf?mode=continent&amp;continent='.$continent.'&amp;lang='.$lg.'&amp;defaultCountry='.$country.'&amp;lang='.$lg.''; // ne pas modifier -ici-


.......... but in generated html-code i found:


<script type="text/javascript">
// <![CDATA[
var fo = new FlashObject("http://weather.eu.msn.com/f5/loader19.swf?mode=continent&amp;continent=Europe&amp;lang=DE&amp;defaultCountry=DE&amp;lang=DE", "meteo", "593", "392", "7");
fo.write("flashcontentmeteo");
// ]]>
</script>

algebre

replace with this static code
$lg = strtoupper(_DOC_LANGUAGE);
//Pour choisir un autre pays en démarrage, changez:  $country = 'BNL';  ou encore $country = 'DE'; etc.
$country = 'AT'; // DE, BNL, BE, DE, GB ... ,
$lien = 'http://weather.eu.msn.com/f5/loader19.swf?mode=continent&amp;continent='.$continent.'&amp;lang='.$lg.'&amp;defaultCountry='.$country.'&amp;lang='.$lg.''; // ne pas modifier -ici-

StegRene

Thats the solution! Fine!

:thumbup: a very great modul !

goodssale

#15
guten morgen,
eine frage, ich habe das module installiert bekomme aber die rechten blöcke nicht weg.
in der index.php in zeile 20 ist doch schon $index = 0;
ich habe das mx-rainbow theme.

kann mir bitte jemand auf die sprünge helfen.
grüße heinz

HAT SICH ERLEDIGT HABE IN EINSTELLUNGEN RECHTE BLÖCKE IMMER ANZEIGEN EINGESTELLT :puzzled: :puzzled: :mad2:
Grüße Heinz

David555

Servus zusammen,
bei mir lädt die Flash Datei immer nur bis zum dritten Punkt und dann tut sich nichts mehr?! Egal auf welche Seite dieses Modul installiert ist, immer das gleiche Phänomen.

Würde das Modul gerne mal zu Gesicht bekommen  ;)

Ade
Wer aufräumt ist zu faul zum suchen!

Oscar175

Zitat von: David555 am 09 Juli 2007, 13:03:04
Servus zusammen,
bei mir lädt die Flash Datei immer nur bis zum dritten Punkt und dann tut sich nichts mehr?! Egal auf welche Seite dieses Modul installiert ist, immer das gleiche Phänomen.

Würde das Modul gerne mal zu Gesicht bekommen  ;)

Ade

Hi, das hatte ich auch, bis ich meinen Werbeblocker ausgeschaltet hatte. Hast du vielleicht auch so etwas?
LG Benjamin

David555

Achso, vermutlich Kaspersky  ;) Ich probiers gleich mal!
Wer aufräumt ist zu faul zum suchen!

algebre

hi