| Thanks to Wolverine I have found the mod_smf_whosonline module version 2.0 which is an improved and fixed version of mod_whosonline_ext. Now the mod_smf_whosonline can show the number of guests and members properly. But a new problem also rised. I did a little hack on the mod_smf_whosonline.php to let the module open the chatting room in parent window rather than in a new window. Some visitors don't like an extra window since it will make their Windows toolbar more crowded. Then I set the chatting room can be access only by registtered users. Next I tested it myself. I can enter the chatting room after logged in, and the mod can show I was in the cahtting room. Then I click on the Log Off menu of the mod_smf_login module and logged out the site. Now the mod_smf_whosonline displays that there is no member and only one guest online. That's correct, when I was testing, there was no other visitors. But the mod also displays that I am STILL in the chatting room. This happened last night. Now when I coposing this post, the mod insists on showing I am in the chatting room as before. If you look at lower left of the homepage on http://www.joomlagate.net you can see I am in the chatting room but of course I had shut down my computer and gone to work. This is really funny. I think if I logged out from the site, I also logged out form the chatting room. However it seems that the mod_smf_whosonline only read the status from Flashchat instead of the mod_smf_login. I would like to make a bold suggest that let the mod_smf_whosonline module work with the logging session of the whole site. If a member logged out from the site, the logging session for him will be cut off for every mod and com_ and mambot. Maybe the mod_smf_whosonline should refresh the logging status automatically every 10 seconds and obey the order of mod_smf_login. |
Forum 





Author



Logged






