MyBBBridge+A Visual Studio Code extension that makes MyBB theme development more convenient by bringing your forum templates and stylesheets directly into your editor and syncing changes back to your database. This project is a modernized and actively maintained fork of the original MyBBBridge by LeMinaw, with ongoing improvements and updates. What is this?If you develop themes for MyBB forums, this extension bridges the gap between your theme files in the database and your code editor. Instead of editing templates and stylesheets through the MyBB admin panel, you can work with them in VS Code like you would with any other project. The extension connects directly to your MyBB database, pulls templates and stylesheets, and keeps them synced as you work. When you save changes in the editor, they automatically update in your forum's database. PrerequisitesTo use this extension, you'll need:
Getting StartedInstallationInstall the extension through the VS Code Extensions marketplace, or build it from source. Initial Setup
"host" can be a domain or server IP. Same goes for "mybbUrl".
Important: Adding mbbbp.php to Your ForumFor cache refresh and template auto-wiring to work, Install it like any other MyBB plugin by placing the file in your forum's plugin directory and installing/activating it in your ACP. Location:
Without this file in place, changes will sync to your database but the forum won't immediately pick them up. You'll need to manually go into the admin panel and save your theme after each change to clear the cache. UsageAfter setup, you can use these commands:
Features
StatusThis project is in early development. Features are still being added and refined. Please report bugs by submitting an issue here. DevelopmentTo work on this extension:
ContributingContributions are welcome! Feel free to open an issue or submit a pull request on GitHub. |