To upgrade from version v1.0 to v1.0a - this post has been updated - it works.
In forumhome_weather template, find:
Code:
<smallfont><img src
REPLACE with:
Code:
<smallfont>
$weatherdata[city], $weatherdata[showsubdiv]$weatherdata[country]<br>
<img src
NOTE: The variable is $weatherdata[showsubdiv], NOT $weatherdata[subdiv]
Then, in index.php...
Find:
PHP Code:
eval("\$currentweather = \"".gettemplate("forumhome_weather")."\";");
ABOVE it, add:
PHP Code:
if ($weatherdata[subdiv]) {
$weatherdata[showsubdiv] = "$weatherdata[subdiv], ";
} else {
$weatherdata[showsubdiv] = "";
}
That should do it. If there's a subdivision, it will show up, and if not, it won't.