[imp] Set a default value and lock "msgflags" in IMP

Vilius Šumskas vilius at lnk.lt
Fri Apr 27 18:20:36 UTC 2012


Sveiki,

Friday, April 27, 2012, 8:33:57 PM, you wrote:

>>
>>
>> $_prefs['msgflags'] = array(
>>      // 'value' = serialize(array())
>>      'value' =>  'a:0:{}'
>> );
>>
>>
>> As far as i know, you can use your customize theme and amend color whatever
>> you want.

> The problem is that I'm trying to set a default value for flag colours
> for all users and lock it - in prefs.local.php

> I've already changed them for individual users through the interface -
> and it works - but they only apply to that particular user and the 
> settings go in the SQL back end. I need a way of specifying defaults in
> prefs.local.php - and I can't find the right syntax/format for the array
> 'msgflags'.

Check SQL backend for 'msgflags' for the particular user where you modified the flags
like   they   should   be.   And   then   copy  paste  that  value  to
prefs.local.php.

-- 
Best regards,
 Vilius



More information about the imp mailing list