{{define "title"}}Admin Action: {{.User.Username}}{{end}} {{define "content"}}
{{template "avatar-64x64" .User}}

{{.User.NameOrUsername}}

{{.User.Username}}

{{InputCSRF}} {{if eq .Intent "insights"}}

Admin Insights

This page gives a peek into the database to glean some insights about a user. So far, this means taking a look at their block lists: how many people do they block (and who), and more importantly, how many people are blocking them. It may be useful information to guage a problematic user, if they are angering or creeping a lot of people out and ending up on a lot of block lists.

Social Change Log

These links go into the admin Change Log viewer to show history of the user's interactions with parts of the website. Also look for "Change Log" buttons scattered around various pages (profile, gallery, certification photo view) for history about the user's data tables.

Block Lists

Forward List {{len .BlocklistInsights.Blocks}}

(Users who {{.User.Username}} is blocking)

Change Log

    {{range .BlocklistInsights.Blocks}}
  • {{.Username}} {{.Date.Format "2006-01-02"}}
  • {{end}}
Reverse List {{len .BlocklistInsights.BlockedBy}}

(Users who block {{.User.Username}})

Change Log

    {{range .BlocklistInsights.BlockedBy}}
  • {{.Username}} {{.Date.Format "2006-01-02"}}
  • {{end}}
{{else if eq .Intent "essays"}}

You may use this page to edit the essay texts (e.g. About Me) section of a user's profile page. The main use cases may be to remove Onlyfans spammy links or that sort of thing, so that you don't need to fully impersonate their account to do so.

{{else if eq .Intent "impersonate"}}

With great power...

By impersonating this user, you will be considered as "logged in" to their account and have access to their messages, profile, photos and settings.

Please respect user privacy and only impersonate an account as needed to diagnose a customer support issue or similar.

This event is logged and will be noticed. Write an explanation below why you are impersonating this user. It will be e-mailed to the admin mailing list and trigger an admin notification and be logged as a Report to the admin dashboard. Reports can be acknowledged, but not deleted.

Good reasons may include:

  • I need to diagnose a bug report given by one of our users (briefly describe what the bug is; e.g. user saw a database error at the top of a page).
  • A user has reported a Direct Message conversation and I need to take a look at the context. (There is no other way to read user DMs)

{{else if eq .Intent "ban"}}

This user is currently: {{if eq .User.Status "active"}} Active (not banned) {{else if eq .User.Status "disabled"}} Disabled {{else if eq .User.Status "banned"}} Banned {{end}}

Select a new status for them below:

{{else if eq .Intent "promote"}}

This user is currently: {{if .User.IsAdmin}} Admin {{else}} NOT Admin {{end}}

Select a new status for them below:

{{else if eq .Intent "password"}}

This page allows you to reset a user's password on their behalf. For example, if they have forgotten their password and aren't receiving the e-mail reset link and they reached out for manual assistance.

Random password
Cancel
{{else if eq .Intent "delete"}}

Click the button below to deep delete this user account.

{{end}}
{{end}}