Dev Options: auto-sync, fresh assets and MyBB demo data

amtekkie · Today

The Dev Options module is for building and testing themes: auto-sync while you edit, always-fresh CSS and JS, editor preferences and demo content.

In short
  • Activate it in MyStudio → Modules, then open MyStudio → Dev Options
  • Use it on a development or test copy; switch the theme tools off on a live forum
MyStudio Dev Options with auto-sync, fresh assets and theme editor settings
(1) Auto-sync theme files and its interval. (2) Always load fresh theme CSS and JS. (3) Theme editor preferences.

Auto-sync theme files

While you browse as an admin, the forum checks the active theme's files every 1 to 30 seconds. A change syncs the theme and reloads the page, parent folders included. Save in your editor, glance at the browser, done.

It costs requests: turn it off on a live forum.

Always load fresh CSS and JS

Adds a changing version to stylesheet and script addresses, so you see your latest change without a hard reload. Turn it off on a live forum so browsers can cache.

Theme editor preferences

For the theme editor: dark or light colours, font size 11–24 px, indentation, word wrap, minimap, formatting pasted code.

Import demo data

MyStudio demo data import for MyBB test forums
(1) Read the notice first. (2) Choose what to import. (3) Only add, or delete everything first (type WIPE to confirm).

Fill a forum with real-looking content: tick Everything or pick categories and forums, demo members, threads with replies and a poll, announcements, or a test category with very long names.

Only addsSame-name forums are reused, taken names skipped, forums with threads not filled.
Demo passwordsA shared test password on localhost, *.local, *.test; random elsewhere.

Delete the existing content first permanently removes every forum, thread, post, poll, announcement, private message and non-admin member. Back up, then type WIPE. Only on a test copy or before opening. Super admins, and those allowed in Delegation, only.