tinyfiles.tv

Account settings

Your tinyfiles marketplace settings. Nothing here is copied from another marketplace. Placeholders only, no real email, phone, or address saved.

About You

Name
Your Name

Member since
November 2026

Location Settings

Set where you live, what language you use, and the currency you use.

Password

Need help? Check the tinyfiles help page in the real version.

Email

Current email
you@example.com

Status
Confirmed


Change your email

Your email will not change until you confirm it via email.

Communication from tinyfiles

Postal Mail
Allow tinyfiles to send you postal mail
Phone Calls
Allow tinyfiles to contact you by phone

Close your account

What happens when you close your account?

  • Your account will be inactive, until you reopen it.
  • Your profile will no longer appear anywhere on tinyfiles.
  • We will close any non-delivery cases you opened.
  • Your account settings will remain intact, and no one will be able to use your username.

You can reopen your account anytime. Just sign back in or contact support for help.

Want to permanently delete your account instead? Go to Privacy and choose Request deletion of your data.

Other settings

Apps
Prototypes

Pick a tab above. All forms are demo, nothing is saved to a real account yet.
Backend  ·  Template · Proposed · Not connected

Backend, Your Account Backend, Template

Right now Your Account is a settings page plus demo tabs, toggles, modals, and forms. No password changed, no email changed, no address saved, no card saved. This backend is the map to make it real: update profile, change password, change email, save address, save notification prefs. Proposed, not connected.

01 / Files to create
api/marketplace/account.php      GET / POST /api/marketplace/account
api/marketplace/password.php     POST /api/marketplace/password
api/marketplace/addresses.php    GET / POST /api/marketplace/addresses
api/marketplace/notifications.php GET / POST /api/marketplace/notifications
sql/marketplace_tables.sql

Keep the tinyfiles PHP pattern: /api/bootstrap.php, json_in() / json_out(), prepared PDO.

02 / Database tables
marketplace_users
  id BIGINT AUTO_INCREMENT PRIMARY KEY
  display_name VARCHAR(120) NOT NULL
  email VARCHAR(200) NOT NULL UNIQUE
  region VARCHAR(100) NOT NULL
  language VARCHAR(50) NOT NULL
  currency VARCHAR(10) NOT NULL
  bio TEXT NULL
  city VARCHAR(120) NULL
  created_at DATETIME NOT NULL

marketplace_addresses
  id BIGINT AUTO_INCREMENT PRIMARY KEY
  user_id BIGINT NOT NULL
  full_name VARCHAR(120) NOT NULL
  street VARCHAR(200) NOT NULL
  apt VARCHAR(100) NULL
  zip VARCHAR(20) NOT NULL
  city VARCHAR(120) NOT NULL
  state VARCHAR(100) NOT NULL
  is_default TINYINT NOT NULL DEFAULT 0

Never store passwords in plain text. Use password_hash. Never store full card numbers.

03 / API endpoints
GET /api/marketplace/account
- returns profile, region, language, currency, notifications, no password, no full email in public API

POST /api/marketplace/account
{ "display_name": "...", "region": "United States", "language": "English (US)" }
- validates, updates only signed in user

POST /api/marketplace/password
{ "current": "...", "new": "...", "confirm": "..." }
- verifies current, checks new equals confirm, min 8 chars, hashes new

POST /api/marketplace/addresses
{ "full_name": "...", "street": "...", "zip": "...", "city": "...", "state": "..." }
- validates, saves address for signed in user

Email change must send confirm link, never change email until confirmed.

04 / Cooldown, moderation and validation
// Cooldown: 1 account update per 5s, 1 password change per 30s, 1 address per 5s, 1 email change per 60s
// Validation: name 1 to 120, email valid format, password min 8, zip 3 to 20, city 1 to 120
// Safety: escape output, use prepared statements, never return password hash, never log passwords
// Privacy: addresses and email are user only, never public, never in search

Keep disclaimer until this ships: Tinker toy, not live yet.

05 / Frontend wiring
// On tab: show pane, hide others, update tab style
// On Save: POST /api/marketplace/account, show saved
// On Change Password: POST /api/marketplace/password, clear fields on success
// On Save address: POST /api/marketplace/addresses, add to list, close modal
// If API fails, fall back to local demo plus disclaimer.
Copy snippets into api/marketplace/ plus sql/marketplace_tables.sql, no GitHub needed. Account stays safe by hashing passwords, confirming email changes, and never showing full card numbers.