Hello,
I wonder if it is easily possible to hide globally certain options for all the users within their settings section?
E.g. I'd like to set the server settings (clear trash on logout, compact inbox on logout, etc.) globally, which is possible within the main.inc.php but in the same time I wanna avoid that these settings can be changed back afterwards by each user within their own settings section by changing the states via the checkboxes.
thanx
climaxy
If these settings are in one block, you can remove the block from the skin
./skins/default/templates/settings.html
<div class="userprefs-block">
<roundcube:object name="userprefs" form="form" parts="general,mailbox,mailview" />
</div>
<div class="userprefs-block">
<roundcube:object name="userprefs" form="form" parts="compose,folders,server" />
</div>
Just remove the parts you do not wish to use.
you can also do this in the config, check the config file for:
// don't allow these settings to be overriden by the user
$rcmail_config['dont_override'] = array();
Thank you both!
=> That's what I was looking for! :-)