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>
This commit is contained in:
32
docs/guides/FORUM_SETUP_CHECKLIST.md
Normal file
32
docs/guides/FORUM_SETUP_CHECKLIST.md
Normal file
@@ -0,0 +1,32 @@
|
||||
# Forum Setup Checklist (By Property)
|
||||
|
||||
Use this for each new property setup.
|
||||
|
||||
## [ ] Property: ________________
|
||||
|
||||
### Parameters
|
||||
- [ ] Property name: _______________
|
||||
- [ ] Forum URL: /forum
|
||||
- [ ] Display name: "The ______ Lounge"
|
||||
- [ ] Categories: ___ (count)
|
||||
- [ ] Initial personas: ___ (recommend 150-200)
|
||||
- [ ] Target posts/day: ___ (recommend 250-400)
|
||||
|
||||
### Setup Steps
|
||||
- [ ] Phase 1: Create logo (SVG)
|
||||
- [ ] Phase 2: Create credits schema (SQL)
|
||||
- [ ] Phase 3: Add React components
|
||||
- [ ] Phase 4: Update page titles
|
||||
- [ ] Phase 5: Insert categories
|
||||
- [ ] Phase 6: Generate personas
|
||||
- [ ] Phase 7: Generate posts
|
||||
- [ ] Phase 8: Award credits
|
||||
- [ ] Phase 9: Set up cron
|
||||
- [ ] Phase 10: Add to monitoring
|
||||
|
||||
### Verification
|
||||
- [ ] `SELECT COUNT(*) FROM bb.forum_categories;`
|
||||
- [ ] `SELECT COUNT(*) FROM bb.user_profiles;`
|
||||
- [ ] `SELECT COUNT(*) FROM bb.forum_threads;`
|
||||
- [ ] First post generated at: _______
|
||||
- [ ] Posts generating every 30 min: YES / NO
|
||||
53
docs/guides/FORUM_SETUP_COMPLETE.md
Normal file
53
docs/guides/FORUM_SETUP_COMPLETE.md
Normal file
@@ -0,0 +1,53 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user