create new tag
, view all tags

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

  • The %RECENTVISITOR{}% variable is handled by the RecentVisitorPlugin
  • Most recent visit of an individual:
    • Syntax: %RECENTVISITOR{"user" name="..." format="..."}%
    • Parameters:
      Parameter Description Default
      "user" or
      Recent visit of an individual report (none)
      name="..." WikiName of person (currently logged in user)
      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.
      "Last seen $ago ago"
      notfound="..." Message shown if user is not found. "Never seen"
  • Report of recent visitors:
    • Syntax: %RECENTVISITOR{"recent" format="..."}%
    • Parameters:
      Parameter Description Default
      "recent" or
      Report of recent visitors (none)
      format="..." Format of each line of the report. Supported tokens:
      $username - login name of user
      $wikiname - WikiName of user
      $wikusername - WikiName prefixed with Main web name
      • plus above tokens.
      "   * $wikiusername last seen $ago ago"
      separator="..." Separator between lines. Standard FormatTokens are expanded. "$n" (newline)
      limit="..." Limit the number of lines. "10"
  • Examples:
    • %RECENTVISITOR{"user" name="TWikiAdminUser"}% - show most recent visit of TWikiAdminUser.
    • %RECENTVISITOR{"recent" format="| $wikiusername | $ago ago |}% - show 10 most recent visitors.
  • Category: AdministrationVariables, UsersAndAuthenticationVariables
  • Related: RecentVisitorPlugin
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2012-11-22 - PeterThoeny
  • 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-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.