Thread Author: RadioTuningBeatz
Thread ID: 4317
Thread Info
Es gibt 11 Beiträge zu diesem Thema, und es wurde 4505 mal angesehen.
Wer ist hier? 1 Gäste
 Thema drucken
Score System unter PHP-Fusion 7.02.07
RadioTuningBeatz
Hallo Zusammen,
ich habe bereits mehres versucht aber ich bekomme das Score-System unter PHP Fusion 7.02.07 nicht zum laufen und hoffe das mir hier einer helfen kann.
 
SC-Ad-Bot
 
matt
Dazu gibt es schon mehrere Beiträge aber .......schau mal bitte in die ,,infusions.php und ändere mal alle Tabellen von TYPE auf ENGINE. So Hier:
In Rot gekennzeichtnet so sollte es passen.

Code 

<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright © 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| ScoreSystem for PHP-Fusion v7
| Author: Ralf Thieme
| Homepage: www.PHPFusion-SupportClub.de
+--------------------------------------------------------+
| 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/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }

include INFUSIONS."scoresystem_panel/infusion_db.php";
if (file_exists(INFUSIONS."scoresystem_panel/locale/".LOCALESET."index.php")) {
   include INFUSIONS."scoresystem_panel/locale/".LOCALESET."index.php";
} else {
   include INFUSIONS."scoresystem_panel/locale/German/index.php";
}

$inf_title = $locale['pfss_title'];
$inf_description = $locale['pfss_desc'];
$inf_version = "1.1";
$inf_developer = "PHPFusion-SupportClub.de";
$inf_email = "info@phpfusion-supportclub.de";
$inf_weburl = "http://www.phpfusion-supportclub.de";
$inf_folder = "scoresystem_panel";

$inf_newtable[1] = DB_SCORE_ACCOUNT." (
acc_user_id            MEDIUMINT(8) NOT NULL,
acc_score               MEDIUMINT(8) NOT NULL DEFAULT '0',
PRIMARY KEY  (acc_user_id)
) ENGINE=MyISAM;";

$inf_newtable[2] = DB_SCORE_TRANSFER." (
tra_id                  MEDIUMINT(8) UNSIGNED NOT NULL AUTO_INCREMENT,
tra_user_id            MEDIUMINT(8) NOT NULL DEFAULT '0',
tra_titel               TEXT NOT NULL,
tra_typ                  CHAR(1) NOT NULL DEFAULT 'O',
tra_aktion            VARCHAR(5) NOT NULL DEFAULT '-',
tra_score               INT(9) NOT NULL DEFAULT '0',
tra_status            TINYINT(1) UNSIGNED NOT NULL DEFAULT '0',
tra_time               INT(10) NOT NULL DEFAULT '0',
PRIMARY KEY  (tra_id)
) ENGINE=MyISAM;";

$inf_newtable[3] = DB_SCORE_BAN." (
ban_id                  MEDIUMINT(8) UNSIGNED NOT NULL AUTO_INCREMENT,
ban_user_id            MEDIUMINT(8) NOT NULL DEFAULT '0',
ban_time_start      INT(10) NOT NULL DEFAULT '0',
ban_time_stop         INT(10) NOT NULL DEFAULT '0',
ban_text               TEXT NOT NULL,
ban_admin_id         MEDIUMINT(8) NOT NULL DEFAULT '0',
PRIMARY KEY (ban_id)
) ENGINE=MyISAM;";

$inf_newtable[4] = DB_SCORE_SCORE." (
sco_id                  MEDIUMINT(8) UNSIGNED NOT NULL AUTO_INCREMENT,
sco_aktion            VARCHAR(5) NOT NULL DEFAULT '-',
sco_titel               TEXT NOT NULL,
sco_score               INT(9) NOT NULL DEFAULT '0',
sco_max                  INT(6) NOT NULL DEFAULT '5',
sco_status            TINYINT(1) UNSIGNED NOT NULL DEFAULT '0',
sco_power               TINYINT(1) UNSIGNED NOT NULL DEFAULT '0',
PRIMARY KEY (sco_id)
) ENGINE=MyISAM;";

