TodaysVisitorsPlugin
Deprecated TodaysVisitorsPlugin extracts the todays visitors from the logfile.
TodaysVisitorsPlugin is superseded by the
UserInfoPlugin. This plugin will no longer be developed.
Syntax Rules
- The
%TODAYSVISITORS% variable gets expanded to a plain list of todays visitors.
- The
%TODAYSVISITORS{ ... }% variable does the same and takes the following attributes:
| Attribute |
Description |
header="..." |
is concatenated to the beginning of the list |
format="..." |
the format of each list item, where $user is expanded to a single visitor |
footer="..." |
is concatenated to the end of the list |
$n,
$dollar,
$percnt and
$quot behave the same way as in
FormattedSearch.
Example
%TODAYSVISITORS{ header="Todays visitors:" format=" * $user $n" footer="end of list" }%
TodaysVisitorsPlugin Global Settings
Plugin settings are stored as preferences variables. To reference a plugin setting write
%<plugin>_<setting>%, i.e.
%INTERWIKIPLUGIN_SHORTDESCRIPTION%
- One line description, is shown in the TextFormattingRules topic:
- Set SHORTDESCRIPTION = Generates a list of todays visitors
- Debug plugin: (See output in
data/debug.txt)
Plugin Installation Instructions
Note: You do not need to install anything on the browser to use this plugin. The following instructions are for the administrator who installs the plugin on the server where TWiki is running.
- Download all related files from the Plugin web (see below)
- Unzip
TodaysVisitorsPlugin.zip in your twiki installation directory. Content: | File: | Description: |
data/TWiki/TodaysVisitorsPlugin.txt | Plugin topic |
data/TWiki/TodaysVisitorsPlugin.txt,v | Plugin topic repository |
lib/TWiki/Plugins/TodaysVisitorsPlugin.pm | Plugin Perl module |
- Test if the installation was successful:
%TODAYSVISITORS{ header="Todays visitors:" format=" * $user $n" footer="end of list" }%
Plugin Info
Related Topics: TWikiPreferences,
TWikiPlugins
--
TWiki:Main/OliverKrueger
- 05 Jun 2003