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
This topic: TWiki
> WebHome >
TWikiVariables > VarRECENTVISITOR
Topic revision: r0 - 04 Feb 2011 - TWikiContributor