wortechnologies.com > Modules > Module Demonstrations > WTD USers Online Module Ajax

This version requires at least DNN 4.4.1 and asp.net V2. This is a Beta release use at your own risk. It has been tested on three production servers, Please Contact Me with any questions or problems. The beta release is free to use for anyone that registers for free. The Module can be downloaded from here WTD Users Online Module Ajax However I would greatly appreciate feedback so any bugs or changes to the code could be made or fixed very soon. Date of this Beta Release is Friday March 30, 2007.
This is a Modified version of the DNN Core Users Online module. It uses Ajax to auto update at a set interval. It includes a Modal Ajax Window for editing the settings or normal edit of settings from the drop down actions menu. Also the module allows you to display the last time it was updated and you can set the module to display the "Display Name" if available instead of the "User Name" this makes it more user friendly. Another added feature is the ability to set how many users online now to be shown from 1 to 100 or all. this means that you can still show users online now without displaying to many at once.

WTD Users Online Ajax DNN Module Settings Screen SHot

Screen Shot of Settings Modal Window

Above is the Module Live.

Some information on the WTD Users Online Ajax DNN Module.

  1. The first Setting: Show Membership; Determines if Membership information is to be displayed. Check for yes, un-check for no.
  2. The second setting: Show People Online; Determines if the People Online Information is displayed. Check for yes, un-check for no.
  3. The third Setting: Show Users Online; Determines if the Users Online Now is displayed. Check for yes, un-check for no.
  4. The fourth Setting: Show Update Time; Determines if the time the last auto update to the module is to be displayed. If checked the Time is displayed at the top of the module. Check for yes, un-check for no.
  5. The fifth Setting: Show Display Name; Determines if the user's "Display Name" is shown instead of the user's "username" (If Display name is available) i.e. My username is "jack16" my DisplayName is "Jack Robinson" . So if checked when I am logged on it would display "Jack Robinson" not "jack16". Checked for yes (Recommended), un-check for no.
  6. The sixth Setting: Auto Update Rate ms.: Determines how often the module updates itself. There is no page refresh, no post-back, the module is updated via Ajax like call-back just updating the display of the module on the client. You can set this 0 to 999999 milliseconds (1000 ms = 1 sec.) A value of 0 or blank sets the value to the maximum, effectively turning it off.  Caution do not set the value to low as there are multiple calls to the Database each time the module is updated and of course traffic between the client and server. I would not set the value lower then 30 sec. (30000 ms) I have found a pretty good setting to be around a minute and a half (90000 ms) the default setting of 120000 ms works pretty good also. (Remember the Disable Users Online setting must be unchecked and the scheduled item of purge usersonline must be active for this module to work)
  7. The seventh Setting: Number of Users; Determines how many Users Online Now are displayed. You can set a value between 1 and 100 or 0 or leave blank. If 0 or blank then all Users Online Now will be displayed. If a setting of 1 to 100 then only the value set will be displayed. i.e. There are 100 logged in users. You have set the "Number of Users" to 10 then only the top 10 users that are online now will be displayed.
Below is what you should see when you click the Edit Settings Link at the bottom left of the Module when logged in as admin or host (or as a user with edit rights). Some facts about WTD Users Online Ajax DNN Module:
  1. To install the module; Just install the module like any other module. Via the Host > Module Definitions > Install New Module  menu. The zip file is all ready for install. So just download it to your pc and then upload it to your DNN portal in the usual manner. Please Note This Module Uses a third party assembly called Anthem.dll (Anthem.net) If you are using any modules that also use this assembly please back up your bin directory as installing this module will over-write the Anthem.dll if it is already in your bin dir.  The Anthem.dll version I use is 1.5.0.0 and is the latest as of March 30, 2007. Compiled in release mode.
  2. For WTD Users Online Ajax DNN Module to show accurate statistics and information: I suggest that you change a few settings for your Portal. First the Users Online Time should be shortened the default is 20 minutes I prefer a setting of between 5 and 10 minutes as this is far more accurate. I also change the purge users online in the schedule to at least 2 minutes instead of 1 minute but that is a personnel choice and is actually less accurate but the performance increase is worth the change. I also set the scheduler method to timer as if set to request method it means that the scheduled items are never run at the correct interval unless you have a very high traffic site. Also a setting to request method appears to slow performance of the portal some times quite a bit.  

 

WTD Users Online Ajax DNN Module Settings Full Screen Shot

WTD Users Online
Loading Graphic
Membership Membership:
Latest New User Latest: arockia03
New Today New Today: 0
New Yesterday New Yesterday: 0
User Count Overall: 2

People Online People Online:
Visitors Visitors: 12
Members Members: 0
Total Total: 12

Online Now Users Online Now:

Copyright 2007 by My Website   Terms Of Use  Privacy Statement
SEOLinks
  Search Register  Login
Friday, July 25, 2008
WORTech Custom DNN Modules