Synchronize Users automatic

15 years 5 months 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.152 seconds

Facebook Twitter LinkedIn