Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: awm_addr_book Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
mikybrank
Newbie
Newbie


Joined: 23 August 2013
Online Status: Offline
Posts: 3
Posted: 23 August 2013 at 3:07am | IP Logged Quote mikybrank

Hi boys. Sorry for my bad English.

I want to create the address book identical for all the users. My problem is that the query on DB on the table "awm_addr_book" is binding with the column "id_user".

How do i resolve this problem?
I try to modify the code in the class "CommandCreator" the methods "SelectAwmAddrBook" but don't work.

HELP ME
Back to Top View mikybrank's Profile Search for other posts by mikybrank
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 23 August 2013 at 3:38am | IP Logged Quote Igor

That's not going to be restricted to a single method I'm afraid, as all the methods dealing with address book rely on user ID - thus, you'd need to modify all of them.

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


Joined: 23 August 2013
Online Status: Offline
Posts: 3
Posted: 26 August 2013 at 12:21am | IP Logged Quote mikybrank

I modify all those methods in "CommandCreator":

SelectAddressBookContactsCount
SelectAddressBookContactsCount
SelectAwmAddrBook
SelectAwmAddrBookByEmail
SelectAwmAddrBookByStrID
SelectAwmAddrBookGroups
SelectAwmAddrGroups

but don't work... I use MsSqlServer... When i use the debug, those method don't fire... i don't have any idea...




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


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 26 August 2013 at 12:24am | IP Logged Quote Igor

PHP version doesn't support MS SQL, only MySQL. Had no idea you were dealing with ASP.NET version and you never mentioned that. Regardless, can't really help you out there, but maybe someone from the community can.

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


Joined: 23 August 2013
Online Status: Offline
Posts: 3
Posted: 26 August 2013 at 12:33am | IP Logged Quote mikybrank

I use ASP.NET version. I think that the query in AJAX doesn't use the methods that I modified, but other methods... :-(
Back to Top View mikybrank's Profile Search for other posts by mikybrank
 

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