Quote:
Originally posted by Itworx4me
Hi all,
I hope JJR512 doesn't mine. I added this to his hack. This will tell you what city,state, and country right after Your Current Weather. This will show on your forum home page. Your Current Weather For (City),(state),(country).
Find in forumhome_weather template
Code:
Your Current Weather
Then Add this right after Weather
Code:
For $weatherdata[city], $weatherdata[subdiv], $weatherdata[country]
Thanks for a wonderful hack JJR512
|
Sorry, I had meant to do this...I have code in weather.php which allows a subdivision name to show up as well, if there is one for the current location. I've updated the instructions to add this bit of code to the code added to index.php, and the forumhome_weather template. So, basically, re-do the instructions for index.php (remove the code you added before and add the new code now in the instructions), and replace the forumhome_weather template with the new version.