Author |
|
Philipp_K Newbie
Joined: 18 December 2013 Location: Austria
Online Status: Offline Posts: 3
|
Posted: 18 December 2013 at 1:31am | IP Logged
|
|
|
Hi, my name is Philipp and I use Afterlogic Webmail Lite on my server.
My question:
Is it possible, to disable, that the e-mail-adress will be auto-importet to the mysql table "_addr_book".
Next question:
Is it possible to take the suggestions on keyup from another table?
Thank you!
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 18 December 2013 at 2:15am | IP Logged
|
|
|
Quote:
Is it possible, to disable, that the e-mail-adress will be auto-importet to the mysql table "_addr_book". |
|
|
It's rather simple to disable that, yes. In libraries/ProjectSeven/Actions.php file, around line 1214:
Code:
if (is_array($aEmails))
{
$oApiContacts->UpdateSuggestTable($oAccount->IdUser, $aEmails);
} |
|
|
comment out the line:
Code:
if (is_array($aEmails))
{
// $oApiContacts->UpdateSuggestTable($oAccount->IdUser, $aEmails);
} |
|
|
Quote:
Is it possible to take the suggestions on keyup from another table? |
|
|
For that, you'll need to modify GetSuggestContactItems functions found in command_creator.php and storage.php files under libraries/afterlogic/common/managers/maincontacts/storages/db directory.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
Philipp_K Newbie
Joined: 18 December 2013 Location: Austria
Online Status: Offline Posts: 3
|
Posted: 18 December 2013 at 3:03am | IP Logged
|
|
|
Ok, thank you for your help.
I'll check it. At any problems I will ask you again.
|
Back to Top |
|
|
Philipp_K Newbie
Joined: 18 December 2013 Location: Austria
Online Status: Offline Posts: 3
|
Posted: 18 December 2013 at 4:20am | IP Logged
|
|
|
Hello again.
The first point I was able to implement.
With the second point I have problems.
I have my contacts in a table. Fields : Vorname (first name), Nachname (last name) , Mail (e-mail).
How is it possible to obtain the suggestions only from this table?
Thank you. Greetings
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 18 December 2013 at 4:32am | IP Logged
|
|
|
In command_creator.php file, GetSuggestContactItems function basically builds SQL query for searching in awm_addr_book database table. What you need to do is to provide your own query for searching in your database table.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|