Files
claudetools/.claude/memory/reference_community_forum.md
Mike Swanson ad88fc31f0 sync: Auto-sync from acg-guru-5070 at 2026-03-22 22:31:46
Synced files:
- Session logs updated
- Latest context and credentials
- Command/directive updates

Machine: acg-guru-5070
Timestamp: 2026-03-22 22:31:46

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-03-22 22:31:46 -07:00

49 lines
1.8 KiB
Markdown

---
name: Community Forum (Flarum)
description: Flarum forum at community.azcomputerguru.com - platform details, API access, database credentials, and posting workflow
type: reference
---
## Community Forum - Flarum
- **URL:** https://community.azcomputerguru.com
- **Platform:** Flarum 1.8.14
- **Server:** IX server (172.16.3.10), cPanel account `azcomputerguru`
- **Document Root:** `/home/azcomputerguru/public_html/community/public`
- **PHP Version:** 8.1.33
### Database
- **Host:** localhost (on IX server)
- **Database:** `azcompu_flarum`
- **User:** `azcompu_flarum`
- **Password:** `Fl@rum2026!CGS`
### API
- **API Key:** `581b6c8c162a383ba87757f41b4381e9bf8db61d71bd578ee97fe32b7aeac046` (admin user, ID 1)
- **API Base:** `https://community.azcomputerguru.com/api`
- **Note:** Cloudflare blocks external API access. Must either:
1. Use `--resolve` with `curl -k` from IX server localhost
2. Use direct PHP/database script on IX server (preferred, more reliable)
### Forum Tags (Categories)
| ID | Name | Slug |
|----|------|------|
| 1 | General | general |
| 2 | Tech News | tech-news |
| 3 | Security & Privacy | security-privacy |
| 4 | Artificial Intelligence | artificial-intelligence |
| 5 | Space Tech | space-tech |
| 6 | Gadgets & Hardware | gadgets-hardware |
| 7 | How-Tos & Tips | how-tos-tips |
| 8 | Show Discussion | show-discussion |
| 9 | Off-Topic | off-topic |
### Posting Workflow
Cloudflare blocks the Flarum REST API from external requests. To create posts programmatically:
1. Write a PHP script that inserts directly into the database (discussions + posts + discussion_tag tables)
2. SCP the script and JSON payload to IX server `/tmp/`
3. Execute via `php /tmp/script.php` over SSH
4. Clean up temp files
**How to apply:** Use this when the user asks to create forum posts or manage the community forum.