Janyour Posted December 13, 2015 Share Posted December 13, 2015 Hi, i was wondering how cometchat is working with ipboard, how users data are pulled for example. in the installation guide there are no plugin or installation to do on the IPB side ! Link to comment Share on other sites More sharing options...
Marc Stridgen Posted December 13, 2015 Share Posted December 13, 2015 Hello, You would need to speak to cometchat and ask them how they access the data. I would assume they are making a direct database connection, but this is only a guess of course. Sending them a message to ask the question would be your best bet. Link to comment Share on other sites More sharing options...
MADMAN32395 Posted December 13, 2015 Share Posted December 13, 2015 It appears to connect into the database/login by the html scripts they have you install. But I'm not 100% sure as I did not purchase to see what connects where. I'm just going by what insaw on their site. Link to comment Share on other sites More sharing options...
prupdated Posted December 15, 2015 Share Posted December 15, 2015 It reads the member table from IPB. The reads are needed to authenticate, get avatars, and friends. As far as I can tell, it only writes to its own tables that it creates for the actual chat functions. Link to comment Share on other sites More sharing options...
Janyour Posted December 16, 2015 Author Share Posted December 16, 2015 thanks you, Yes they read directly from the IPB database, here's a part of the integration php file : define('DB_SERVER', $INFO['sql_host'] ); define('DB_PORT', "3306" ); define('DB_USERNAME', $INFO['sql_user'] ); define('DB_PASSWORD', $INFO['sql_pass'] ); define('DB_NAME', $INFO['sql_database'] ); if(defined('USE_CCAUTH') && USE_CCAUTH == '0'){ define('TABLE_PREFIX', $INFO['sql_tbl_prefix'] ); define('DB_USERTABLE', "core_members" ); define('DB_USERTABLE_USERID', "member_id" ); define('DB_USERTABLE_NAME', "name" ); define('DB_AVATARTABLE', " "); define('DB_AVATARFIELD', " ".TABLE_PREFIX.DB_USERTABLE.".pp_main_photo"); Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.