On Fri, Dec 12, 2008 at 7:40 AM, RSH <royce@xxxxxxxxxx> wrote: > Hi there, I am new to SM (but an experience PHP programmer) and I searched > through the plug-ins etc trying to find out how to reduce or remove options > that are available to the end users. I'm primarily interested in how to > greatly reduce the amount of options available in 'display preferences'. > > Our email system will be targeted to young people and we don't want them to > be confused with all of the options in the display preferences. We probably > only want them to have the 'theme' selector. > > Are there any plugins or system wide options for this? >From the Login Manager (vlogin) CONFIGURATION file under the $virtualDomains explanation: It is also possible to disable options page items for a domain (also in the per-user config file) by adding the keyword "disable_options" to this array. This keyword should have an array as its value. That array should be a list of option names (enclosed in quotes) that should be removed from any of the options pages you desire (Display Preferences, Folder Preferences, Personal Information). This functionality is a good compliment to the Forced Preferences plugin or a good way to disallow a user from entering a fake email address on the Personal Information screen. See the config.sample.php file for an example. The options you may currently disable follow, but this is ever-changing, so check the source code for the most up-to-date list. Display Preferences chosen_theme custom_css language javascript_setting js_autodetect_results show_num alt_index_colors page_selector page_selector_max show_full_date ... ... ... Although, testing it, I see this has broken along the way if $useSessionBased is turned on. I have a fixed version for that issue, so contact me offlist if you need it before it is released. ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ----- 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