|
Re: Themes and upgrades [message #15645 is a reply to message #15644] |
Mon, 29 December 2003 21:30 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Given that rather extensive changes in FUD 2.6 you'll probably need to do some work to get your theme to work with new templates. The amount of work depends on the depth of your customizations. What it means that the upgrade process will replace the old templates with the new ones, which means old customizations in those templates will be 'lost' and you'll need to reapply them based on the backups.
As before, when the upgrade script upgrades the theme the old files are backed up into the .backup/ directory which can be found inside the errors directory.
FUDforum Core Developer
|
|
|
|
Re: Themes and upgrades [message #15657 is a reply to message #15655] |
Tue, 30 December 2003 14:01 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
No. During upgrade only the templates that were changed (in FUDforum) are replaced. For the most part I try to keep commonly modified templates such as header/footer/forum.css the same and in other instances the changes are usually fairly minor.
FUDforum Core Developer
|
|
|
|
Re: Themes and upgrades [message #15697 is a reply to message #15694] |
Fri, 02 January 2004 04:25 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Like I said before that depends on the nature of your customizations.
FUDforum Core Developer
|
|
|
|
Re: Themes and upgrades [message #15757 is a reply to message #15699] |
Sun, 04 January 2004 00:06 |
|
Wild_Cat
Messages: 144 Registered: November 2002 Location: Odessa, Ukraine
Karma: 0
|
Senior Member |
|
|
Nope. If customizations are no more than header/footer/css, it's not so much work. I only had to rework it once from 2.3.2 to 2.5.2/
What's painful for me and done every time - to delete default message icons so that they don't show up next to my own customized, smilies are not atomatical and if you have different file-names, you won't see the default ones, thankfully. And I think I had to re-upload some cusom buttons, like the ones in control panel...
The other question that change from 2.5.2 to 2.6.0 will be much more significant, and counting I think to make major changes to the new message display layout I don't like - that can cause more problems certainly, counting that it will require to redo it all anew every time, because if template is changed - this is for some reason (may be a bug fix - or a new feature?) and if you want to keep this change, you can't simply copy, you'll have to redo, I'll have to redo... Well, it's rather small 'payment' for having this wonderful engine developed and supported so vividly, I say!
Lady of Avalon
|
|
|
Re: Themes and upgrades [message #15764 is a reply to message #15757] |
Sun, 04 January 2004 06:37 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
I wish I knew how to determine whether or not to keep the old icons or not. If anyone had any suggestions how to do this, those suggestions are more then welcome.
FUDforum Core Developer
|
|
|
Re: Themes and upgrades [message #15782 is a reply to message #15764] |
Mon, 05 January 2004 01:30 |
|
Wild_Cat
Messages: 144 Registered: November 2002 Location: Odessa, Ukraine
Karma: 0
|
Senior Member |
|
|
As far as I understand, you are talking about message icons.
Also, if I understand it right, the upgrade script overwrites changed files checking by their version name, which is not possible in case of icons...
But then icons are not updated every time, so no need to include them may be? That's a part of possible solution, as it seems to me.
I didn't know until reading this topic, that old files are stored in the backup dir. But the first time I discovered the message icons are overwritten, I named my new icons differently, so I only needed to remove the ones I don't need on the next upgrade. So, if we suppose, the forum admin has enough wits to use one or another from the above-mentioned work-arounds (restore from backup or give different names if he's too lazy like me to read docs), another partial solution may be to check for file existence in case of an icon update and NOT create it if DOES NOT exists?
As for the smilies new pics every time, I don't even need to remove them since they are included from database, so unused smilies don't give any problem (for more deleted by optimizer?). A forum icons manager as for smilies and another SQL table? That's another cardinal possible solution, seems to me...
Lady of Avalon
|
|
|