OK, I finally figured it out. Here is the deal: you have disabled the theme switcher, so it is not even being included.
I have a way to fix it though. This new way does not need the include-style-switcher.php to be replaced.
Put this code at the very bottom of the Settings.php, but before the closing PHP tag:
// the code below will force your whose-online.php page to use a wide css template
if ( isset($C['filename_whos_online']) && preg_match("/".$C['filename_whos_online']."/i", $SITE['REQURI']) ){
$SITE['CSSscreen'] = str_replace ('-narrow.css','-wide.css',$SITE['CSSscreen']);
}
This will replace the old method, the include-style-switcher.php no longer has to be replaced to force the page wide.
I will update the wo-extras folder readme.txt accordingly.
I seem to have a problem with the stats. I am finding that when the max for today changes all the others chage to that value as well, so when todays max changes the month year and all time also change to this value. Anyone else seeing this?
Nobody has reported a problem like that
Could it be 21 is your new all time record?
4 Visitors online right now
Max visitors today: 21 at 09:36 UTC
This month: 21 at 26-12-2008 09:36 UTC
This year: 21 at 26-12-2008 09:36 UTC
All time: 21 at 26-12-2008 09:36 UTC
also I see you are still using version 1.08 when the current version is 1.51
I was puzzled but I was convinced that yesterday I had 22. I’m going to keep a very close eye on it for the next few days. I did play with my local copy where I changed some of the database values in stats to see what happened but it all worked OK.
Stuart
Edit: Saturday morning - just checked and its certainly working OK at present. I’ll check on it for the next few days to see what happens, just in case its a serialisation problem on updating the database.
That is a feature of FF. In IE you have to start typing in the user and then it will show possible users you have already saved. When you select on of them it will fill in.
In FF, if you have defined more than one user, it will do the same.
Changing step 4 in Settings.php hosed the whole site
Warning: mysql_connect(): Can’t connect to local MySQL server through socket ‘/usr/local/mysql-5.0/data/mysql.sock’ (2) in /home/content/c/n/y/cnyweather/html/include-whos-online-header.php on line 95
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/content/c/n/y/cnyweather/html/include-whos-online-header.php on line 96
Could not connect:
I modified Jim’s State addon into a different one that does not require remote lookups.
Also this one is totally free and unlimited It is now included. It is optional. You have to install and enable it.
see ‘state-addon’ folder readme.txt inside the whos-online.zip file
Version: 1.52 31-Dec-2008
fixed refresh not working when login enabled and logged in
added a new state-addon plugin to show “city, state” next to country flags, see ‘state-addon’ folder readme.txt
Thanks to (Jim McMurry - jcweather.us) for the idea and some of the code.
to upgrade from 1.51, replace whos-online.php, include-whos-online-page.php, and include-whos-online-header.php