[horde] Setting Default Preferences Before First Login
wrobel at pardus.de
Mon Feb 6 06:33:27 UTC 2012
Brian Spraker <spraker at yahoo.com> schrieb:
>OK - continuing with Horde 4 install and I have another question about
>With Horde 3, I would create a user account. I would then login to the
>user account and set all of the preferences to what I would want set
>for any 'default' user that hasn't been created yet.
>I would then go into the horde database and find all of the preferences
>set under the horde_prefs table amongst the others based upon the login
>ID I just used.
>I then made an SQL/PHP script from those default preferences so
>whenever I would make a new user account, this script would run and
>setup all of the preferences to how they were set with my test account.
>However, with Horde 4, I see that the pref_value field is now a BLOB
>and not LONGTEXT as it was in Horde 3.
>So how can I setup default preferences for all users before they even
>login or use their account? Things like disabling the Virtual Folders,
>setting reminders, default folders (Sent, Trash, Spam, Drafts), and all
>other items no longer are available because of the BLOB field type.
>Appreciate any additional help.
This is what the prefs.php files are for. Set any system wide defaults that should deviate from the defaults in the prefs.php files in a new prefs.local.php file.
This procedure was used for Horde 3 as well though. Editing the DB seems like an unnecessary hack.
>Horde mailing list
>Frequently Asked Questions: http://horde.org/faq/
>To unsubscribe, mail: horde-unsubscribe at lists.horde.org
The Horde Project
e: wrobel at horde.org
t: +49 700 6245 0000
pgp: 9703 43BE
More information about the horde