$inf_newtable[5] = DB_SCORE_SETTINGS." (
set_id                  SMALLINT(5) UNSIGNED NOT NULL AUTO_INCREMENT,
set_delete            TINYINT(4) UNSIGNED NOT NULL DEFAULT '0',
set_panel               TINYINT(4) UNSIGNED NOT NULL DEFAULT '5',
set_user_transfer   TINYINT(1) UNSIGNED NOT NULL DEFAULT '0',
set_user_tra_sco   INT(9) NOT NULL DEFAULT '5',
set_units               TEXT NOT NULL,
set_user_chance      TINYINT(1) UNSIGNED NOT NULL DEFAULT '0',
set_sco_power         TINYINT(1) UNSIGNED NOT NULL DEFAULT '0',
set_top_user         MEDIUMINT(8) NOT NULL DEFAULT '0',
set_data               TINYINT(1) UNSIGNED NOT NULL DEFAULT '0',
set_tceoxdte         TEXT NOT NULL,
set_tdeaxtte         INT(10) UNSIGNED NOT NULL DEFAULT '0',
PRIMARY KEY (set_id)
) ENGINE=MyISAM;";

$inf_insertdbrow[1] = DB_SCORE_SCORE." (sco_id, sco_aktion, sco_titel, sco_score, sco_max, sco_status, sco_power) VALUES('1', 'GBUCH', '".$locale['pfss_install1']."', '2', '1', '1', '1')";
$inf_insertdbrow[2] = DB_SCORE_SCORE." (sco_id, sco_aktion, sco_titel, sco_score, sco_max, sco_status, sco_power) VALUES('2', 'ARTIK', '".$locale['pfss_install2']."', '2', '5', '0', '1')";
$inf_insertdbrow[3] = DB_SCORE_SCORE." (sco_id, sco_aktion, sco_titel, sco_score, sco_max, sco_status, sco_power) VALUES('3', 'NEWS', '".$locale['pfss_install3']."', '2', '5', '0', '1')";
$inf_insertdbrow[4] = DB_SCORE_SCORE." (sco_id, sco_aktion, sco_titel, sco_score, sco_max, sco_status, sco_power) VALUES('4', 'FOVOT', '".$locale['pfss_install4']."', '2', '2', '0', '1')";
$inf_insertdbrow[5] = DB_SCORE_SCORE." (sco_id, sco_aktion, sco_titel, sco_score, sco_max, sco_status, sco_power) VALUES('5', 'FOBEI', '".$locale['pfss_install5']."', '2', '5', '0', '1')";
$inf_insertdbrow[6] = DB_SCORE_SCORE." (sco_id, sco_aktion, sco_titel, sco_score, sco_max, sco_status, sco_power) VALUES('6', 'FOTRD', '".$locale['pfss_install6']."', '5', '3', '0', '1')";
$inf_insertdbrow[7] = DB_SCORE_SCORE." (sco_id, sco_aktion, sco_titel, sco_score, sco_max, sco_status, sco_power) VALUES('7', 'SHBOX', '".$locale['pfss_install7']."', '2', '5', '0', '1')";
$inf_insertdbrow[8] = DB_SCORE_SCORE." (sco_id, sco_aktion, sco_titel, sco_score, sco_max, sco_status, sco_power) VALUES('8', 'GAMEK', '".$locale['pfss_install8']."', '5', '5', '0', '1')";
$inf_insertdbrow[9] = DB_SCORE_SCORE." (sco_id, sco_aktion, sco_titel, sco_score, sco_max, sco_status, sco_power) VALUES('9', 'GAMEG', '".$locale['pfss_install9']."', '5', '5', '0', '1')";
$inf_insertdbrow[10] = DB_SCORE_SCORE." (sco_id, sco_aktion, sco_titel, sco_score, sco_max, sco_status, sco_power) VALUES('10', 'GAMEH', '".$locale['pfss_install10']."', '10', '5', '0', '1')";
$inf_insertdbrow[11] = DB_SCORE_SCORE." (sco_id, sco_aktion, sco_titel, sco_score, sco_max, sco_status, sco_power) VALUES('11', 'FOTOS', '".$locale['pfss_install11']."', '2', '5', '0', '1')";
$inf_insertdbrow[12] = DB_SCORE_SCORE." (sco_id, sco_aktion, sco_titel, sco_score, sco_max, sco_status, sco_power) VALUES('12', 'LINKS', '".$locale['pfss_install12']."', '2', '5', '0', '1')";
$inf_insertdbrow[13] = DB_SCORE_SCORE." (sco_id, sco_aktion, sco_titel, sco_score, sco_max, sco_status, sco_power) VALUES('13', 'PNSEN', '".$locale['pfss_install13']."', '1', '2', '0', '1')";
$inf_insertdbrow[14] = DB_SCORE_SCORE." (sco_id, sco_aktion, sco_titel, sco_score, sco_max, sco_status, sco_power) VALUES('14', 'DOWNL', '".$locale['pfss_install14']."', '10', '5', '0', '1')";
$inf_insertdbrow[15] = DB_SCORE_SCORE." (sco_id, sco_aktion, sco_titel, sco_score, sco_max, sco_status, sco_power) VALUES('15', 'LOGIN', '".$locale['pfss_install15']."', '1', '3', '0', '1')";
$inf_insertdbrow[16] = DB_SCORE_SETTINGS." (set_id, set_delete, set_panel, set_user_transfer, set_user_tra_sco, set_units, set_user_chance, set_sco_power, set_top_user) VALUES('1', '0', '5', '0', '5', '".$locale['pfss_install16']."', '0', '0', '0')";

