Tags:
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
      action="user"
      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
      action="recent"
      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: r2 < r1 | Backlinks | Raw View | More topic actions
Topic revision: r2 - 2015-06-17 - TWikiAdminUser
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.VarRECENTVISITOR.