> Checked out the "forced user preferences" plugin, but wasn't sure how to
> configure it to disallow the setting of Folder Refresh (ie, want to set it
> to "Never" for everyone).
>
> I'm running SM 1.4.2.
> I set under the forced_user_preferences config.php (in the plugin
> directory):
>
> $fp_forced_settings = array(
>     'left_refresh' => SMPREF_NONE
> );
>
> But, it doesn't seem like that's right (as I was able to just set the
> preference to be something else in my local options, and it was refreshing
> again).
>
> Is there anything I can do shy of removing the code from the folders
> module?
> Or, does someone know the proper attribute (and value) that needs to be
> set?
> Thanks.

Plugin currently does not remove settings from option pages. It is planned
feature for 1.1. Currently I have only thoughts about way of doing it.

If you want to remove this setting right now - disable option block in
include/options/folders.php. You can find other mails about forced_prefs
in this mailing list or in squirrelmail-plugins list. These emails contain
examples of removed preferences.

If you want to be able to do it in forced_prefs - write the code, that
modifies option block with folder preferences.

I think in order to disable certain options, plugin must have extra
functions added to init function and extra functions hooked to display and
folder option hooks.



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
--
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