[EMAIL PROTECTED] wrote: > Implement a way for: > > - plugins to declare their own version number > - config code to check for a version of the plugin -- "ifpluginversion" > > This will allow for third party rules and plugins to be distributed > independently of each other while allowing (in the rules) for the presence or > absence of features added to or removed from the required plugin. >
I like this idea. Also, while we're thinking about it in the code, I wanted to revisit unloadplugin. Its been awhile since I messed with the config code but I think we load plugins right away on loadplugin. What if during .pre parsing we didn't load right away, but waited until all the .pre files had been read and then loaded. Then an unloadplugin would cause a pluging to not be loaded. I'd propose that unload takes precedence over load so in the case of parsing several files order wouldn't matter. Just a thought. Who knows maybe I'll actually get some time to work on it myself one of these days. However, if someone happens to be digging around in that part of the code I wouldn't mind seeing it. Michael
