2020-01-01, 05:24 AM
(This post was last modified: 2020-01-01, 05:25 AM by LeMinaw. Edited 2 times in total.)
Hey there,
While we're all waiting for v1.9 and its new template engine, I just made a simple extension for Visual Studio Code that connects to your MyBB database and allows for downloading / editing / refreshing theme and stylesheet files.
You can find the extension here, or just search for "MyBB" in VSCode extensions panel.
Basic workflow :
For more details, see the readme.
I'm using it and it works pretty well, but was only tested in my test case so feel free to ask if you encounter any issue.
This is pre-alpha software, make backups, use only on your dev server and at your own risks!
Let me know what you think!
While we're all waiting for v1.9 and its new template engine, I just made a simple extension for Visual Studio Code that connects to your MyBB database and allows for downloading / editing / refreshing theme and stylesheet files.
You can find the extension here, or just search for "MyBB" in VSCode extensions panel.
Basic workflow :
- Add cachecss.php in your MyBB root dir (optionnal, for automated stylesheet cache refresh only)
- Open a workspace in VSCode
- Launch "create config file" command
- Edit config file with your DB informations
- Launch "load MyBB template/style" command
- Each file you edit or create will be instantly synced to DB each time you save it!
For more details, see the readme.
I'm using it and it works pretty well, but was only tested in my test case so feel free to ask if you encounter any issue.
This is pre-alpha software, make backups, use only on your dev server and at your own risks!
Let me know what you think!