started thinking about the plugin api for 5.0 today… not much, but thought I would put some initial thoughts down and initialize a dialog thread…
First, we need to be able to allow users to create plugins (or ourselves) and have them added to the base plugin. IMHO, every plugin (only 2 or 3) that I looked at that allows plugins, really doesnt do it from an addon/api perspective – or really integrated… nextgen gallery is an example… seems like users just create a new plugin and utilize any functions/api provided… so you end up with a bunch of disjointed admin pages and what not… I was thinking of something more coordinated… ie adding plugin admin panels to our own admin panels and keeping them together…
We could provide a plugins subdir under simple-forum for the uploading of plugins. but, if we do that, then we would probably need to create a whole plugins management system like the WP plugins page. While we could leverage/copy the WP code, not sure that make sense to reinvent the wheel…
Seems like a better option is to just put simple:press plugins in the standard wp plugins directory. and let WP handle all the plugin mechanics. At the very simplistic level (details tbd), in the main plugin routine, all this plugin would do in its base routine, is register with simple:press on activation or maybe a do_action() to let us know they are there.
We would keep a list of activated plugins. The plugin would then provide some init routine with base hooks (or they could be in the main routine) for us. We could provide routines for adding admin menus that this init stuff could tie into… more on that later – maybe…
but wanted to have the discussion on plugins locatin and management first… guess my thoughts are let WP manage them and just provide registration/initialization interface… or we could provide and entire interface, but seems overkill and redundant…
thoughts?

