MyBB Community Forums
How to update themes to 1.8.21? - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Themes (https://community.mybb.com/forum-103.html)
+---- Forum: Theme Support (https://community.mybb.com/forum-10.html)
+---- Thread: How to update themes to 1.8.21? (/thread-224304.html)



How to update themes to 1.8.21? - Miraimaher - 2019-08-18

Hello, what are the steps to update a theme to make it compatible for 1.8.21? is there a guide available for this?

Thank you!


RE: How to update themes to 1.8.21? - Serpius - 2019-08-18

(2019-08-18, 09:57 AM)Miraimaher Wrote: Hello, what are the steps to update a theme to make it compatible for 1.8.21? is there a guide available for this?

Thank you!

Start with this WEBPAGE and navigate to the section about themes.


RE: How to update themes to 1.8.21? - panayot - 2019-08-18

Most important change in 1.8.21 is in the editor: 
https://github.com/mybb/mybb/pull/3639#issuecomment-480689866

When a new version of MyBB comes out, I go through the changes in the theme since the previous version and apply them to my theme:
https://github.com/mybb/mybb/commits/feature/install/resources/mybb_theme.xml

If there is an easier way, I haven't found it yet  Big Grin


RE: How to update themes to 1.8.21? - User 6029 - 2019-08-18

(2019-08-18, 09:57 AM)Miraimaher Wrote: Hello, what are the steps to update a theme to make it compatible for 1.8.21? is there a guide available for this?

Thank you!


While the suggestions for viewing release notes and or github changes specific to theme xml are sound, I find that is only one part of it. Install the theme and use ignore compat mode during install, then the find updated templates function and view diff function in the find updated templates function is the more standard way of finding changes ( open view diff in one window and edit in another window aligning windows side by side  makes this fairly easy ) and updating as far as the template side of things are concerned while as far as the css side of things would be done by reviewing release notes, github changes, etc, etc..., best of luck.


RE: How to update themes to 1.8.21? - Ashley1 - 2019-08-18

(2019-08-18, 09:57 AM)Miraimaher Wrote: Hello, what are the steps to update a theme to make it compatible for 1.8.21? is there a guide available for this?

Thank you!

There is only one way to update a theme. First, determine what version the theme was written for. Second, apply the changes as listed on the MyBB blog posts for each and every point release, until your theme is up to date. The only thing the blog posts don't indicate is CSS changes, you have to determine this afterwards by doing a manual comparison.
If this seems to much work then the only alternative is to rebuild the theme on a latest MyBB version.


RE: How to update themes to 1.8.21? - Miraimaher - 2019-08-21

Thanks for all the information, the theme I want to update is a responsive theme named Muv-Alt, I used it in the past but I think the last update is from 2014 or 2016 so it probably needs alot of changes


RE: How to update themes to 1.8.21? - panayot - 2019-08-21

Yes, that is a lot of changes. You will spend many hours going through them and applying to the theme.


RE: How to update themes to 1.8.21? - [ExiTuS] - 2019-08-21

I am not aware of something similar on MyBB.com - You can easily use the German MyBB documentation for upgrades with it's excellent template comparison:
https://www.mybb.de/doku/sonstiges/geaenderte-dateien-templates/1821/

Just choose any older version to compare and then click all templates listed.
For example 1.8.11 <-> 1.8.21:
https://www.mybb.de/doku/sonstiges/geaenderte-dateien-templates/1821/1811/

All new templates are labelled with "[hinzugefügt]" and need to be added (manually or using the upgrade).

[ExiTuS]


RE: How to update themes to 1.8.21? - User 6029 - 2019-08-21

Again, while some keep saying the only way to update is to read release notes or github while meaning well, are incorrect in that assumption as that is not the only way nor the standard way and are forgetting the actual standard way most have updated for years. Ok, install using ignore compat, then use find updated templates function, open view diff function in one window and edit in another window side by side. That will cover the template side of things.  Also since there is not a function for this via css, you would have to simply do something like, open up current default css in one window and the css for the theme you are updating in a window beside it, then use your eyes and brain as you read both windows as the view diff function, lol, it does work.  Primarily the things you will need to look for in css since your theme is several updates outdated is say the changes in (modal)blocker, the changes in locked becoming closed, etc, etc. Best of luck.