[BETA] [3.1] [3.2] Football Prediction League

In diesem Forum können Extension-Autoren ihre Extensions vorstellen, die sich noch im Entwicklungsstatus befinden. Der Einbau in Foren im produktiven Betrieb wird nicht empfohlen.
Benutzeravatar
Mahony
Ehemaliges Teammitglied
Beiträge: 12178
Registriert: 17.11.2005 22:33
Wohnort: Ostfildern Kemnat
Kontaktdaten:

Re: [BETA] [3.1] [3.2] Football Prediction League

Beitrag von Mahony »

Hallo
Die Tabelle wurde anscheinend nicht angelegt.

Du kannst die Tabelle aber auch manuell erstellen (mit phpmyadmin).

Code: Alles auswählen

DROP TABLE IF EXISTS `phpbb3_footb_bets`;
CREATE TABLE `phpbb3_footb_bets` (
  `season` smallint(4) unsigned NOT NULL DEFAULT 0,
  `league` tinyint(2) NOT NULL DEFAULT 0,
  `match_no` smallint(4) unsigned NOT NULL DEFAULT 0,
  `user_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  `goals_home` char(2) COLLATE utf8_bin NOT NULL DEFAULT '',
  `goals_guest` char(2) COLLATE utf8_bin NOT NULL DEFAULT '',
  `bet_time` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`season`,`league`,`match_no`,`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

Grüße: Mahony
Taekwondo in Berlin
Wer fragt, ist ein Narr für fünf Minuten, wer nicht fragt, ist ein Narr für immer.
Tovi
Mitglied
Beiträge: 36
Registriert: 05.04.2007 12:28
Kontaktdaten:

Re: [BETA] [3.1] [3.2] Football Prediction League

Beitrag von Tovi »

Danke für die schnelle Hilfe.

Offensichtlich wird von der Extension kein einziger Datenbankeintrag erzeugt. Nun kommt der nächste Fehler:

Code: Alles auswählen

Table 'db298143682.phpbb3_footb_matches' doesn't exist [1146]
Gibt es die kompletten SQL-Befehle irgendwo ? Oder darf ich dich ganz unverschämt danach fragen ?

Gruß,
Tovi
Benutzeravatar
Mahony
Ehemaliges Teammitglied
Beiträge: 12178
Registriert: 17.11.2005 22:33
Wohnort: Ostfildern Kemnat
Kontaktdaten:

Re: [BETA] [3.1] [3.2] Football Prediction League

Beitrag von Mahony »

Hallo
Ich weiß nicht, ob du mit dieser Extension glücklich wirst.
Der Autor der Extension ist seit 14.06.2018 nicht mehr Online gewesen und ist auch sonst nicht mehr erreichbar (vielleicht liegt er im Krankenhaus, oder ist verstorben). Es gibt also bis auf weiteres keinen Support mehr für diese Extension.

Ich rate dir also von einer Installation der Extension ab, da ja bei dir ja schon während der Installation Fehler auftreten.

Grüße: Mahony
Taekwondo in Berlin
Wer fragt, ist ein Narr für fünf Minuten, wer nicht fragt, ist ein Narr für immer.
Tovi
Mitglied
Beiträge: 36
Registriert: 05.04.2007 12:28
Kontaktdaten:

Re: [BETA] [3.1] [3.2] Football Prediction League

Beitrag von Tovi »

Da könntest du durchaus Recht haben.

Finde ich schade und würde es trotzdem gerne einmal probieren. Letztlich fehlen mir ja "nur" die SQL
Benutzeravatar
Mahony
Ehemaliges Teammitglied
Beiträge: 12178
Registriert: 17.11.2005 22:33
Wohnort: Ostfildern Kemnat
Kontaktdaten:

Re: [BETA] [3.1] [3.2] Football Prediction League

Beitrag von Mahony »

Hallo

Hier mal alle Tabellen, welche von der Extension angelegt werden

Code: Alles auswählen

DROP TABLE IF EXISTS `phpbb3_footb_bets`;
CREATE TABLE `phpbb3_footb_bets` (
  `season` smallint(4) unsigned NOT NULL DEFAULT 0,
  `league` tinyint(2) NOT NULL DEFAULT 0,
  `match_no` smallint(4) unsigned NOT NULL DEFAULT 0,
  `user_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  `goals_home` char(2) COLLATE utf8_bin NOT NULL DEFAULT '',
  `goals_guest` char(2) COLLATE utf8_bin NOT NULL DEFAULT '',
  `bet_time` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`season`,`league`,`match_no`,`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;



DROP TABLE IF EXISTS `phpbb3_footb_extra`;
CREATE TABLE `phpbb3_footb_extra` (
  `season` smallint(4) unsigned NOT NULL DEFAULT 0,
  `league` tinyint(2) NOT NULL DEFAULT 0,
  `extra_no` smallint(4) unsigned NOT NULL DEFAULT 0,
  `question_type` tinyint(2) NOT NULL DEFAULT 0,
  `question` varchar(255) COLLATE utf8_bin NOT NULL DEFAULT '',
  `result` varchar(255) COLLATE utf8_bin NOT NULL DEFAULT '',
  `matchday` tinyint(2) NOT NULL DEFAULT 0,
  `matchday_eval` tinyint(2) NOT NULL DEFAULT 0,
  `extra_points` tinyint(2) NOT NULL DEFAULT 0,
  `extra_status` tinyint(2) NOT NULL DEFAULT 0,
  PRIMARY KEY (`season`,`league`,`extra_no`),
  KEY `matchday` (`matchday`),
  KEY `eval` (`matchday_eval`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;



DROP TABLE IF EXISTS `phpbb3_footb_extra_bets`;
CREATE TABLE `phpbb3_footb_extra_bets` (
  `season` smallint(4) unsigned NOT NULL DEFAULT 0,
  `league` tinyint(2) NOT NULL DEFAULT 0,
  `extra_no` smallint(4) unsigned NOT NULL DEFAULT 0,
  `user_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  `bet` varchar(255) COLLATE utf8_bin NOT NULL DEFAULT '',
  `bet_points` tinyint(2) NOT NULL DEFAULT 0,
  PRIMARY KEY (`season`,`league`,`extra_no`,`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;



DROP TABLE IF EXISTS `phpbb3_footb_leagues`;
CREATE TABLE `phpbb3_footb_leagues` (
  `season` smallint(4) unsigned NOT NULL DEFAULT 0,
  `league` tinyint(2) NOT NULL DEFAULT 0,
  `league_name` varchar(20) COLLATE utf8_bin NOT NULL DEFAULT '',
  `league_name_short` varchar(3) COLLATE utf8_bin NOT NULL DEFAULT '',
  `league_type` tinyint(1) NOT NULL DEFAULT 1,
  `matchdays` tinyint(2) NOT NULL DEFAULT 0,
  `matches_on_matchday` tinyint(2) NOT NULL DEFAULT 0,
  `win_result` varchar(10) COLLATE utf8_bin NOT NULL DEFAULT '',
  `win_result_02` varchar(10) COLLATE utf8_bin NOT NULL DEFAULT '',
  `win_matchday` varchar(255) COLLATE utf8_bin NOT NULL DEFAULT '',
  `win_season` varchar(255) COLLATE utf8_bin NOT NULL DEFAULT '',
  `points_mode` tinyint(2) NOT NULL DEFAULT 1,
  `points_result` tinyint(2) NOT NULL DEFAULT 0,
  `points_tendency` tinyint(2) NOT NULL DEFAULT 0,
  `points_diff` tinyint(2) NOT NULL DEFAULT 0,
  `points_last` tinyint(1) unsigned NOT NULL DEFAULT 1,
  `join_by_user` tinyint(1) unsigned NOT NULL DEFAULT 0,
  `join_in_season` tinyint(1) unsigned NOT NULL DEFAULT 0,
  `bet_in_time` tinyint(1) unsigned NOT NULL DEFAULT 0,
  `rules_post_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  `bet_ko_type` tinyint(1) NOT NULL DEFAULT 1,
  `bet_points` decimal(5,2) NOT NULL DEFAULT 0.00,
  PRIMARY KEY (`season`,`league`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;



DROP TABLE IF EXISTS `phpbb3_footb_matchdays`;
CREATE TABLE `phpbb3_footb_matchdays` (
  `season` smallint(4) unsigned NOT NULL DEFAULT 0,
  `league` tinyint(2) NOT NULL DEFAULT 0,
  `matchday` tinyint(2) NOT NULL DEFAULT 0,
  `status` tinyint(2) NOT NULL DEFAULT 0,
  `delivery_date` char(19) COLLATE utf8_bin NOT NULL DEFAULT '',
  `delivery_date_2` char(19) COLLATE utf8_bin NOT NULL DEFAULT '',
  `delivery_date_3` char(19) COLLATE utf8_bin NOT NULL DEFAULT '',
  `matchday_name` varchar(30) COLLATE utf8_bin NOT NULL DEFAULT '',
  `matches` char(2) COLLATE utf8_bin NOT NULL DEFAULT '',
  PRIMARY KEY (`season`,`league`,`matchday`),
  KEY `status` (`status`),
  KEY `date` (`delivery_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;



DROP TABLE IF EXISTS `phpbb3_footb_matches`;
CREATE TABLE `phpbb3_footb_matches` (
  `season` smallint(4) unsigned NOT NULL DEFAULT 0,
  `league` tinyint(2) NOT NULL DEFAULT 0,
  `match_no` smallint(4) unsigned NOT NULL DEFAULT 0,
  `team_id_home` smallint(4) unsigned NOT NULL DEFAULT 0,
  `team_id_guest` smallint(4) unsigned NOT NULL DEFAULT 0,
  `goals_home` char(2) COLLATE utf8_bin NOT NULL DEFAULT '',
  `goals_guest` char(2) COLLATE utf8_bin NOT NULL DEFAULT '',
  `matchday` tinyint(2) NOT NULL DEFAULT 0,
  `status` tinyint(2) NOT NULL DEFAULT 0,
  `match_datetime` char(19) COLLATE utf8_bin NOT NULL DEFAULT '',
  `group_id` char(1) COLLATE utf8_bin NOT NULL DEFAULT '',
  `formula_home` char(9) COLLATE utf8_bin NOT NULL DEFAULT '',
  `formula_guest` char(9) COLLATE utf8_bin NOT NULL DEFAULT '',
  `ko_match` tinyint(1) unsigned NOT NULL DEFAULT 0,
  `goals_overtime_home` char(2) COLLATE utf8_bin NOT NULL DEFAULT '',
  `goals_overtime_guest` char(2) COLLATE utf8_bin NOT NULL DEFAULT '',
  `trend` char(8) COLLATE utf8_bin NOT NULL DEFAULT '',
  `odd_1` decimal(5,2) NOT NULL DEFAULT 0.00,
  `odd_x` decimal(5,2) NOT NULL DEFAULT 0.00,
  `odd_2` decimal(5,2) NOT NULL DEFAULT 0.00,
  `rating` decimal(5,2) NOT NULL DEFAULT 0.00,
  PRIMARY KEY (`season`,`league`,`match_no`),
  KEY `gid` (`team_id_guest`),
  KEY `hid` (`team_id_home`),
  KEY `md` (`matchday`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;



DROP TABLE IF EXISTS `phpbb3_footb_matches_hist`;
CREATE TABLE `phpbb3_footb_matches_hist` (
  `match_date` char(10) COLLATE utf8_bin NOT NULL DEFAULT '',
  `team_id_home` smallint(4) unsigned NOT NULL DEFAULT 1,
  `team_id_guest` smallint(4) unsigned NOT NULL DEFAULT 1,
  `match_type` varchar(5) COLLATE utf8_bin NOT NULL DEFAULT '',
  `goals_home` char(2) COLLATE utf8_bin NOT NULL DEFAULT '',
  `goals_guest` char(2) COLLATE utf8_bin NOT NULL DEFAULT '',
  PRIMARY KEY (`match_date`,`team_id_home`,`team_id_guest`),
  KEY `gid` (`team_id_guest`),
  KEY `hid` (`team_id_home`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;



DROP TABLE IF EXISTS `phpbb3_footb_points`;
CREATE TABLE `phpbb3_footb_points` (
  `points_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `season` smallint(4) unsigned NOT NULL DEFAULT 0,
  `league` tinyint(2) NOT NULL DEFAULT 0,
  `matchday` tinyint(2) NOT NULL DEFAULT 0,
  `points_type` tinyint(1) NOT NULL DEFAULT 0,
  `user_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  `points` decimal(20,2) NOT NULL DEFAULT 0.00,
  `points_comment` mediumtext COLLATE utf8_bin NOT NULL,
  `cash` tinyint(1) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`points_id`),
  KEY `user` (`season`,`league`,`user_id`),
  KEY `matchday` (`season`,`league`,`matchday`),
  KEY `type` (`season`,`league`,`points_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;



DROP TABLE IF EXISTS `phpbb3_footb_rank_matchdays`;
CREATE TABLE `phpbb3_footb_rank_matchdays` (
  `season` smallint(4) unsigned NOT NULL DEFAULT 0,
  `league` tinyint(2) NOT NULL DEFAULT 0,
  `matchday` tinyint(2) NOT NULL DEFAULT 0,
  `user_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  `status` tinyint(2) NOT NULL DEFAULT 0,
  `rank` smallint(4) unsigned NOT NULL DEFAULT 0,
  `points` smallint(4) unsigned NOT NULL DEFAULT 0,
  `win` decimal(5,2) NOT NULL DEFAULT 0.00,
  `rank_total` smallint(4) unsigned NOT NULL DEFAULT 0,
  `tendencies` tinyint(2) NOT NULL DEFAULT 0,
  `correct_result` tinyint(2) NOT NULL DEFAULT 0,
  `points_total` smallint(4) unsigned NOT NULL DEFAULT 0,
  `win_total` decimal(5,2) NOT NULL DEFAULT 0.00,
  PRIMARY KEY (`season`,`league`,`matchday`,`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;



DROP TABLE IF EXISTS `phpbb3_footb_seasons`;
CREATE TABLE `phpbb3_footb_seasons` (
  `season` smallint(4) unsigned NOT NULL DEFAULT 0,
  `season_name` varchar(20) COLLATE utf8_bin NOT NULL DEFAULT '',
  `season_name_short` varchar(10) COLLATE utf8_bin NOT NULL DEFAULT '',
  PRIMARY KEY (`season`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;



DROP TABLE IF EXISTS `phpbb3_footb_teams`;
CREATE TABLE `phpbb3_footb_teams` (
  `season` smallint(4) unsigned NOT NULL DEFAULT 0,
  `league` tinyint(2) NOT NULL DEFAULT 0,
  `team_id` smallint(4) unsigned NOT NULL DEFAULT 1,
  `team_name` varchar(30) COLLATE utf8_bin NOT NULL DEFAULT '',
  `team_name_short` varchar(10) COLLATE utf8_bin NOT NULL DEFAULT '',
  `team_symbol` varchar(25) COLLATE utf8_bin NOT NULL DEFAULT '',
  `group_id` char(1) COLLATE utf8_bin NOT NULL DEFAULT '',
  `matchday` tinyint(2) NOT NULL DEFAULT 0,
  PRIMARY KEY (`season`,`league`,`team_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;



DROP TABLE IF EXISTS `phpbb3_footb_teams_hist`;
CREATE TABLE `phpbb3_footb_teams_hist` (
  `team_id` smallint(4) unsigned NOT NULL DEFAULT 0,
  `team_name` varchar(30) COLLATE utf8_bin NOT NULL DEFAULT '',
  PRIMARY KEY (`team_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
Ob dann die Extension auch wirklich funktioniert ist allerdings nicht sicher, da ja noch in den Standard-phpbb Tabellen Einträge vorgenommen werden (zum Beispiel für die Gruppen-Berechtigungen). Wenn diese Einträge fehlen, wird es dort ebenfalls Fehlermeldungen regnen.


P.S. Du kannst es ja mal mit dieser Fehler bereinigten Version testen >>> http://phpbb3-support.square7.ch/football.zip <<<
In dieser Version sind bereits alle PHP7 - relevanten Fehler behoben, welche hier im Thread gemeldet wurden.
Bei mir lässt sich diese Version problemlos installieren.


Grüße: Mahony
Taekwondo in Berlin
Wer fragt, ist ein Narr für fünf Minuten, wer nicht fragt, ist ein Narr für immer.
Tovi
Mitglied
Beiträge: 36
Registriert: 05.04.2007 12:28
Kontaktdaten:

Re: [BETA] [3.1] [3.2] Football Prediction League

Beitrag von Tovi »

Danke für deine tolle Hilfe Mahony.

Ich werde es probieren.
Benutzeravatar
kusselin
Mitglied
Beiträge: 155
Registriert: 22.05.2019 14:39

Re: [BETA] [3.1] [3.2] Football Prediction League

Beitrag von kusselin »

Hallo Zusammen,

ich bin realtiv neu hier und habe nun für unseren Verein ein Forum eingerichtet. Nun wollte ich gerne im Forum ein Forum namens Tippspiele erstellen udn hier dann zb die neue Bundesliga Saison 2019/20 reinpacken...

Geht das mit dieser Extension? oder gibt es da was anderes?

Auch wäre es gut, zb dann ev. die Europameisterschaft oder Weltmeisterschaft tippen zu lassen.

Über ne Aufklärung vielen Dank

EDIT: Müsste ich für eine Extension also eien Erweiterung in unserem Forum das hier nehmen:
http://football.bplaced.net/viewtopic.p ... 4cb44e7ddb

und wenn ja welche zip datei wäre das dann?

und bei der Mod version ist es wieder eine eigenständige Installation richtig?

Wie gesagt...über ne Aufklärung vielen dank an Euch
Benutzeravatar
kusselin
Mitglied
Beiträge: 155
Registriert: 22.05.2019 14:39

Re: [BETA] [3.1] [3.2] Football Prediction League

Beitrag von kusselin »

Keiner da der aufklären kann?
Tipp wo ich nachlesen kann?
Gruss
Benutzeravatar
kusselin
Mitglied
Beiträge: 155
Registriert: 22.05.2019 14:39

Re: [BETA] [3.1] [3.2] Football Prediction League

Beitrag von kusselin »

Hi, ok danke...

Gibt es denn wenigstens ne Alternative?

Würde gerne für unser Board Forum ein Tippspiel mit der 1+2 Liga erstellen...
Danke und Gruß
Antworten

Zurück zu „Extensions in Entwicklung“