WP Manifestindependent plugin directory
manifest / users / tc-logins

TC Login Tracker

Mini WordPress plugin to add an admin page with the users' T&C acceptance details

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/matipendino/tc-logins/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

A WordPress mini plugin that tracks user acceptance of Terms & Conditions (T&C) and logs login activity

Features

  • Tracks users who accept T&C during login
  • Admin page displaying all users with T&C acceptance status
  • Records acceptance date and last login timestamp
  • Export user data to XLSX format
  • Permission-based access (admin only)

Installation

  1. Copy the tc-logins.php file to your WordPress plugins directory (wp-content/plugins/)
  2. Activate the plugin from the WordPress admin dashboard

Usage

Requirements

Your login form must include a checkbox field named accept_terms to track T&C acceptance:

<input type="checkbox" name="accept_terms" required>
I accept the Terms & Conditions

Admin Panel

Once activated, a new T&C Logins menu item appears in the WordPress admin sidebar. This page displays:

  • User display name
  • User email
  • T&C acceptance status
  • Date of first T&C acceptance
  • Date of last login

Export Data

Click the export button on the T&C Logins admin page to download user data as an XLSX file

Technical Requirements

  • WordPress 4.0+
  • PHP with ZipArchive extension (for XLSX export)

Data Tracked

  • accepted_tc - Whether the user accepted T&C (set on first login with checkbox)
  • accepted_tc_date - Timestamp of first T&C acceptance
  • last_login - Timestamp of most recent login

Author

Mappek (Matias Pendino)

License

Apache License Version 2.0