| Tag | Description |
|---|---|
| %VISITORS{format="..." max="..." sep="..." header="..." footer="..."}% | list of users currently logged in defaults: format="\t* $wikiusername" sep="$n" max="unlimited" |
| %NRVISITORS% | number of users currently online |
| %LASTVISITORS{format="..." max="..." sep="..." days="..." header="..." footer="..."}% | list of users that recently visited the site defaults: format="\t* $date: $wikiusername" sep="$n" max="unlimited" days="1" |
| %NRLASTVISITORS{days="..."}% | list of users that recently visited the site defaults: days="1" |
| %NRUSERS% | number of registered users |
| %NRGUESTS% | number of guest users currently online |
| %NEWUSERS{format="..." max="..." sep="..." header="..." footer="..."}% | list of users that recently registerd defaults: format="\t* date: $wikiusername" sep="$n" max="10" |
| Variable | Description | Valid in |
|---|---|---|
$counter | enumeration | %VISITORS%, %LASTVISITORS%, %NEWUSERS% |
$wikiname | wikiname of the visitor | %VISITORS%, %LASTVISITORS%, %NEWUSERS% |
$username | username of the visitor | %VISITORS%, %LASTVISITORS%, %NEWUSERS% |
$wikiusername | wikiusername of the visitor | %VISITORS%, %LASTVISITORS%, %NEWUSERS% |
$date | date of last visit/registration | %VISITORS%, %LASTVISITORS%, %NEWUSERS% |
$time | time of last visit | %VISITORS%, %LASTVISITORS% |
$host | host of visitor | %VISITORS%, %LASTVISITORS% |
$topic | topic that a visitor viewed last | %VISITORS%, %LASTVISITORS% |
$n | newline | %VISITORS%, %LASTVISITORS%, %NEWUSERS% |
$quot | double-quote sign | %VISITORS%, %LASTVISITORS%, %NEWUSERS% |
$percnt | percentage sign | %VISITORS%, %LASTVISITORS%, %NEWUSERS% |
$dollar | dollar sign | %VISITORS%, %LASTVISITORS%, %NEWUSERS% |
| File: | Description: |
|---|---|
data/TWiki/UserInfoPlugin.txt | Plugin topic |
lib/TWiki/Plugins/UserInfoPlugin.pm | Plugin Perl module |
lib/TWiki/Plugins/UserInfoPlugin/Core.pm | Plugin Perl module |
configure in your TWiki installation, and enable the plugin in the {Plugins} section.
%NRVISITORS% of %NRUSERS% registered user(s), %NRGUESTS% guest(s) currently online:
%VISITORS%
%NRLASTVISITORS{days="1"}% visitor(s) today (17 May 2008):
%LASTVISITORS{days="1" format=" * $wikiusername"}%Recently registered users:
%NEWUSERS{max="20"}%
| Plugin Author: | TWiki:Main/MichaelDaum |
| Copyright ©: | 2005-2006, Michael Daum |
| License: | GPL (GNU General Public License) |
| Plugin Version: | v1.53 |
| Change History: | |
| 09 June 2006: | fixed duplicate users in LASTVISITORS; use IGNORE_USERS in LASTVISITORS |
| 27 May 2006: | fixed error computing the number of last visitors (TWiki:Main.DavidBright); exclude the |
| 17 Feb 2006: | optimized tag parsing; using Time::Local instead of Date::Parse; added header and footer format strings; fixed error restricting seen visitors by days |
| 16 Feb 2006: | OO-ified the plugin to compile on demand; added IGNORE_USER plugin parameter |
| 14 Feb 2006: | fixed detection of the session directory |
| 02 Feb 2006: | fixed numerical comparison of dates (TWiki:Main/AntonAylward) |
| 05 Aug 2005: | removed dependency on the SessionPlugin |
| 27 Apr 2005: | fixed getting guests + some minor glitches |
| 12 Apr 2005: | initial release |
fixed sep handling, fixed $host parsing | |
| TWiki Dependency: | $TWiki::Plugins::VERSION 1.024 |
| CPAN Dependencies: | Time::Local |
| Other Dependencies: | (TWiki:Plugins/SessionPlugin) |
| Perl Version: | 5.8 |
| TWiki:Plugins/Benchmark: | TWiki:TWiki/GoodStyle nn%, TWiki:TWiki/FormattedSearch nn%, UserInfoPlugin nn% |
| Plugin Home: | TWiki:Plugins/UserInfoPlugin |
| Feedback: | TWiki:Plugins/UserInfoPluginDev |
| Appraisal: | TWiki:Plugins/UserInfoPluginAppraisal |
| PackageForm | |
|---|---|
| TopicClassification | PluginPackage |
| TestedOnTWiki | 4.2, 4.0.0, 01 Sep 2004, 01 Feb 2003 |
| TestedOnOS | OsLinux |
| ShouldRunOnOS | AnyUnix, OsLinux |
| InstalledOnTWikiOrg | No |
| DemoUrl | http://micha.wikiring.de/TWiki/UserInfoPlugin |
| DevelopedInSVN | Yes |
| ModificationPolicy | ContactAuthorFirst |
| RelatedTopics | |
| I | Attachment | Action | Size | Date | Who | Comment |
|---|---|---|---|---|---|---|
| | UserInfoPlugin.md5 | manage | 0.2 K | 15 Jun 2006 - 15:48 | MichaelDaum | md5 checksums |
| | UserInfoPlugin.tgz | manage | 13.6 K | 15 Jun 2006 - 15:48 | MichaelDaum | Untar and run the installer script, if there is one |
| | UserInfoPlugin.zip | manage | 15.8 K | 15 Jun 2006 - 15:48 | MichaelDaum | unzip, correct the permissions, and run the installer script, if there is one |