-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday, January 27, 2003, Stefan Tanurkov wrote...
PP>> Every plugin (no matter of what kind, AV or AntiSpam etc.) could PP>> register an array of macros that would be added to the TB! PP>> standard set of macros. > This is the same idea I've got too. It just needs some time to > provide all those possibilities. It just takes some time to > implement the "slots" :-) If I'm understand thing correctly, the theory behind the plugins would be the same as how we've got it setup on the SquirrelMail project I work on. A number of "predefined hooks" in specific locations. We then provide a single function that fetches the plugins for that "hook". An example is the login page, there are three hooks, login_before_form, login_form, and login_after_form (I think). On loading of a page, a single function is called [do_hook($hook_name)] that runs through an array of plugins and fetches all those that affect that plugin. Inside the plugins core file (setup.php), is a setup function that provides the necessary details in the format: $squirrelmail_plugin['name']['hook'] = 'function to call'; name is obviously the name, while hook is where it works from. Am I right in assuming that this would be 'roughly' how you are planning on doing things? > Meanwhile, we would like to hear suggestions about implementation, > places, etc. > Here is what is already planned (just to avoid repetition): > - Macros > - Menu commands/Toolbar buttons I can see a use for this... certainly > - Filtering: > - additional conditions > - actions > - complete filters I can see a partial need for these, such as allowing a filter to do RBL lookups if you wanted. > - Message loading processors > - Attachment handlers (is this needed?) Possibly, allow extensions as per explorer, such as send to zip, send to..., maybe a virus scanner per file (if not done already?), maybe allow for the overriding of the default windows handlers for attachments (open with... and such). > - Editor extensions > To all: what do you feel about this? :-) They sound good to me. - -- Jonathan Angliss ([EMAIL PROTECTED]) -----BEGIN PGP SIGNATURE----- iQA/AwUBPjWWVSuD6BT4/R9zEQKW0wCfa5v4L1mDOiHpi0iQ5jz0tGJCDscAoKYd 5H1nW5Vtz2oLxQBPseaxundz =aquE -----END PGP SIGNATURE----- ________________________________________________ Current version is 1.62 | "Using TBDEV" information: http://www.silverstones.com/thebat/TBUDLInfo.html

