Author |
|
Adkar Newbie
Joined: 26 September 2011 Location: South Africa
Online Status: Offline Posts: 15
|
Posted: 04 October 2011 at 1:40am | IP Logged
|
|
|
Hi,
I have been working on the autocheck interval setting and what i would like to do is set it to a default of 10 minutes for every user and hide the control from the user so they cannot change it.
Is that kind of thing possible?
Thanks,
Adkar
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 04 October 2011 at 3:18am | IP Logged
|
|
|
Both the tasks can be solved easily. Default autocheck interval value is defined in App_Code/User.cs file, line ~912 should look like:
Code:
_auto_checkmail_interval = 10; |
|
|
Even though the code under App_Code is normally recompiled automatically, you might still need to force the recompilation by running compile.bat file found in main WebMail directory.
As for preventing users from changing that setting, the simplest way is to hide the setting with CSS. In js/settings/common.js file, modify line 140 as follows:
Code:
this._autoCheckMailCont.className = 'wm_hide'; |
|
|
Hope this helps!
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|