Please Log in to join the conversation.
// A hack to force Community Builder to syncUsers and set confirmed and approved to true
$sql_sync = "INSERT IGNORE INTO #__comprofiler(id,user_id) SELECT id,id FROM #__users";
$database->setQuery($sql_sync);
$database->query();
UPDATE `#__comprofiler` SET `approved`= '1' WHERE `user_id` = '[user_id]'
Please Log in to join the conversation.