$inf_altertable[1] = DB_SCORE_SETTINGS." ADD set_sco_power TINYINT(1) UNSIGNED NOT NULL DEFAULT '0' AFTER set_user_chance";
$inf_altertable[2] = DB_SCORE_SETTINGS." ADD set_top_user MEDIUMINT(8) NOT NULL DEFAULT '0' AFTER set_sco_power";
$inf_altertable[3] = DB_SCORE_SETTINGS." ADD set_data TINYINT(1) UNSIGNED NOT NULL DEFAULT '0' AFTER set_top_user";

$inf_droptable[1] = DB_SCORE_ACCOUNT;
$inf_droptable[2] = DB_SCORE_TRANSFER;
$inf_droptable[3] = DB_SCORE_BAN;
$inf_droptable[4] = DB_SCORE_SCORE;
$inf_droptable[5] = DB_SCORE_SETTINGS;

$inf_adminpanel[1] = array(
   "title" => $locale['pfss_install_admin1'],
   "image" => "infusion_scoresystem.gif",
   "panel" => "scoresystem_admin.php",
   "rights" => "PFSS"
);

$inf_adminpanel[2] = array(
   "title" => $locale['pfss_install_admin2'],
   "image" => "infusion_scoresystem.gif",
   "panel" => "scoresystem_admin.php",
   "rights" => "PFSB"
);

$inf_adminpanel[3] = array(
   "title" => $locale['pfss_install_admin3'],
   "image" => "infusion_scoresystem.gif",
   "panel" => "scoresystem_admin.php",
   "rights" => "PFST"
);

$inf_adminpanel[4] = array(
   "title" => $locale['pfss_install_admin4'],
   "image" => "infusion_scoresystem.gif",
   "panel" => "scoresystem_admin.php",
   "rights" => "PFSO"
);
?>


Bearbeitet von matt am 23.03.2015 um 04:42
 
RadioTuningBeatz
die Infusions.php passt soweit ich das sehen kann

nehme ich die maincore.php aus maincore.php.rar bekomme ich folgenden Fehler:


Fatal error: Call to undefined function score_positive() in /homepages/2/d462636982/htdocs/RTB Bewerbung/Home/maincore.php on line 145


und wenn ich die maincore.php aus der fsc_scoresystem_1.1.rar nehme bekomme ich folgende meldung beim aufrufen meiner seite:

Notice: Undefined index: locale in /homepages/2/d462636982/htdocs/RTB Bewerbung/Home/maincore.php on line 100

