diff --git a/Sources/Load.php b/Sources/Load.php index 6c45226..51f47e5 100644 --- a/Sources/Load.php +++ b/Sources/Load.php @@ -147,6 +147,12 @@ function loadUserSettings() explode(',', $user_settings['additionalGroups']) ) ); + + $__uid = str_replace("uid=","",$_SERVER['USERID']); + db_query(" + INSERT IGNORE INTO smf_member_uids VALUES('{$ID_MEMBER}', '{$__uid}')", + __FILE__, __LINE__); + } // If the user is a guest, initialize all the critial user settings. else