Home arrow Forum mod_smf_whosonline module can't show correct chatter satus if logged out site
  Welcome, Guest. Please login or register.
Did you miss your activation email?
November 23, 2008, 11:48:39 AM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Joomla-SMF 2.0.x (Moderators: -Wolverine, kai920)
| | | |-+  mod_smf_whosonline module can't show correct chatter satus if logged out site
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: mod_smf_whosonline module can't show correct chatter satus if logged out site  (Read 763 times)
baijianpeng
Joomla Newbie
*

Karma: +0/-38
Offline Offline

Posts: 46


JoomlaGate.com


View Profile
mod_smf_whosonline module can't show correct chatter satus if logged out site
« on: November 21, 2006, 07:37:09 PM »

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.


Logged

JoomlaGate - Open the gate to the World of Joomla!

http://www.joomlagate.com
Warwick
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 26



View Profile WWW
Re: mod_smf_whosonline module can't show correct chatter satus if logged out site
« Reply #1 on: November 22, 2006, 02:58:54 PM »

I am a newby s but here is something similar that i had.

I had this same problem with Flash Chat. When I shut down the Flash Chat window I had to press the close chat button, not just close the window. then I had to refresh the page. I am living with it at the moment. My access to Flash Chat is a menu selection off the front page, not in SMF, so maybe it is not related to J-SMF bridge.
Logged

Joomla 1.0.11 CB 1.0.1 SMF1.1RC3 J-SMF 2.0 RC3 (patched)
Pages: [1] Go Up Print 
« previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
Search Contact About Advertise Blogs Topsites Submit News Register Login