Proje
MegaforBB - Enterprise Forum Software

Proje Detayı

Powerful, Secure, and Fast Community Forum
An open-source community forum that combines a classic forum experience with modern enterprise-grade infrastructure.

Website · Download · News · Report a Bug

Version 1.1.3PHP 8.0+Open Source


About

MegaforBB is a community forum platform built on the enterprise-grade Forecor hybrid kernel. It combines Symfony Dependency Injection and Event Dispatcher with Laravel Eloquent ORM, with a strong focus on security, performance, and extensibility.

LinkURL
Websitemegaforbb.org
GitHub repositorygithub.com/Megabre/MegaforBB
DownloadsReleases
News & announcementsmegaforbb.org/news

Key Features

Forum & Community

  • Category and subforum structure, topic prefixes, tags
  • Private topics, scheduled publishing, Q&A mode
  • Article / blog categories and portal homepage
  • Private messaging (PM), inbox, and quota management
  • Member profiles, reputation system, profile comments, profile viewers
  • Online members, member list, activity feed
  • Announcements, ad slots, widget system
  • Multi-language support (Turkish and English included)

Security

  • Attack Mode — activates the strictest security presets in RAM during an attack
  • Early-layer global rate limiting and RTBH (IP blocklist)
  • NDJSON file-based security audit logs (no DB load, automatic rotation)
  • Security headers (X-Frame-Options, nosniff, XSS protection, HSTS)
  • CSRF protection, captcha, Stop Forum Spam integration
  • Admin 2FA, invitation system, role and permission management
  • Censorship / word filtering, file verification manifest

Performance & Infrastructure

  • File or Redis cache (APP_URL-based prefix isolation)
  • HTML/CSS/JS minification (HtmlMinifier)
  • PHP gzip compression, Varnish-compatible setup
  • Meilisearch full-text search integration
  • S3-compatible file storage (Flysystem)

Extensibility

  • Plugin architecture via Event Dispatcher and PluginLoader
  • Twig-based theme engine with template inheritance
  • Idelist module — idea / suggestion list with voting
  • Documentation module (tree-structured pages)
  • RSS feed import
  • Data import from XenForo, MyBB, and MegaforBB

Admin Panel

  • Forum, user, role, permission, and moderation tools
  • Theme management, PWA settings, SEO / Open Graph
  • Backups, cron jobs, error logs
  • Contact messages, email templates
  • Critical error alerts via Telegram webhook

Architecture

MegaforBB runs on the Forecor hybrid kernel:

Request → public/index.php (Front Controller) → Forecor\Core\Application → Symfony DI (ContainerBuilder + auto-wiring) → Symfony Router & Event Dispatcher → Illuminate Eloquent ORM (database) → Twig (themes) + App layer (controllers / services / models) 
LayerTechnology
Core DISymfony DependencyInjection
Routing & EventsSymfony Routing, Event Dispatcher
DatabaseIlluminate Database (Eloquent)
TemplatesTwig 3
SearchMeilisearch (optional)
CacheFile / Redis
StorageLocal / AWS S3 (Flysystem)

Requirements

ComponentMinimum
PHP8.0+ (recommended: 8.3)
DatabaseMySQL 5.7+ / MariaDB 10.3+
Web serverApache (mod_rewrite) or Nginx
PHP extensionsPDO, mbstring, json, openssl, curl, gd or imagick

Optional (recommended for production):

  • Redis — cache and sessions
  • Meilisearch — full-text search
  • Varnish — HTTP cache layer

Installation

MegaforBB v1.1.3 — the first stable release — is now available and ready to use.

Download the latest package from GitHub Releases.

1. Upload the files

Extract megaforbb-upload.zip from the release archive and upload it to your hosting account.

2. Import the database

Import the database from megaforbb-database.zip using phpMyAdmin or a similar tool.

No migrations required. The release includes a fully prepared database — just import it and you are good to go.

3. Configure the environment file

On your hosting, rename .env-simple to .env and edit its contents to match your website:

APP_NAME=MegaforBBAPP_ENV=ProductionAPP_DEBUG=falseAPP_URL=https://forum.example.comAPP_KEY=# A strong random keyAPP_LOCALE=enAPP_TIMEZONE=UTCDB_HOST=127.0.0.1DB_DATABASE=forum_dbDB_USERNAME=forum_userDB_PASSWORD=your_passwordCACHE_DRIVER=file# or redisSESSION_DRIVER=fileMEILISEARCH_HOST=http://127.0.0.1:7700

4. Default admin credentials

FieldValue
UsernameMegadmin
Email[email protected]
Password125478!!

Change the password immediately after your first login.

The admin panel is available at /admin by default (configurable via ADMIN_PATH).

5. Clear the cache

Clear the application cache and your server's opcode cache after installation. You can also use Performance → Clear Cache in the admin panel.


That's it — MegaforBB is ready to use. Enjoy!

Optional: Cron job

For scheduled tasks (RSS imports, scheduled topics, etc.), set up a cron job to run every 5 minutes:

*/5 **** php /path/to/forum/public/cron.php

You can also trigger cron from the Cronjobs section in the admin panel.


Directory Structure

MegaforBB/ ├── App/ # Application layer (controllers, models, services, migrations) ├── Forecor/ # Hybrid kernel (DI, router, bootstrap) ├── Inc/ │ ├── Lang/ # Language files (tr, en) │ ├── Plugin/ # Plugins │ └── Template/ # Themes (frontend + admin) ├── Route/ # Web, admin, and API route definitions ├── public/ # Front controller and static assets ├── Content/ # Cache, logs, backups, build ├── Library/vendor/ # Composer dependencies ├── .env # Environment configuration └── .htaccess # Apache rules (nginx.vhost example included) 

Themes

MegaforBB ships with three ready-made frontend themes:

ThemeDescription
DefaultModern default theme powered by Tailwind
RetroDSG2010 nostalgia with glass effects and dynamic typography
HumanizerClassic forum look from the 2006–2015 era

Themes can be activated and customized from the admin panel.


Plugins

Plugins live in the Inc/Plugin/ directory. Each plugin follows this structure:

  • plugin.json — metadata
  • plugin.php — event listener definitions
  • routes.php — optional routes
  • views/ — Twig templates

Built-in example: AI Auto Reply — automatically generates replies to newly opened topics via an AI assistant user.


Data Import

From the admin panel, you can import data from:

  • XenForo
  • MyBB
  • MegaforBB (from another installation)

Import runs step by step; progress is tracked in the panel.


Development

Install dependencies for a development environment:

composer install

Optional dev tools:

composer require --dev squizlabs/php_codesniffer friendsofphp/php-cs-fixer phpstan/phpstan

With APP_DEBUG=true, errors are shown in detail via Whoops. In production, use APP_DEBUG=false; errors are written to Content/storage/logs/.

For upgrades or custom setups, migrations can be run manually:

php Forecor/bin/migrate.php php Forecor/bin/migrate.php --status

Update Check

MegaforBB checks version.json daily via cron. The current version and file manifest are read from this URL.


Support & Contributing

MegaforBB is completely free and open source.



Professional supportmegabre.com
Bug reportsGitHub Issues
Newsmegaforbb.org/news

Feel free to open an issue or submit a pull request to contribute.


© 2026 MegaforBB — Powerful, Secure, and Fast Community Forum


Ekran Görüntüleri

comments[] (0)

Henüz yorum yok. İlk yorumu siz yazın.

Yorum Yaz

stats
site.metrics
353bugün ziyaretçi
646bugün görüntülenme
356toplam ziyaretçi
700toplam görüntülenme
119içerik
469yorum