Really like the theme - thanks for backporting the 1.9 look. Two compatibility notes from running Curves UI alongside plugins that add a Master stylesheet and/or inject login buttons (Isango in my case). Neither is strictly a bug, but both surprise plugin compatibility, so flagging with detail.
[b]Note 1: Curves UI is a top-level theme (pid=0), so it doesn't inherit Master stylesheets[/b]
Themes inherit stylesheets through the pid (parent) chain in mybb_themes - a theme gets a Master stylesheet only if Master (tid=1) is an ancestor. The stock Default theme has pid=1 (child of Master). Curves UI imports as top-level:
[code]
SELECT tid, name, pid FROM mybb_themes;
-- 1 | MyBB Master Style | 0
-- 2 | Default | 1 <- inherits Master stylesheets
-- 3 | Curves UI-alpha | 0 <- top-level, inherits nothing from Master
Many plugins install their CSS on Master (tid=1) expecting every theme to inherit it. Under Curves that CSS never loads, so the plugin UI renders unstyled until an admin manually attaches the stylesheet to the Curves tid. If Curves were a child of Master (pid=1) it would inherit plugin Master stylesheets automatically; alternatively, a note in the thread ("attach plugin stylesheets to this theme directly") would save people the head-scratch.Note 2: plugins that inject at </form> land outside the #quick_login modal
Curves wraps guest login in a Bootstrap modal (#quick_login) inside header_welcomeblock_guest. Plugins that add to the login area via find_replace_templatesets usually anchor on the closing </form>:
find_replace_templatesets('header_welcomeblock_guest', '#</form>#', '</form>{$plugin_content}');
On the stock theme that </form> is inside the visible login box. In Curves the modal div closes around it, so injected content ends up OUTSIDE the modal - rendering up in the page header instead of inside the login popup:<div class="modal" id="quick_login"> ... </div> (modal closes here)
</form>{$plugin_content} (injected content lands out here)
A documented injection anchor inside the modal (or a stock-style </form> kept inside the login container) would let login-button plugins place correctly.Related: plugin Master stylesheets also get wiped on MyBB core upgrades (core bug #4265). I submitted a core fix: mybb/mybb#5395 - relevant to anyone running Curves with plugins.
Thanks again for the theme - happy to help test or PR anything on the GitHub repo.[/code]
Curves UI (pid=0) + plugins: Master stylesheets not inherited; login content lands ou