Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: Address Book import from another db Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
denis
Newbie
Newbie


Joined: 15 June 2015
Location: Italy
Online Status: Offline
Posts: 16
Posted: 15 June 2015 at 2:03pm | IP Logged Quote denis

I would like to create a plugin for address book migration from an old squirrelmail to your php webmail pro

I'd like to
- create a link in the top menu "Import old AB"
- on click open a page to get some user info
- on post connect to the old db, read the contacts and save them in your db
- at the end send response to the client

Do you have some snippets of code that could help me to develop it?

I think it could be a usefull plugin for all...

thanks

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


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 16 June 2015 at 12:35am | IP Logged Quote Igor

While we don't seem to have samples which cover the entire idea, the following might help:


The last item should help with displaying dynamic content within WebMail interface.

Also, we're currently in process of releasing complete API reference for the product, and some new APIs will be out along with upcoming 7.6 release.

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


Joined: 15 June 2015
Location: Italy
Online Status: Offline
Posts: 16
Posted: 17 June 2015 at 8:05am | IP Logged Quote denis

Ok, I was able to implement many of the steps in my plugin

Is it possible to use afterlogic libraries to connect to an external mysql db from within the plugin? Can you give me a little snippet of code

And is it possible to add a tab to the left menu of the "Contacts page" (I've seen a sample that adds a tab to the Settings page)

Thanks for your support


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


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 17 June 2015 at 8:15am | IP Logged Quote Igor

Quote:
Is it possible to use afterlogic libraries to connect to an external mysql db from within the plugin? Can you give me a little snippet of code


Honestly, not sure why that would require using our libraries as you can do that with plain PHP.

Quote:
And is it possible to add a tab to the left menu of the "Contacts page" (I've seen a sample that adds a tab to the Settings page)


Currently we only have samples for adding tab in main menu and in Settings area.

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


Joined: 15 June 2015
Location: Italy
Online Status: Offline
Posts: 16
Posted: 22 June 2015 at 3:10pm | IP Logged Quote denis

ok, I've done the plugin and it works like a charm

When do you plan to release the 7.6 version?

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


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 22 June 2015 at 3:35pm | IP Logged Quote Igor

We expect to have it released in about a week.

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