Przedszkolak
Postów: 13 Ostrzeżeń: 2
Data rejestracji: 28.04.2007 09:40
Złamana licencja
|
Witam, potrzebuje zainstalować 2x The Kroax na mojej wwww. Pozmieniałem wszystkie słowa "kroax" na "game" w plikach nazwy folderów tak samo. Wrzucam na server pliki i gdy chce zainstalować poprzez panel admina nie da rady nic nie wyskakuje żaden błąd tylko się nie instaluje :/ Dopiero Gdy odinstaluje The Kroax mogę zainstalować moja wersje The Game i działa bez zarzutów. Wie ktoś w czym tkwi problem ?
Kod infusions.php:
<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright Š 2002 - 2008 Nick Jones
| http://www.php-fu...
+--------------------------------------------------------+
| Author: Domi & fetloser
| www.venue.nu
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licen... Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION") || !checkrights("I")) {die('Denied');}
if (!defined("LANGUAGE")) {
// PHPFusion environment
$this_lang = str_replace("/", "", LOCALESET);
if (file_exists(INFUSIONS."the_game/locale/".$this_lang.".php")) {
include INFUSIONS."the_game/locale/".$this_lang.".php";
} else {
include INFUSIONS."the_game/locale/English.php";
}
}
// Infusion general information
$inf_title = "The game";
$inf_description = "The game";
$inf_version = "7.4";
$inf_developer = "Domi & fetloser";
$inf_email = "";
$inf_weburl = "http://www.venue.nu";
$inf_folder = "the_game";
$inf_adminpanel[1] = array(
"title" => $inf_title,
"image" => "../../infusions/the_game/img/the_game.jpg",
"panel" => "admin/admin.php",
"rights" => "KR"
);
$inf_sitelink[1] = array(
"title" => $inf_title,
"url" => "game.php",
"visibility" => "0"
);
$inf_newtables = 7; // Number of new db tables to create or drop.
$inf_insertdbrows = 1; // Numbers rows added into created db tables.
$inf_altertables = 0; // Number of db tables to alter (upgrade).
$inf_deldbrows = 0; // Number of db tables to delete data from.
// Delete any items not required here.
$inf_newtable[1] = "".$db_prefix."game (
`game_id` smallint(5) unsigned NOT NULL auto_increment,
`game_titel` varchar(90),
`game_cat` varchar(30),
`game_access` varchar(10),
`game_access_cat` varchar(10),
`game_date` int(10),
`game_embed` text,
`game_uploader` varchar(50),
`game_lastplayed` int(10),
`game_approval` varchar(30),
`game_url` varchar(200),
`game_downloads` int(10),
`game_hits` varchar(50),
`game_description` text,
`game_tumb` varchar(150),
`game_errorreport` varchar(100),
PRIMARY KEY (`game_id`)
) TYPE=MyISAM;";
$inf_newtable[2] = "".$db_prefix."game_kategori (
`cid` smallint(5) unsigned NOT NULL auto_increment,
`title` varchar(40),
`access` varchar(10),
`image` varchar(30),
`parentid` int(10),
`status` int(10),
PRIMARY KEY (`cid`)
) TYPE=MyISAM;";
$inf_newtable[3] = "".$db_prefix."game_set (
`game_set_id` smallint(2),
`game_set_hi` varchar(3),
`game_set_wi` varchar(3),
`game_set_pre` varchar(50),
`game_set_pic` varchar(100),
`game_set_show` varchar(20),
`game_set_thumb` varchar(10),
`game_set_thumbs_per_row` int(10),
`game_set_thumbs_per_page` int(10),
`game_set_ffmpeg` int(10),
`game_set_favorites` int(10),
`game_set_recommend` int(10),
`game_set_ratings` int(10),
`game_set_comments` int(10),
`game_set_keepalive` int(10),
`game_set_playingnow` int(10),
`game_set_bannerimg` varchar(100),
`game_set_related` int(10),
`game_set_report` int(10),
`game_set_allowembed` int(10),
`game_set_allowdownloads` int(10),
`game_set_allowplaylist` int(10),
`game_set_allowuploads` int(10),
`game_set_defaultview` int(10),
`game_set_version` varchar(10),
`game_set_showpop` int(10),
`game_set_showtop` int(10),
`game_set_showlast` int(10),
`game_set_showlatest` int(10),
`game_set_showrandom` int(10),
PRIMARY KEY (`game_set_id`)
) TYPE=MyISAM;";
$inf_newtable[4] = "".$db_prefix."game_rating (
`id` varchar(11) NOT NULL default '',
`total_votes` int(11) NOT NULL default '0',
`total_value` int(11) NOT NULL default '0',
`which_id` int(11) NOT NULL default '0',
`used_ips` longtext,
PRIMARY KEY (`id`)
) TYPE=MyISAM;";
$inf_newtable[5] = "".$db_prefix."game_active (
`movie_id` int(10) NOT NULL default '0',
`title` varchar(50) NOT NULL default '0',
`icon` varchar(50) NOT NULL default '0',
`lastactive` int(10) unsigned NOT NULL default '0'
) TYPE=MyISAM;";
$inf_newtable[6] = "".$db_prefix."game_activeusr (
`movie_id` int(10) NOT NULL default '0',
`member` int(10) NOT NULL default '0',
`user_ip` varchar(20) NOT NULL default '0',
`lastactive` int(10) unsigned NOT NULL default '0'
) TYPE=MyISAM;";
$inf_newtable[7] = "".$db_prefix."game_favourites (
`fav_id` int(30),
`fav_user` int(30),
`fav_date` int(10)
) TYPE=MyISAM;";
$inf_insertdbrow[1] = "".$db_prefix."game_set VALUES('1', '85', '150', '10', '15', '1','1','4','16','0','1','1','1','1','1','1','img/logo.gif','1','1','0','0','1','1','1','7.1','1','1','1','1','1')";
$inf_droptable[1] = "".$db_prefix."game";
$inf_droptable[2] = "".$db_prefix."game_kategori";
$inf_droptable[3] = "".$db_prefix."game_set";
$inf_droptable[4] = "".$db_prefix."game_rating";
$inf_droptable[5] = "".$db_prefix."game_active";
$inf_droptable[6] = "".$db_prefix."game_activeusr";
$inf_droptable[7] = "".$db_prefix."game_favourites";
?> Kliknij i zaczekaj na załadowanie kodu ...
W załączniku sklonowana wtyczka the kroax, z którą mam problem.
PW od moderatora:
- Przeniesienie tematu - chemix 13.02 - 13:15
schriker dodał/a następującą plik:
Edytowane przez schriker dnia 13.02.2009 14:14:36
|