From: Tomas K. <to...@us...> - 2006-03-22 07:06:44
|
> Is it possible to have SquirrelSpell maintain its user dictionaries in SQL > instead of in flat files? We use a db backend for both our address books > and user prefs and would like to use a db for the dictionaries as well > since we run SM on a load balanced web farm. > > I didn't see any indication this was possible in the doc or in my searches > of the list archives or google (might have been searching for the wrong > thing though). I was wondering if anyone else had tried to do this and if > they were successful. SquirrelSpell plugin in 1.5.1 uses generic SquirrelMail preference functions and can store data in database. Plugin depends on checkForJavascript() and ngettext() functions. In 1.4.x checkForJavascript() function is provided by compatibility plugin. ngettext support requires many changes in SquirrelMail code and compatibility plugin can't support it without some hacks. ngettext is also provided by PHP 4.2.0+ gettext extension. If you have installed compatibility v.2 plugin and have PHP 4.2 or newer with gettext support, you should be able to use SquirrelSpell from 1.5.1. Some plugin strings are different and will remain in English. If I remember correctly, all changes that switch plugin from username.words to generic functions are submitted in one cvs commit or on same day. -- Tomas |