2005-12-06, 01:39 AM
[Couldn't find a better place to post this]
Well, i've completed what I'd call the most easy upgrade yet. I upgraded these forums from 1.0 PR2 to 1.0 [Final] (as of the latest code base anyway). It was the easiest and most pain free upgrade I think i've done yet.
Why?
Because of the new commits to the code I did yesterday, you'll no longer lose your custom templates and your custom theme if upgrading from PR2 to Final. Earlier upgrades such as RC4 to Final however will result in loss of templates due to the amount of changes made between those versions.
Basically, the way it works is:
The themes also weren't lost even though the master CSS was updated.
I think i'll go and relax now while you guys have a chance to find some bugs
Well, i've completed what I'd call the most easy upgrade yet. I upgraded these forums from 1.0 PR2 to 1.0 [Final] (as of the latest code base anyway). It was the easiest and most pain free upgrade I think i've done yet.
Why?
Because of the new commits to the code I did yesterday, you'll no longer lose your custom templates and your custom theme if upgrading from PR2 to Final. Earlier upgrades such as RC4 to Final however will result in loss of templates due to the amount of changes made between those versions.
Basically, the way it works is:
- The upgrade script imports/updates the master templates in the database. It updates existing ones and creates those which don't exist.
- The master templates are then updated to contain a MyBB version code (100.07 for final)
- After the upgrade is complete, you go to the Admin CP and use the 'Find Updated' tool in the templates section.
- This tool identifies any custom templates you have which have a lower version number than the master templates.
- You then use the tool to either edit the custom templates to contain updates, or revert them to the originals
- If you wish to see which changes have been made, you can use the inline 'diff' analysis tool which will hilight the changes made between the master and custom templates.
The themes also weren't lost even though the master CSS was updated.
I think i'll go and relax now while you guys have a chance to find some bugs