Example #1
0
     CKunenaTools::reCountUserPosts();
     CKunenaTools::reCountBoards();
     // Also reset the name info stored with messages
     //CKunenaTools::updateNameInfo();
     while (@ob_end_clean()) {
     }
     $kunena_app->redirect(JURI::base() . 'index.php?option=com_kunena', JText::_('COM_KUNENA_RECOUNTFORUMS_DONE'));
     break;
 case "showsmilies":
     showsmilies($option);
     break;
 case "uploadsmilies":
     uploadsmilies($option, $cid0);
     break;
 case "editsmiley":
     editsmiley($option, $cid0);
     break;
 case "savesmiley":
     savesmiley($option, $id);
     break;
 case "deletesmiley":
     deletesmiley($option, $cid);
     break;
 case "newsmiley":
     newsmiley($option);
     break;
 case 'ranks':
     showRanks($option);
     break;
 case "uploadranks":
     uploadranks($option, $cid0);
Example #2
0
     deleteFile($kunena_db, $option, JRequest::getVar('fileName', ''));
     break;
 case "showAdministration":
     showAdministration($option);
     break;
 case 'recount':
     CKunenaTools::reCountBoards();
     // Also reset the name info stored with messages
     CKunenaTools::updateNameInfo();
     $app->redirect(JURI::base() . 'index2.php?option=com_kunena', _KUNENA_RECOUNTFORUMS_DONE);
     break;
 case "showsmilies":
     showsmilies($option);
     break;
 case "editsmiley":
     editsmiley($option, $cid[0]);
     break;
 case "savesmiley":
     savesmiley($option, $id);
     break;
 case "deletesmiley":
     deletesmiley($option, $cid);
     break;
 case "newsmiley":
     newsmiley($option);
     break;
 case 'ranks':
     showRanks($option);
     break;
 case "editRank":
     editRank($option, $cid[0]);