Cotonti / Open Source PHP Content Management FrameworkContent Management Framework

Forums / Cotonti / Core Labs / Archive / Seditio compatibility plugin

Supporting stuff that is not in the core anymore

#1 2008-11-24 03:22
As we have removed some of Seditio's functionality, some existing sites will have problems when migrating to Seditio-N. All the SQL updates will be held by upgrade script, but there are also bbcodes that have been removed and probably some other things.

So I suggest making a plugin called "seditio" containing some things that were removed but may be required for some old Seditio installations.

First thing required is missing bbcodes (like thumbnails, PFS and topic/user/etc). They can be easily installed and uninstalled with this plugin (by utilizing bbcode API in seditio.install.php and seditio.uninstall.php).

Any thoughts on what else we got lost and could be done with this plugin?
May the Source be with you!
#2 2008-11-24 17:32
I have noticed some BBcode missing, Many functions are differnet now, and later will not be compatible. As also later the functions will be renamed away from sed_ to cot_
So, I think we will have to have some sort of modified legacy functionality. Essentialy wrappers in some cases, and in some case's possibly modified functions to work with things we have now.

I would recommend we have for loading plugins, a way to detect these, and possibly as needed flag them as special. And then load legacy files as needed. The only other possiblity is to for them to make some manual changes. This of course would be the most recommended route.
#3 2008-11-26 14:00
I'm talking of a compatibility plugin for current (trunk), but as for future, right point on compatibility layer for plugins.
May the Source be with you!