I found the thread where I could download the german language files: German Language Files for Newbb2
I am constantly amazed at the amount of times we still see people making major changes to their site without taking 15~20 minutes first to make a full backup of their sites.
Fatal error: Call to a member function on a non-object in /home/ocaholic/public_html/xoops/html/modules/gamesreviews/admin/admin_header.php on line 7
<?php
include "../../../mainfile.php";
include XOOPS_ROOT_PATH."/include/cp_functions.php";
include_once XOOPS_ROOT_PATH."/class/xoopsmodule.php";
if($xoopsUser){
$xoopsModule = XoopsModule::getByDirname("gamereviews");
if ( !$xoopsUser->isAdmin($xoopsModule->mid()) ) {
redirect_header(XOOPS_URL."/",3,_NOPERM);
exit();
}
} else {
redirect_header(XOOPS_URL."/",3,_NOPERM);
exit();
}
if ( file_exists("../language/".$xoopsConfig['language']."/main.php") ) {
include "../language/".$xoopsConfig['language']."/main.php";
} else {
include "../language/english/main.php";
}
?>
<?php
$modversion['name'] = _MI_GAMESREVIEWS_NAME;
$modversion['version'] = "2.1";
$modversion['description'] = _MI_GAMESREVIEWS_DESC;
$modversion['credits'] = "gamesreviews";
$modversion['author'] = "Thomas Wolf<br />(http://www.mytutorials.info/ )";
$modversion['help'] = "";
$modversion['license'] = "GPL see LICENSE";
$modversion['official'] = 1;
$modversion['image'] = "images/gamesreviews_slogo.png";
$modversion['dirname'] = "gamesreviews";
// Sql file (must contain sql generated by phpMyAdmin or phpPgAdmin)
// All tables should not have any prefix!
$modversion['sqlfile']['mysql'] = "sql/mysql.sql";
//$modversion['sqlfile']['postgresql'] = "sql/pgsql.sql";
// Tables created by sql file (without prefix!)
$modversion['tables'][0] = "gamesreviews";
$modversion['tables'][1] = "gamesreviews_categorys";
$modversion['tables'][2] = "gamesreviews_groups";
$modversion['tables'][3] = "gamesreviews_votedata";
// Admin things
$modversion['hasAdmin'] = 1;
$modversion['adminindex'] = "admin/index.php";
$modversion['adminmenu'] = "admin/menu.php";
// Blocks
$modversion['blocks'][1]['file'] = "gamesreviews_top.php";
$modversion['blocks'][1]['name'] = _MI_GAMESREVIEWS_BNAME1;
$modvertion['blocks'][1]['description'] = "Shows last gamesreviews";
$modversion['blocks'][1]['show_func'] = "b_gamesreviews_top_show";
$modversion['blocks'][1]['edit_func'] = "b_gamesreviews_top_edit";
$modversion['blocks'][1]['options'] = "date|10";
$modversion['blocks'][2]['file'] = "gamesreviews_top.php";
$modversion['blocks'][2]['name'] = _MI_GAMESREVIEWS_BNAME2;
$modvertion['blocks'][2]['description'] = "Shows most visited gamesreviews";
$modversion['blocks'][2]['show_func'] = "b_gamesreviews_top_show";
$modversion['blocks'][2]['edit_func'] = "b_gamesreviews_top_edit";
$modversion['blocks'][2]['options'] = "hits|10";
$modversion['blocks'][3]['file'] = "waiting.php";
$modversion['blocks'][3]['name'] = _MI_GAMESREVIEWS_BNAME3;
$modvertion['blocks'][3]['description'] = "Shows all waiting gamesreviews";
$modversion['blocks'][3]['show_func'] = "b_waiting_show";
// Menu
$modversion['hasMain'] = 1;
$modversion['sub'][1]['name'] = _MI_GAMESREVIEWS_SMNAME1;
$modversion['sub'][1]['url'] = "submit.php";
// ekke dazu 20020704
// Search
$modversion['hasSearch'] = 1;
$modversion['search']['file'] = "include/search.inc.php";
$modversion['search']['func'] = "gamesreviews_search";
//ekke ende
?>