[ic] Who's Online for Interchange
dhthwy at gmail.com
Wed Jan 7 00:10:59 UTC 2009
I wrote a program for Interchange that is based off of OSCommerce's Who's
It is still being worked on, however it is fully functional, so I decided to
share it with you guys in hopes someone might find it useful and also to get
some feedback for ideas and improvements.
The code currently resides in a UserTag ( including the HTML ). Depending
on how you intend on using it, you may or may not like this design. IE, of
how it might be useful in a UserTag: My client wants to see a snapshot of
who's on their site on every admin page, I achieved this by adding the tag
to lib/UI/vars/UI_STD_FOOTER (if there is a better way to do this, please
let me know).
The files can be located here:
A screenshot of what it looks like can be found there as online.jpg.
Fetch the tar file located at the above address, unpack it.
Copy whosonline.tag to ic/code/UserTag
Create a page in your catalog's pages/admin directory to insert the
Copy the sample whos_online.html included in the tar to that
Copy the gif images to your image directory.
Copy the CSS in wostyle.css to your stylesheet file.
Add the new admin page to your menu.
[whosonline expire=15 limit=50 inactive=5 breadcrumbs=5]
Or simply [whosonline] for the default settings.
time before session is ignored ( defaults to 15 minutes )
maximum number of sessions to show ( defaults to 50 )
length of time before session status is shown as inactive (
defaults to 5 minutes )
amount of breadcrumb history to show ( defaults to 5 )
Note: It _currently_ only works for file based sessions.
Note #2: To see a visitor's session details you click on the link under the
All feedback welcome.
More information about the interchange-users