[imp] A few more 2.3.7 queries

Jan Schneider janmailing@gmx.de
Wed, 13 Jun 2001 15:54:44 +0200


No, I talked about the fields in the SQL table that stores your prefs as 
defined in $conf['prefs']['params']['table'].

Zitat von francus@metsny.yossi.com:

> Not sure what you mean by the empty scope?
> Would that be
> 
> $conf['prefs']['params']['scope'] = 'imp';
> 
> or
> 
> $conf['prefs']['scope'] = 'imp';
> 
> Quoting Jan Schneider <janmailing@gmx.de>:
> 
> > Zitat von francus@metsny.yossi.com:
> > 
> > > The catch is that I do have the settings in horde.php and it is not
> > picking
> > > up what was already saved in 2.3.6.
> > 
> > Does the hint with the empty scope fields work?
> >  
> > > Any ideas about to_domain field?
> > 
> > No. But there is a function hook in conf.php for expanding "from"
> addresses.
> > 
> > Perhaps you can implement something similar for "to" addresses?!
> >  
> > > Quoting Jan Schneider <janmailing@gmx.de>:
> > > 
> > > > Zitat von francus@metsny.yossi.com:
> > > > 
> > > > > In 2.3.6 the horde_prefs table was defined in imp/config/conf.php
> and
> > > > > allowed mysql as a parameter. It appears that in 2.3.7 it is
> defined
> > > > > in horde/config/horde.php and mysql is not an allowable parameter,
> > only
> > > > > sql is. In any case preferences that were saved with 2.3.6 do not
> > show
> > > > > up in 2.3.7 even though the name of the datbase in the relevant
> > config
> > > > > files is horde_prefs under both versions.
> > > > 
> > > > To use mysql as the prefs driver you should have something like this
> in
> > > your
> > > > 
> > > > horde.php:
> > > > 
> > > > // What preferences driver should we use? Valid values are 'none'
> > > > // (meaning use system defaults and don't save any user preferences),
> > > > // 'session' (preferences only persist during the login), 'ldap', 
> > > > // and 'sql'.
> > > > $conf['prefs']['driver'] = 'sql';
> > > > 
> > > > // Any parameters that the preferences driver needs. This includes
> > > > // database or ldap server, username/password to connect with, etc.
> > > > $conf['prefs']['params'] = array();
> > > > $conf['prefs']['params']['phptype'] = 'mysql';
> > > > $conf['prefs']['params']['hostspec'] = 'localhost';
> > > > $conf['prefs']['params']['username'] = 'foo';
> > > > $conf['prefs']['params']['password'] = 'bar';
> > > > $conf['prefs']['params']['database'] = 'horde';
> > > > $conf['prefs']['params']['table'] = 'prefs';
> > > > 
> > > > I'm not sure about 2.3.6, but if the scope fields in the prefs table
> > are
> > > > blank 
> > > > try to change them to 'imp'.
> > > > 
> > > > Jan.
> > > > 
> > > > 
> > > > -- 
> > > > IMP mailing list: http://horde.org/imp/
> > > > Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> > > > Frequently Asked Questions: http://horde.org/faq/
> > > > To unsubscribe, mail: imp-unsubscribe@lists.horde.org
> > > > 
> > > 
> > > 
> > > -------------------------------------------------
> > > This mail sent through IMP: http://horde.org/imp/
> > > 
> > > -- 
> > > IMP mailing list: http://horde.org/imp/
> > > Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> > > Frequently Asked Questions: http://horde.org/faq/
> > > To unsubscribe, mail: imp-unsubscribe@lists.horde.org
> > > 
> > > 
> > 
> > 
> > ::::::::::::::::::::::::::::::::::::::::
> > AMMMa AG - discover your knowledge
> > :::::::::::::::::::::::::::
> > Detmolder Str. 25-33 :: D-33604 Bielefeld
> > fon +49.521.96878-0 :: fax  +49.521.96878-20
> > http://www.ammma.de
> > ::::::::::::::::::::::::::::::::::::::::::::::
> > 
> > -- 
> > IMP mailing list: http://horde.org/imp/
> > Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: imp-unsubscribe@lists.horde.org
> > 
> 
> 
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
> 
> -- 
> IMP mailing list: http://horde.org/imp/
> Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
> 
> 


::::::::::::::::::::::::::::::::::::::::
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax  +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::