How were you planning to popluate this
additional field that you’'re wanting to track?
For each level 2 roster created for a main user (added like regular contacts, but with the algo), a new table with the roster item id and the level number of the concerned contact will be created. I don’'t have access right now to my code but the main pattern of the algorithm look like this: for a user, the algo obtains all the roster items. After that, for each users concerned by these rosters (the direct contacts of the main user), it find their roster items and add them in the list of the main user: they are level 2 contacts and the custom tables are created for them. They are level 2 contacts since they are contacts of the direct contacts of the main user. This principle will probably be expand to include level 3 and 4 contacts.
Was this going to be handled via one of your custom IM
Yes, each instance of my custom client will make calls to the server. The algorithm that will populate the list of the users will be on the server but it’'s the client that will ask it when to do it and how to do it.
This is a general description of the way it works: the server will also contains functions that will do the same kind of work but that will give more control to the user on how to build the social graph.
The problem I’‘m experiencing is that I don’‘t know which file to edit to add a new table in the database schema. I also don’'t know how to create effective instances of this table and how to set/get an existing table from my plugin file.
Is it enough clear, can you help me?
Message was edited by: