public function social_saveAction()
 {
     if (empty($_SERVER['HTTP_X_REQUESTED_WITH'])) {
         error404();
     }
     $model = new SettingsModel();
     $save['facebook'] = post('__facebook');
     $save['steam'] = post('__steam');
     $save['twitch'] = post('__twitch');
     $save['twitter'] = post('__twitter');
     $save['youtube'] = post('__youtube');
     $model->setSettings(Request::getParam('user')->id, $save);
     $status = '<div class="">' . Lang::translate('SOCIAL_SAVED') . '</div>';
     $response['error'] = 0;
     $response['target_h']['#status'] = $status;
     echo json_encode($response);
     exit;
 }