Tags:
create new tag
, view all tags

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)
    • Set DEBUG = 0

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

Plugin Author: TWiki:Main/OliverKrueger
Plugin Version: 05 Nov 2004 (V1.000)
Change History:  
05 Jun 2003: Initial version (V0.900)
05 Nov 2004: Complete rewrite in perl , added attributes (V1.000)
CPAN Dependencies: none
Other Dependencies: none
Perl Version: 5.005
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/TodaysVisitorsPlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/TodaysVisitorsPluginDev

Related Topics: TWikiPreferences, TWikiPlugins

-- TWiki:Main/OliverKrueger - 05 Jun 2003

Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatmd5 TodaysVisitorsPlugin.md5 r2 r1 manage 0.2 K 2008-12-12 - 12:43 SopanShewale checksum file , Uploaded as a part of Release Process
Compressed Zip archivetgz TodaysVisitorsPlugin.tgz r2 r1 manage 5.8 K 2008-12-12 - 12:43 SopanShewale See TodaysVisitorsPlugin for details. Untar and run the installer script, Uploaded as a part of Release Process
Compressed Zip archivezip TodaysVisitorsPlugin.zip r4 r3 r2 r1 manage 7.2 K 2008-12-12 - 12:43 SopanShewale See TodaysVisitorsPlugin for details. Unzip and run the installer script , Uploaded as a part of Release Process
Unknown file formatEXT TodaysVisitorsPlugin_installer r2 r1 manage 3.4 K 2008-12-12 - 12:43 SopanShewale Installer Script, Uploaded as a part of Release Process
Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r9 - 2008-12-12 - SopanShewale
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.