Re: How to turn off user options?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 14, 2009 at 5:44 AM,  <dwnek@xxxxxxxxxxxxxx> wrote:
> Choice is good.  But in some cases, too much is too confusing.
>
> I would like to keep a consistent user interface, so is there any way to
> keep users from changing their Options such as themes and css styles?
>
> Thanks!
> Brian
>
> Make sure you customize the data/default_pref file with your "preferred
> default settings". This file will be copied to username.pref for every new
> user you create and any user that logs in who doesn't have a pref file in
> the data directory. So if you want existing users options reset, delete
> their pref file and they will get the default_pref options next time they
> login.
>
> To prevent them from changing their options, you could comment out the
> following lines in functions/page_header.php
>
>           //  displayInternalLink ('src/options.php',
> _("Options"));           //  echo "  \n";
>
> This will remove the Options link from the page.

You should use the Forced Prefs plugin or the Login Manager plugin to
determine what options should be shown in the interface instead of
hacking the source code.

-- 
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux