Hi! I'm new here. Been an user of MyBB for almost a year and I'm loving it, so my users.
So, let me talk you about this issue that I have:
Everytime I upgrade the forum (running upgrade.php, that is), my forum style goes crazy and I get a mix of the Default MyBB style and the one that I use (N.Design).
This issue happened to me recently, when I upgraded from 1.4.7 to 1.4.8, and then running the upgrade.php script; but has happened to me before, twice.
The version of N.Design style I use is 1.4.6.
Also, I run the SpiceFuse Shoutbox and I have to reinstall it everytime I run an upgrade.
So, my question is, is all this as design? Because it's quite bothersome to spend 2 hours trying to fix stuff that should not be broken for a simple update.
Thanks for your help.
That's strange, my custom theme hasn't been bothered with any update I've done. Did you by any chance revert your custom theme templates to the defaults?
About plugins, you are supposed to disable them before upgrading and re-enable them after the upgrade. Again, had no such problem with any of the plugins I use (except from loss of their settings, which is normal since I disabled them and re-enabled them after)
(2009-08-12, 06:22 AM)bositman Wrote: [ -> ]Did you by any chance revert your custom theme templates to the defaults?
No, but the templates get reverted automatically?
Quote:About plugins, you are supposed to disable them before upgrading and re-enable them after the upgrade. Again, had no such problem with any of the plugins I use (except from loss of their settings, which is normal since I disabled them and re-enabled them after)
I see, that's as design then.
(2009-08-13, 01:15 AM)lolfang Wrote: [ -> ]Quote:About plugins, you are supposed to disable them before upgrading and re-enable them after the upgrade. Again, had no such problem with any of the plugins I use (except from loss of their settings, which is normal since I disabled them and re-enabled them after)
I see, that's as design then.
It's actually the plugin authors choice what to do in activate/deactivate/install/uninstall. My Google SEO plugin for example does not remove any settings groups when you disable it. You have to uninstall it to get rid of settings and database entries. So you can deactivate it, and activate it, without losing anything.
The MyBB example plugin "hello.php" has a comment like this:
/*
* _deactivate():
* Called whenever a plugin is deactivated. This should essentially "hide" the plugin from view
* by removing templates/template changes etc. It should not, however, remove any information
* such as tables, fields etc - that should be handled by an _uninstall routine. When a plugin is
* uninstalled, this routine will also be called before _uninstall() if the plugin is active.
*/
But unfortunately that's a problem left to each individual plugin maker to solve. Often this is just not done, leading to people simply not deactivating plugins as they upgrade. Which works in most cases, but there may be plugins that don't like it anyway.