I've had it ever since the php BETA version came out. Keep in mind now, I am NOT using the mysql db for hw data, and this is for the BETA version. I haven't done the final release yet. Drop the attached txt file into the root directory of your hw3 program. Rename the weather.txt to weather.php. Add the following to your languages/online.php file:
$ubbt_lang['weather'] = "Checking the weather";
That's it. Keep in mind that my hw is NOT in the same directory as my threads. Demo here :
http://www.fish-tails.net/weather/weather.php Quite simple, don't need anything else. The hw program sets cookies for saving the users prefs rather in a db. Enjoy.
Forgot to mention. If you want the users prefs to use the selectable css, you'll probably have to edit each of the html templates for hw. I only use one style sheet, so it was not a big deal to me.
One more thing, you have to edit hw3.ini.php line 7 to read something like this:
scripturl=weather.php
this is so all call are made to weather.php and not hw3.php .