UserLastActivity

The configuration options for this script simply provide a means to restrict the type of logs used to determine the datetime. The options are properties of the script's configuration object which can be created in a community's JS with the following lines of code.

In order to create the link, the script must know the namespace and user to link to. This information is provided by adding two attributes to the User Avatar Finder placeholder.

data-useravatarlink-namespace
This attribute is used to change the target namespace to something other than the default. As with the configuration setting, the value should a a string that matches a recognized namespace such that  is a valid page.

data-useravatarlink-username
This attribute is used to specify the target user. It should be the target user's username as a string such that  is a valid page.