Euan Torano
Euan Torano
You can still fairly easily add new packages using the GitHub UI by clicking `Create new file`, you just have to then copy the JSON (or whatever) structure into the...
We have also had some discussion about managing JavaScript scripts related to themes. The idea was that we'd have a JS manager similar to the stylesheet manager with some of...
Regarding theme installation, I would love to package themes as Composer packages so that they can be installed that way as well as via the standard upload procedure (including simply...
Yes, that is one of the main 1.9 features. On Fri, 15 Nov 2019, at 22:55, Jérémy wrote: > Hi, > > Can you make a responsive theme please >...
Hi, the 1.9 template system (Twig) actually allows us to register functions as well as variables. In 1.9, the following is possible for example: ```twig {{ assert_url('images/test.png') }} ``` This...
Looking at the 1.9 code, the whole `$header` variable is gone, and we instead use partials: - Layout: https://github.com/mybb/mybb/blob/develop/1.9/inc/views/base/layouts/master.twig - Header partial: https://github.com/mybb/mybb/blob/develop/1.9/inc/views/base/partials/header.twig These variables and conditions would only be...
IMO if the variables are only needed in `header.twig`, I can see a clear use case for a Twig extension that registers functions/filters to get these values. Perhaps if you...
It looks like `modnotice` and such are all now handled by the `headerMessages` variable. - Defined: https://github.com/mybb/mybb/blob/develop/1.9/global.php#L475 I can't seem to find where this is actually passed in to any...
That `eval` code is completely useless, and I have no idea why it's still there either - see #3684 as there are still quite a few cases like this that...
@lairdshaw > I don't see how it could simply edit that global: how, without some sort of potentially fallible regex pattern-matching, would it know which element of the array it...