Online User Listings
By Paul
0/5 based on 0 votes. The median rating is 0.
By Paul
WSN Gallery can display a listing of online users, if you've enabled it in your switches. Online users lists in WSN Gallery act as toplists, and so can be used in the same way as any toplist.
You can configure the online user lists under settings->functionality. The next value it requests, the number of minutes to count the user as online, will determine how lenient the definition of "current" is in showing currently online users. Anyone who loaded a page less than this number of minutes ago will be listed as online. Finally, set the date format you will want to have shown in the user listing as the last seen date of the users.
Suppose you want to put a new online users list somewhere, or modify the ones in the default templates. Click 'toplist generator' in your admin panel to start his process. Choose 'online users' there, and specify the rest of the toplist as you wish. Alternatively, here's an example you may wish to use:
Global online user variables (not specific to any single online toplist):
4 - Total users online.
4 - Total unregistered users online.
0 - Total registered users online.
23 - Most ever unregistered users online.
12/01/08 - 00:05:21 - The date/time of the most ever unregistered users online.
2 - Most ever registered users online.
09/23/07 - 07:20:05 - The date/time of the most ever registered users online.
23 - The most overall users online.
12/01/08 - 00:05:21 - The date/time of the most overall users online.
Toplist-specific variables:
All member variables with {ONLINE in place of {MEMBER, plus
{ONLINEMEMBERID} - The id of the member.
{ONLINEIP} - The IP address of the visitor.
{ONLINELOCATION} - The url the user last viewed.
%x - %X - The time of the user's last action.
{ONLINESTARTDATE} - The time the user came online.
{ONLINEBROWSER} - The user agent of the person.
{ONLINECATID} - The id of the category being viewed by the online user. 0 if they're not in a category.
{ONLINETHREADID} - The id of the comments thread being viewed by the online user. 0 if they're not viewing a comments thread.
{ONLINEISROBOT} - True if it's a search engine spider, otherwise false.
You can also use all category and image variables whenever {ONLINECATID} and {ONLINETHREADID} are greater than 0, to show info about the category/thread being viewed.
You can configure the online user lists under settings->functionality. The next value it requests, the number of minutes to count the user as online, will determine how lenient the definition of "current" is in showing currently online users. Anyone who loaded a page less than this number of minutes ago will be listed as online. Finally, set the date format you will want to have shown in the user listing as the last seen date of the users.
Suppose you want to put a new online users list somewhere, or modify the ones in the default templates. Click 'toplist generator' in your admin panel to start his process. Choose 'online users' there, and specify the rest of the toplist as you wish. Alternatively, here's an example you may wish to use:
<table>
<!-- BEGIN TOPLIST 5 -->
<CONFIG>online,time,50,descending</CONFIG>
<tr>
<td>
<a href="http://scripts.webmastersite.net/wsngallery/manual/memberlist.php?action=profile&id={ONLINEMEMBERID}">{ONLINENAME}</a></td>
<td>
Online from {ONLINESTARTDATE} to %x - %X
</td>
<td>
{ONLINEBROWSER} {ONLINEIP}</td>
<td>
{ONLINELOCATION}
</td>
</tr>
<!-- END TOPLIST 5 -->
</table>
Global online user variables (not specific to any single online toplist):
4 - Total users online.
4 - Total unregistered users online.
0 - Total registered users online.
23 - Most ever unregistered users online.
12/01/08 - 00:05:21 - The date/time of the most ever unregistered users online.
2 - Most ever registered users online.
09/23/07 - 07:20:05 - The date/time of the most ever registered users online.
23 - The most overall users online.
12/01/08 - 00:05:21 - The date/time of the most overall users online.
Toplist-specific variables:
All member variables with {ONLINE in place of {MEMBER, plus
{ONLINEMEMBERID} - The id of the member.
{ONLINEIP} - The IP address of the visitor.
{ONLINELOCATION} - The url the user last viewed.
%x - %X - The time of the user's last action.
{ONLINESTARTDATE} - The time the user came online.
{ONLINEBROWSER} - The user agent of the person.
{ONLINECATID} - The id of the category being viewed by the online user. 0 if they're not in a category.
{ONLINETHREADID} - The id of the comments thread being viewed by the online user. 0 if they're not viewing a comments thread.
{ONLINEISROBOT} - True if it's a search engine spider, otherwise false.
You can also use all category and image variables whenever {ONLINECATID} and {ONLINETHREADID} are greater than 0, to show info about the category/thread being viewed.
Rating:
0/5 based on 0 votes. The median rating is 0.
Submitted: 03/21/04 (Edited 09/07/06)
Description: Details on using the online users list feature.
Views:
2616 views. Averaging 2 per day.
In the most recent 30 day period, there've been 8 views.

Print
E-Mail