[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.
ramboagent
Mitglied
Beiträge: 145
Registriert: 16.03.2021 22:22

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

Beitrag von ramboagent »

vielen Dank werde probieren und das nächste mal ins richtige Forum bin halt noch sehr neu hier sorry..
wünsche noch ein schönen Sonntag
ramboagent
Mitglied
Beiträge: 145
Registriert: 16.03.2021 22:22

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

Beitrag von ramboagent »

BNa hat geschrieben: 28.03.2021 16:01
Das ist easy zu fixen:
https://www.phpbb.com/customise/db/exte ... 76#p721276
ich nochmal sorry ich versuche mich da seit 2 Tagen zu reg. geht einfach nicht der will immer eine andere Zeitzone

was kann ich nun noch machen gibts hier noch jemand der vielleicht helfen kann wäre super

würde auch Zugang geben um sich die sache mal anzuschauen bei mir im Board
Benutzeravatar
BNa
Valued Contributor
Beiträge: 3169
Registriert: 12.04.2010 23:51
Kontaktdaten:

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

Beitrag von BNa »

Du brauchst Dich da nicht (unbedingt) zu registrieren, folge einfach der Anleitung hier:

https://www.phpbb.com/customise/db/exte ... 76#p721276

Du öffnest also die football\config\services.yml und änderst das, wie in der Anleitung.

Zum Beispiel der Part hier in der football\config\services.yml:

Code: Alles auswählen

services:
    football.football.controller:
        class: football\football\controller\main
        arguments:
            - @auth
            - @config
            - @ext.manager
            - @notification_manager
            - @log
            - @path_helper
            - @dbal.conn           
            - @controller.helper
            - @template
            - @user
            - @pagination
            - %core.root_path% 
            - %core.php_ext%
wird geändert zu (wird also mit Hochkomma versehen)

Code: Alles auswählen

services:
    football.football.controller:
        class: football\football\controller\main
        arguments:
            - '@auth'
            - '@config'
            - '@ext.manager'
            - '@notification_manager'
            - '@log'
            - '@path_helper'
            - '@dbal.conn'
            - '@controller.helper'
            - '@template'
            - '@user'
            - '@pagination'
            - '%core.root_path%' 
            - '%core.php_ext%'
usw.

Alles was hinter arguments: steht und ein Bindestrich hat :wink:

Gehe einfach die Datei football\config\services.yml durch (Syntax siehe Link).
Danach football\config\services.yml speichern, das Paket wieder hochladen, installieren, freuen...
ramboagent
Mitglied
Beiträge: 145
Registriert: 16.03.2021 22:22

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

Beitrag von ramboagent »

hmmm finde das in meiner services nicht it dem /c

bei mir sieht die so aus

Code: Alles auswählen

parameters:
    football.version_data:
        author: football
        title: Football Prediction League
        version: football_version
        file:
            - football.bplaced.net
            - /updatecheck
            - football_predictionleague.json

services:
    football.football.controller:
        class: football\football\controller\main
        arguments:
            - @auth
            - @config
            - @ext.manager
            - @notification_manager
            - @log
            - @path_helper
            - @dbal.conn           
            - @controller.helper
            - @template
            - @user
            - @pagination
            - %core.root_path% 
            - %core.php_ext%	
            
    football.football.controller_popup:
        class: football\football\controller\popup
        arguments:
            - @auth
            - @config
            - @ext.manager
            - @path_helper
            - @dbal.conn           
            - @controller.helper
            - @template
            - @user
            - @pagination
            - %core.root_path% 
            - %core.php_ext%	

    football.football.controller_download:
        class: football\football\controller\download
        arguments:
            - @auth
            - @config
            - @ext.manager
            - @path_helper
            - @dbal.conn           
            - @controller.helper
            - @template
            - @user
            - %core.root_path% 
            - %core.php_ext%	

    football.football.version.check:
        class: football\football\includes\version_check
        scope: prototype
        arguments:
            - %football.version_data%
            - @config
            - @version_helper
            - @template
            - @user

    football.football.controller_xml:
        class: football\football\controller\xmlplan
        arguments:
            - @config
            - @ext.manager
            - @path_helper
            - @dbal.conn
            - @user
            - %core.root_path%
            - %core.php_ext%

    football.football.core.functions.points:
        class: football\football\core\functions_points
        arguments:
            - @user
            - @dbal.conn

    football.football.listener:
        class: football\football\event\main_listener
        arguments:
            - '@auth'
            - '@config'
            - '@dbal.conn'
            - '@user'
            - '@template'
            - '@request'
            - '%core.php_ext%'
            - '%core.root_path%'
        tags:
            - { name: event.listener }            

    football.football.cron.task.football_remember:
        class: football\football\cron\task\football_remember
        arguments:
            - %core.root_path%
            - %core.php_ext%
            - @ext.manager
            - @path_helper
            - @dbal.conn
            - @config
            - @log
            - @user
        calls:
            - [set_name, [football.football.cron.task.football_remember]]
        tags:
            - { name: cron.task }
Benutzeravatar
BNa
Valued Contributor
Beiträge: 3169
Registriert: 12.04.2010 23:51
Kontaktdaten:

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

Beitrag von BNa »

Das war ja auch nur ein Ausschnitt, als Beispiel.
Den Rest kannst Du ja selber ändern.
Eine Anleitung hast Du nun.
ramboagent
Mitglied
Beiträge: 145
Registriert: 16.03.2021 22:22

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

Beitrag von ramboagent »

bin etwas weiter gekommen aber nun kommt da was habe ich noch vergessen ...

Code: Alles auswählen

BACKTRACE

FILE: (nicht von
php gegeben)LINE:
(nicht von

php gegeben)CALL: msg_handler()FILE:
[ROOT]/phpbb/db/driver/driver.phpLINE: 1020
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE:
195CALL: phpbb'db'driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/factory.php


LINE: 345
CALL: phpbb sql_queryFILE: [ROOT]/ext/football/football/acp/update_module.php
LINE:
693CALL: phpbb'db'driver-factory->sql_query()

FILE: [ROOT]/includes/functions_module.php
LINE: 676
CALL: football-football-acp-update_module-> load_active

p_master.php;
ramboagent
Mitglied
Beiträge: 145
Registriert: 16.03.2021 22:22

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

Beitrag von ramboagent »

wünsche erstmal allen frohe Ostern aber irgendwie komme ich nicht weiter bei mir mit dem Einbau einiges geht aber halt immer noch mit jeder menge Fehlermeldungen ich glaube da muss mal ein Profi von euch ran würde mich riesig freuen wenn da mal einer schauen würde ist auf mein Testboard hatte vorher 15 Jahre ein wbb sorry ich kenne mich halt mit der phpBB noch nicht so richtig aus hoffe ihr habt dafür Verständnis
ramboagent
Mitglied
Beiträge: 145
Registriert: 16.03.2021 22:22

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

Beitrag von ramboagent »

...hallo meine lieben da ich es ja nun am laufen habe ...noch eine frage was mach ich falsch ich werte aus und trotzdem steht dann da nicht ausgewertet ...[ externes Bild ]
tups
Mitglied
Beiträge: 46
Registriert: 02.11.2011 20:12
Kontaktdaten:

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

Beitrag von tups »

Hallo,
ich verstehe deine Frage nicht so richtig. was meinst du mit Auswerten?
Kannst du das bitte mal etwas genauer definieren?
phpbb 3.3.10
PHP 8.1.17
MySQL 5.7
Antworten

Zurück zu „Extensions in Entwicklung“