Thanks!  The plugin works.  As you said, User still can change them in prefs,
but changes are not preserved after next login.  

How to disable changing those prefs per session?  e.g. if I want to set
left_refresh=120 and want to disable changing this pref per session,
which file(s) do I need to change?  I checked those files in
include/options/ and plugins, but could not find out where I should change.

Also, I set a folder called spams as a special folder by using
"user_special_mailboxes" plugin and include it in the forced pref, how
can I disable changing this pref per session?

I appreciate all help!

Hongwei

==============Original message text===============
On Fri, 04 Jun 2004 10:25:08 am CDT "Tomas Kuliavas" wrote:

> Hi,
>
> Can somebody tell me how to set some forced preferences for all users?
> i.e. users cannot change these preferences, but they can change other
> settings.  It seems that I need to create a mysql table "userprefs", but
> what is the definition of that table?  how to use it (forced pref)? any
> plugin for it?  Any document I can look at?

Maybe plugins list can help :)
http://www.squirrelmail.org/plugin_view.php?id=220

Admin describes option names and values in two arrays. Sample config is
included.

Plugin allows setting preferences. User still can change them in prefs,
but changes are not preserved after next login. If you want to disable
changing those prefs per session, you will have to disable them in option
pages. include/options/*.php and plugins/*/setup.php files.

Some settings (like email address) can be disabled in squirrelmail config
(4. General Options).

-- 
Tomas


-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
===========End of original message text===========





-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to