Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: Pre-purchase question Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
SeaWasp
Newbie
Newbie


Joined: 13 June 2009
Location: United States
Online Status: Offline
Posts: 2
Posted: 13 June 2009 at 1:37pm | IP Logged Quote SeaWasp

I am testing out WebMail Pro and I like what I have seen so far. I have one pre-purchase question so far. I like the capability to allow users to change email settings, however, there are certain e-mail settings I don't want them to be able to change, such as being able to leave messages on the server. I want them to be able to set all other settings, except that one. I see that when you purchase the product you would receive the source code, and I can code in PHP. Is it possible to disallow resetting this one setting in the code? Also, I may want to change other settings in code as well. Is that possible?

Thanks,

Gary
Back to Top View SeaWasp's Profile Search for other posts by SeaWasp
 
marci
Valued Community Member
Valued Community Member


Joined: 15 August 2007
Location: Denmark
Online Status: Offline
Posts: 22
Posted: 13 June 2009 at 2:09pm | IP Logged Quote marci

You can edit the source code as you want.
It will be easy to disallow it by for instance simple hide it for the user. I though code i asp.net so not quite sure what would be a smart way, but I guess you can figure that out, if you code in PHP

You can also request the Afterlogic developer team to make the changes, but that won't be free though

Best regards,
Jeppe
[Webmail pro User]
Back to Top View marci's Profile Search for other posts by marci
 
SeaWasp
Newbie
Newbie


Joined: 13 June 2009
Location: United States
Online Status: Offline
Posts: 2
Posted: 13 June 2009 at 4:46pm | IP Logged Quote SeaWasp

Hi Jeppe,

And thanks. I have been looking through the code in the trial version and it is very convoluted. It will be hard to figure out. I'm on a thin budget so I am sure if we decide to purchase the product, we would not be able to afford their customization fees. You are right, I just need to hide those items in the settings area when a user is signed on, but their code is something else.

Again thanks,

     Gary

marci wrote:
You can edit the source code as you want.
It will be easy to disallow it by for instance simple hide it for the user. I though code i asp.net so not quite sure what would be a smart way, but I guess you can figure that out, if you code in PHP

You can also request the Afterlogic developer team to make the changes, but that won't be free though

Best regards,
Jeppe
[Webmail pro User]
Back to Top View SeaWasp's Profile Search for other posts by SeaWasp
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 13 June 2009 at 10:23pm | IP Logged Quote Igor

Dear Gary,

Jeppe was precise when saying that source code modification requires involving developers. However, maybe the following simple solution would suit you: instead of removing unnecessary fields, I suggest hiding them via CSS. Open screen.account-properties.js file and locate the following lines:
Code:
td.colSpan = 3;
inp = CreateChildWithAttrs(td, 'input', [['class', 'wm_checkbox'], ['type', 'radio'], ['id', 'mail_mode_0'], ['name', 'mail_mode'], ['value', '1']]);

and add a line there:
Code:
td.colSpan = 3;
td.className = 'wm_hide';
inp = CreateChildWithAttrs(td, 'input', [['class', 'wm_checkbox'], ['type', 'radio'], ['id', 'mail_mode_0'], ['name', 'mail_mode'], ['value', '1']]);


This should work for AJAX-powered user interface. For classic HTML, this is even simpler. Locate the following lines in classic/class_settingspanel.php file:
Code:
<tr id="pop_advanced">
<td colspan="3">

That should be replaced with:
Code:
<tr id="pop_advanced">
<td colspan="3" class="wm_hide">


--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide