create new tag
view all tags

RECENTVISITOR -- show statistics of recent visitors to the TWiki site

  • The %RECENTVISITOR{}% variable is handled by the RecentVisitorPlugin
  • Recent visit of an individual:
    • Syntax: %RECENTVISITOR{"user" name="..." format="..."}%
    • Parameter name="..." - WikiName of person. Default is current user.
    • Parameter format="..." - format of report. Supported tokens:
      $date - date of last visit
      $time - time of last visit (GMT)
      $ago - how long ago
      $ip - IP address (only shown to non-administrators if enabled in configure)
      $n, $nop, $quot, $percnt, $dollar - standard FormatTokens.
    • Parameter notfound="..." - message shown if user is not found.
  • Report of recent visitors:
    • Syntax: %RECENTVISITOR{"recent" format="..."}%
    • Parameter format="..." - format of each line of the report. Supported tokens:
      $username - login name of user
      $wikiname - WikiName of user
      $wikusername - WikiName prefixed with Public web name
      • plus above tokens.
    • Parameter separator="..." - separator between lines. Standard FormatTokens are expanded. Default is newline.
    • Parameter limit="..." - limit the number of lines. Default is 10.
  • Examples:
    • %RECENTVISITOR{"user" name="TWikiAdminUser"}% show most recent visit of TWikiAdminUser.
    • %RECENTVISITOR{"recent" format="| $wikiusername | $ago ago |}% shows 10 most recent visitors.
  • Related: RecentVisitorPlugin

Physics WebpagesRHUL WebpagesCampus Connect • Royal Holloway, University of London, Egham, Surrey TW20 0EX; Tel/Fax +44 (0)1784 434455/437520

Topic revision: r0 - 04 Feb 2011 - TWikiContributor

This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding RHUL Physics Department TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.VarRECENTVISITOR.