Synchronize Users automatic

13 years 1 week ago #77352 by captainahab
Replied by captainahab on topic Re:Synchronize Users automatic
tia wrote:

Hi

a friend of mine added a query and everything is okay now.
But, I did it in a test site.

Instructions:
-open index.php and search "frontend login & logout controls"
-after "$mainframe->login();" put the code:

$sql_sync = "INSERT IGNORE INTO #__comprofiler(id,user_id) SELECT id,id FROM #__users";
$database->setQuery($sql_sync);
$database->query();

Tia



I'm using 1.5.7 and I cannot find this anywhere, am i looking in the wrong place?

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.139 seconds

Facebook Twitter LinkedIn