Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: Hmailserver password change Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
modit
Newbie
Newbie


Joined: 07 May 2015
Location: India
Online Status: Offline
Posts: 1
Posted: 07 May 2015 at 1:10am | IP Logged Quote modit

Hello, i am running hmailserver , xampp , sql server (for hmail) and webmail lite.

I am able to login , send and receive emails, but main problem in configuring the plugins.

I downloaded the hmailserver password chang plugin 'hmailserver-change-password' , placed it /data/plugins , made necessary changes to /data/settings/config.php file. But i am not able to view any password change link or option after i logged in.

Moreover i have tried the 'footer-on-login' and on default page is getting 'PLUGIN_FOOTER_ON_LOGIN/COPYRIGHT' at bottom.

In there any other option to activate the plugin that i am missing?

Thank you
Back to Top View modit's Profile Search for other posts by modit
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6037
Posted: 07 May 2015 at 3:58am | IP Logged Quote Igor

Quote:
But i am not able to view any password change link or option after i logged in.


There should be Change Password button under Settings > Email Accounts > Properties tab. Is it missing from there? Also, did you allow users to change account settings under Domains > Default domain settings in AdminPanel?

Also, you need to make sure IMAP host is set to 127.0.0.1 or localhost in there.

Quote:
Moreover i have tried the 'footer-on-login' and on default page is getting 'PLUGIN_FOOTER_ON_LOGIN/COPYRIGHT' at bottom.


Do you have interface language set to English? And if not, does the issue persist if you switch it to English?

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

Joined: 28 July 2015
Location: Nigeria
Online Status: Offline
Posts: 2
Posted: 28 July 2015 at 4:03pm | IP Logged Quote segxy2708

hello igor, follow this step but there's no link showing change password.

set imap to localhost also

is there something i'm missing?
Back to Top View segxy2708's Profile Search for other posts by segxy2708
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6037
Posted: 29 July 2015 at 5:26am | IP Logged Quote Igor

It looks like we had a bug in 7.6 release which prevented Change Password button from displaying. Developers have provided the solution for this.

1. In static/js/app.js file, locate the function:

Code:
CEmailAccountsSettingsViewModel.prototype.fillAccountPermissions = function (iAccountId)


It contains the following line:

Code:
this.allowProperties(!bDefaultAccount && AppData.App.AllowUsersChangeEmailSettings || !AppData.AllowIdentities);


Replace it with:

Code:
this.allowProperties(!bDefaultAccount && AppData.App.AllowUsersChangeEmailSettings || !AppData.AllowIdentities || oAccount.extensionExists('AllowChangePasswordExtension'));


2. That app.js file isn't used by default - its minified version app.min.js is used. To change that, add the following item to the array defined in data/settings/config.php file:

Code:
'labs.use-app-min-js' => false,


3. In templates/views/Settings/AccountPropertiesViewModel.html file, replace line:

Code:
<div class="buttons" data-bind="visible: isAllowMail">


with:

Code:
<div class="buttons" data-bind="visible: allowUsersChangeEmailSettings && (isAllowMail() && (!isDefault() || !isLinked()) || canBeRemoved() && !isDefault()) || !isAllowIdentities">


4. Remove all the files and subdirectories found under data/cache/ dir. Also, be sure to clear web browser to apply changes.

Hope this helps!

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

Joined: 28 July 2015
Location: Nigeria
Online Status: Offline
Posts: 2
Posted: 29 July 2015 at 7:34am | IP Logged Quote segxy2708

hello igor, implemented your current steps but still didn't fix it. couldn't get the change password link.
Back to Top View segxy2708's Profile Search for other posts by segxy2708
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6037
Posted: 29 July 2015 at 7:40am | IP Logged Quote Igor

While we don't offer guaranteed free support for WebMail Lite, we'd like to look into this for you. Please provide us with AdminPanel access details and test account login credentials via HelpDesk.

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


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6037
Posted: 30 July 2015 at 5:01am | IP Logged Quote Igor

It looks like one more code modification is needed. In static/js/app.js file, replace the function:

CEmailAccountsSettingsViewModel.prototype.fillAccountPermissions = function (iAccountId)

with the following code:

Code:
CEmailAccountsSettingsViewModel.prototype.fillAccountPermissions = function (iAccountId)
{
  var
    oAccount = AppData.Accounts.getAccount(iAccountId),
    bAllowMail = !!oAccount && oAccount.allowMail(),
    bDefault = !!oAccount && oAccount.isDefault(),
    bLinked = !!oAccount && oAccount.isLinked(),
    bChangePass = !!oAccount && oAccount.extensionExists('AllowChangePasswordExtension')
  ;

  this.isAllowMail(oAccount && oAccount.allowMail());
  this.allowProperties(AppData.App.AllowUsersChangeEmailSettings && bAllowMail && (!bDefault || !bLinked) || !AppData.AllowIdentities || bChangePass);
};


Be sure to clear browser cache to apply changes.

--
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