nealec Posted January 30, 2011 Share Posted January 30, 2011 Hi i have just installed ajaxim on my site but im not sure how to integrate it with my login system, on the site someone said 'You will have to create your own library that authenticates against your existing database. It would be useful to look at the various library scripts that are included with Ajax IM.' Now i have had a look at the files they suggested but it makes no sense to me what so ever, can somebody please help me. Quote Link to comment https://forums.phpfreaks.com/topic/226134-ajax-im-integration/ Share on other sites More sharing options...
PFMaBiSmAd Posted January 30, 2011 Share Posted January 30, 2011 it makes no sense to me Without any specific information on what it is that makes no sense to you, there's really no way of answering. Help forums can only directly help with specific questions, specific errors, or specific problems with code. Specific questions are things like - my log in system uses an ->is_logged_in() method to return the status of the current visitor but the IM system is directly testing a session variable in its code. I have posted, with a label telling you which is which, the relevant code from each showing what I am taking about. How can I adapt the IM code to use the ->is_logged_in() method? Specific errors are things like php parse errors, runtime errors, warnings, and notices, or sql query errors. I am getting the following error when I run my code. Here is the actual error message and the relevant code needed to reproduce the error. Specific problems are things like - when I submit my form, the form processing code does ___________. Here is the relevant code needed to reproduce the problem and what data values I have. I can however suggest that you need to define what it is you are attempting to do before you try to do it. Quote Link to comment https://forums.phpfreaks.com/topic/226134-ajax-im-integration/#findComment-1167383 Share on other sites More sharing options...
nealec Posted January 30, 2011 Author Share Posted January 30, 2011 Ok when i set up the ajaxim i noticed it created some tables on my database, one of them is ajaxim_users, i already have a table called user for when people log in to my main site, i simply want the ajaxim to detect users from the table that i already have, 'user' so that the people registered on my site dont have to re register with the ajaxim, i have looked through all the files that come with the ajaxim and i cant seem to find where its says to look for users in ajaxim_users so i can just change it to ' user' Quote Link to comment https://forums.phpfreaks.com/topic/226134-ajax-im-integration/#findComment-1167397 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.