Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: Add options to settings menu - plugins Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
tahunasky
Newbie
Newbie


Joined: 13 July 2011
Location: New Zealand
Online Status: Offline
Posts: 25
Posted: 24 February 2012 at 8:39pm | IP Logged Quote tahunasky

Hi,

I use postfix/dovecot. I want to add a menu option ( to load a plugin - php script) to the SETTINGS screen to enable users to change their passwords. I already have the PHP script that works, so all i need to do is add menu, retrieve username and then run script after user has input old and new passwords.

How can i do this ?

Thanks
Back to Top View tahunasky's Profile Search for other posts by tahunasky
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 26 February 2012 at 11:55pm | IP Logged Quote Igor

WebMail already includes the code for changing passwords, it is used when Sieve filtering is enabled. You might need to check js/settings/user-settings-screen.js file as a starting point of the modifications.

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


Joined: 13 July 2011
Location: New Zealand
Online Status: Offline
Posts: 25
Posted: 29 February 2012 at 2:27pm | IP Logged Quote tahunasky

Hi, Thanks for the reply.. If i dont use sieve filtering does the password code still work ?

Back to Top View tahunasky's Profile Search for other posts by tahunasky
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 01 March 2012 at 12:17am | IP Logged Quote Igor

Not sure as to what code you're speaking of. You can re-use the interface rendered for password change via Sieve, you'll need to modify the conditions there of course. And since you already have some script for changing password, replace Sieve calls with code which calls your script.

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


Joined: 13 July 2011
Location: New Zealand
Online Status: Offline
Posts: 25
Posted: 01 March 2012 at 10:27am | IP Logged Quote tahunasky

Hi, I use postfixadmin with a MYSQL db backend for usernames, forwarding, autoreply/vacation etc..
So i will try and replace the sieve code with my scripts.. and hopefully it will work and i can share with others here who have a similar postfix/dovecot setup.

Thanks for the help/info.
Back to Top View tahunasky's Profile Search for other posts by tahunasky
 
PatrikIden
Newbie
Newbie
Avatar

Joined: 28 May 2012
Location: Sweden
Online Status: Offline
Posts: 9
Posted: 28 May 2012 at 1:26pm | IP Logged Quote PatrikIden

Igor wrote:
WebMail already includes the code for changing passwords, it is used when Sieve filtering is enabled. You might need to check js/settings/user-settings-screen.js file as a starting point of the modifications.

--
Regards,
Igor, AfterLogic Support


What is Sieve filtering
Back to Top View PatrikIden's Profile Search for other posts by PatrikIden
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 31 May 2012 at 1:39am | IP Logged Quote Igor

PatrikIden wrote:
What is Sieve filtering


Please see this and this documentation pages. We assume our ManageSieve Server is used, and though it's mainly about WebMail Pro, you might be able to use it with Lite as well.

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