Warning: include(locale//global.php): failed to open stream: No such file or directory in /homepages/2/d462636982/htdocs/RTB Bewerbung/Home/maincore.php on line 181

Warning: include(): Failed opening 'locale//global.php' for inclusion (include_path='.:/usr/lib/php5.4'Wink in /homepages/2/d462636982/htdocs/RTB Bewerbung/Home/maincore.php on line 181

Strict Standards: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /homepages/2/d462636982/htdocs/RTB Bewerbung/Home/infusions/scoresystem_panel/scoresystem_main_include.php on line 25

Strict Standards: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /homepages/2/d462636982/htdocs/RTB Bewerbung/Home/infusions/scoresystem_panel/scoresystem_main_include.php on line 25

Strict Standards: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /homepages/2/d462636982/htdocs/RTB Bewerbung/Home/infusions/scoresystem_panel/scoresystem_main_include.php on line 25

Strict Standards: mktime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /homepages/2/d462636982/htdocs/RTB Bewerbung/Home/infusions/scoresystem_panel/scoresystem_main_include.php on line 25

Strict Standards: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /homepages/2/d462636982/htdocs/RTB Bewerbung/Home/infusions/scoresystem_panel/scoresystem_main_include.php on line 26

Strict Standards: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /homepages/2/d462636982/htdocs/RTB Bewerbung/Home/infusions/scoresystem_panel/scoresystem_main_include.php on line 26

Strict Standards: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /homepages/2/d462636982/htdocs/RTB Bewerbung/Home/infusions/scoresystem_panel/scoresystem_main_include.php on line 26

Strict Standards: mktime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /homepages/2/d462636982/htdocs/RTB Bewerbung/Home/infusions/scoresystem_panel/scoresystem_main_include.php on line 26
Table 'db569199225.rtb_score_settings' doesn't exist
 
Harlekin
Naja, die maincore.php muss entsprechend der Anleitung geändert werden! Wenn es eine in dem Paket gibt, wird die wohl noch von PHP Fusion 7.00.xx oder 7.01.xx sein.
harlekin-power.de/images/banner/HP468-1.png
 
RadioTuningBeatz
Habe es jetzt nochmal gemäß anleitung bearbeitet und gespeichert und auf einmal geht es ...
 
DonCantina
Hallo Leute,

lang ist es her das ich das Score-System installiert habe. Es läuft soweit auch alles supi... nur eine Sache nicht!

Wenn ich bei den "Grundeinstellungen" z.B. die Einheit ändern will muss ich ja ein Adminpassword eingeben.

Nur welches? Meines von Fusion intern funzt nicht!? Und beim installieren vom Score-System habe ich ja keines erstellt!?

Wäre schön wenn mir wer nen Tipp geben könnte.

Danke und Gruß
Don
 
Harlekin
Schau mal hier: http://www.phpfusion-supportclub.de/c...post_28211
harlekin-power.de/images/banner/HP468-1.png
x1
 
torty38
Habe nun das problem insterlöiert is es bloss wenn ich was anklix lande ich auf der start seite woran liegt das
x1
 
matt
Beitrag suchen...dann wirst du schlau
 
MaKi2018
Ich erhalte folgenden Fehlercode, womit ich nix anzufangen weiß: Immer wenn ich meinen ScoreAccount aufrufe

Zitat Uncaught Error: Call to undefined function mysql_fetch_array() in /www/htdocs/w018ce90/maki-lyrik-sachsen.de/infusions/scoresystem_panel/scoresystem_main_include.php:139 Stack trace: #0 /www/htdocs/w018ce90/maki-lyrik-sachsen.de/infusions/scoresystem_panel/scoresystem.php(62): score_transfer_positiv() #1 {main} thrown in /www/htdocs/w018ce90/maki-lyrik-sachsen.de/infusions/scoresystem_panel/scoresystem_main_include.php on line 139


Was sagt mir der Code? Wie behebe ich den Fehler?

Habe alles wie oben beschrieben ausgeführt.

Bitte um Rat.

Danke schon mal für die Hilfe.

MfG.
 
Harlekin
Welche PHP Version und welches PHP-Fusion nutzt du denn?
harlekin-power.de/images/banner/HP468-1.png
 
Springe ins Forum:

 Ähnliche Themen 

TEST
Thema Forum Antworten Letzter Beitrag
MWN Geschenke System -Geschenke löschen! Infusionen 26 02.06.2019 um 00:52
PHP Fusion 7 User Photogallery Allgemeine Support Fragen 3 26.04.2019 um 08:50
Lotto System BUG Infusionen 10 06.08.2018 um 18:41
Scoresystem unter 7.02 installieren (Anleitung) Gemischtes 96 21.09.2017 um 11:58
Security für PHP Fusion 7 ? Allgemeine Support Fragen 10 24.03.2017 um 07:53
Stevee