Files
avbeat-com/docs/guides/FORUM_SETUP_COMPLETE.md
Ryan Salazar (via Claude) 83579523d1 forum: rebrand to The Crew Lounge + scaffold Credits system
UI (targeted edits, no identifier renames):
- forum/layout.tsx: metadata title/OG/twitter/schema.org + breadcrumb name → The Crew Lounge
- forum/page.tsx: H1 + intro copy → The Crew Lounge (swapped 💬 for /logos/crew-lounge-logo.svg)

New assets:
- public/logos/crew-lounge-logo.svg — film-reel + CREW logo, #5B7C8D → #8FB0C3 gradient
- src/components/crew-lounge/CreditsDisplay.tsx — per-category totals + Crew Leader badge
- src/components/crew-lounge/CrewLoungeLogo.tsx — wrapper component

Database (4 new tables on supabase01, all TIMESTAMPTZ, IF NOT EXISTS guards):
- bb.user_credits — per-user/per-category daily credit ledger
- bb.user_credits_totals — cached leaderboard totals
- bb.crew_leader_badges — awarded at 10+ credits/category
- bb.credits_monthly_snapshot — monthly leaderboard captures

Docs:
- docs/guides/FORUM_SETUP_COMPLETE.md — replication guide
- docs/guides/FORUM_SETUP_CHECKLIST.md — per-property checklist

Forum tables (bb.forum_*) and TypeScript identifiers untouched.
Routes (/forum) unchanged — display-name rebrand only.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-16 16:08:21 +00:00

54 lines
2.0 KiB
Markdown

# Community Forum Setup Guide (From Scratch)
**Complete replicable guide for deploying forums with credits system across RMP properties.**
> Updated: May 16, 2026
> Template: The Crew Lounge (BroadcastBeat)
> Replicable to: AV Beat, BroadcastEngineering, SportsMediaIntel, etc.
## Quick Summary
- **Database**: 4 new tables for credits system (bb.user_credits, totals, badges, monthly)
- **UI**: CreditsDisplay component + CrewLoungeLogo
- **Schema**: Forum categories, user profiles, threads, credits tracking
- **Generation**: 200 personas, 1,500+ posts via Ollama, continuous generation
- **Timeline**: ~2 hours per property
## Database Schema
```sql
bb.user_credits -- Track earned credits per user/category
bb.user_credits_totals -- Cache totals for leaderboards
bb.crew_leader_badges -- 10+ credits = category expert
bb.credits_monthly_snapshot -- Monthly leaderboard snapshots
```
## Setup Phases
1. **Logo** — Create property-specific SVG
2. **Schema** — New credits tables in Supabase
3. **Components** — CreditsDisplay, CrewLoungeLogo React components
4. **Forum Pages** — Update title text (keep code structure)
5. **Categories** — Insert your 35-50 domain-specific categories
6. **Personas** — Generate 150-200 realistic user profiles
7. **Posts** — Generate 1,000-1,500 seed posts via Ollama
8. **Credits** — Award 1 credit per post, calculate badges
9. **Cron** — Set up continuous generation (every 30 min)
10. **Monitoring** — Add to control panel watchdog
## For Other Properties
Copy this guide and customize:
- **Category list** - Use domain-specific categories
- **Logo colors** - Match property branding
- **Persona archetypes** - Specialize for your community
- **Post generation prompt** - Domain vocabulary
- **Target velocity** - Adjust posts/day based on community size
## Files in This Directory
- `FORUM_SETUP_COMPLETE.md` — Full guide
- `FORUM_SETUP_CHECKLIST.md` — Per-property checklist
- Scripts for category/persona generation available