tinyfiles.tv
tinyfiles Help Center

How can we help?

Having problems with an order? Reach out to the seller with a help request.

Featured articles

Shop on tinyfiles

Did not find what you needed? Try these.

Pick a path below, demo only, no real ticket created.

 
Read our Policies →
Get the ins and outs of buying and selling on tinyfiles
Check out the tinyfiles Journal →
Explore ideas and inspiration for creative living
See how you are protected →
Find out more about safety and security in our marketplace
Search, pick a category on the left, or tap any question to open its answer. Demo only, no real support ticket.
Backend  ·  Template · Proposed · Not connected

Backend, Seller Help Backend, Template

Right now seller help is a searchable list plus demo answers, no ticket created, no real support chat, no article views saved. This backend is the map to make it real: articles, search, help requests, contact support. Proposed, not connected.

01 / Files to create
api/marketplace/help_articles.php  GET /api/marketplace/help_articles
api/marketplace/help_search.php    GET /api/marketplace/help_search?q=
api/marketplace/help_requests.php   POST /api/marketplace/help_requests
sql/marketplace_tables.sql

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

02 / Database tables
marketplace_help_articles
  id BIGINT AUTO_INCREMENT PRIMARY KEY
  category VARCHAR(50) NOT NULL
  group_name VARCHAR(100) NOT NULL
  title VARCHAR(200) NOT NULL
  slug VARCHAR(200) NOT NULL UNIQUE
  summary TEXT NOT NULL
  body TEXT NOT NULL
  views INT NOT NULL DEFAULT 0

marketplace_help_requests
  id BIGINT AUTO_INCREMENT PRIMARY KEY
  user_id BIGINT NOT NULL
  order_id BIGINT NULL
  subject VARCHAR(200) NOT NULL
  message TEXT NOT NULL
  status VARCHAR(30) NOT NULL DEFAULT 'open'
03 / API endpoints
GET /api/marketplace/help_articles?category=Selling
- returns list, title, group, summary, slug

GET /api/marketplace/help_search?q=paid
- fulltext on title + summary + body, returns top 20

POST /api/marketplace/help_requests
{ "order_id": 123, "subject": "Item never arrived", "message": "..." }
- creates help request, returns id, notifies seller

Search must be fast, cache article list, never return private tickets in search.

04 / Cooldown, moderation and validation
// Cooldown: 1 help request per 30s, 1 search per 1s, 1 article view per 5s
// Validation: subject 5 to 200, message 10 to 5000, order_id must belong to user
// Safety: escape output, prepared statements, never log messages with personal data
// Privacy: help requests are buyer + seller + support only, never public

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

05 / Frontend wiring
// On Search input: filter articles by title + summary, update count, hide home block if query
// On Category click: filter to that category, scroll to results
// On Question click: expand answer, show steps, show related questions
// On Help with an order: open help request form, POST /api/marketplace/help_requests
// If API fails, fall back to local demo plus disclaimer.
Copy snippets into api/marketplace/ plus sql/marketplace_tables.sql, no GitHub needed. Seller help stays safe by never creating a real ticket in demo, never showing private orders, and never collecting personal data in search.