function getTouchPopup($user_id, $user_name)
 {
     global $option;
     static $capi = false;
     static $api_enabled = true;
     if ($api_enabled == false) {
         return $user_name;
     }
     if (!$capi) {
         $API = JPATH_ROOT . DS . 'components' . DS . 'com_community' . DS . 'api.php';
         if (file_exists($API)) {
             require_once $API;
             $capi = new JSCommunityApi();
         } else {
             $api_enabled = false;
             return $user_name;
         }
     }
     $params['width'] = 400;
     $links[0]->link = JRoute::_('index.php?option=' . $option . '&view=crosswords&task=user&uid=' . $user_id . '&Itemid=' . JRequest::getInt('Itemid'));
     $links[0]->alt = JText::_('LBL_ALL_CROSSWORDS_BY') . ' this user';
     $links[0]->icon = 'components/' . $option . '/assets/images/crosswords.png';
     $user_name = $capi->getUserSlideMenu($user_id, $user_name, $links, $params);
     return $user_name;
 }