Page 1 of 1

Ankündigung phpBB 3.3.0

Posted: 7. January 2020 20:49
by Mike-on-Tour
Hallo,
nach der Ankündigung von phpBB 3.3.0 und den dafür notwendigen Voraussetzungen (php-Version >= 7.1.3) eine kurze Frage: Ist die aktuelle Version des Portals damit kompatibel oder gibt es Anpassungs-/Update-Bedarf? Und wenn letzteres, ist schon ein Release-Zeitpunkt absehbar?

Gruß
Mike

Re: Ankündigung phpBB 3.3.0

Posted: 9. January 2020 09:19
by Kirk
Hallo
Mit dieser Änderung sollte das Portal funktionieren.

Re: Ankündigung phpBB 3.3.0

Posted: 9. January 2020 11:08
by Mike-on-Tour
Danke für die schnelle Antwort, dann werde ich mal eine Testinstallation starten.

Re: Ankündigung phpBB 3.3.0

Posted: 9. January 2020 18:21
by Locutus78
Nabend!

Im Pfad ext\board3\portal\config müssen die Dateien services.yml und modules.yml noch angepasst werden. Ansonsten folgt eine invalid YAML Fehlermeldung im ACP.

Hab einfach nur die Zeilen abgearbeitet und mit ' davor und danach versehen.

So siehts für die services.yml aus ...

Code: Select all

imports:
    - { resource: modules.yml }

parameters:
    board3.portal.config.table: %core.table_prefix%portal_config
    board3.portal.modules.table: %core.table_prefix%portal_modules

services:
    board3.portal.main:
        class: board3\portal\controller\main
        arguments:
            - '@board3.portal.columns'
            - '@config'
            - '@board3.portal.controller_helper'
            - '@template'
            - '@user'
            - '@path_helper'
            - '%core.root_path%'
            - '.%core.php_ext%'
            - '%board3.portal.config.table%'
            - '%board3.portal.modules.table%'

    board3.portal.controller_helper:
        class: board3\portal\controller\helper
        arguments:
            - '@auth'
            - '@board3.portal.columns'
            - '@config'
            - '@template'
            - '@user'
            - '@path_helper'
            - '@board3.portal.helper'
            - '%core.root_path%'
            - '.%core.php_ext%'

    board3.portal.module_collection:
        class: phpbb\di\service_collection
        arguments:
            - '@service_container'
        tags:
            - '{ name: service_collection, tag: board3.portal.module }'

    board3.portal.helper:
        class: board3\portal\includes\helper
        arguments:
            - '@board3.portal.module_collection'

    board3.portal.modules_helper:
        class: board3\portal\includes\modules_helper
        arguments:
            - '@auth'
            - '@config'
            - '@controller.helper'
            - '@request'

    board3.portal.columns:
        class: board3\portal\portal\columns

    board3.portal.fetch_posts:
        class: board3\portal\portal\fetch_posts
        arguments:
            - '@auth'
            - '@cache'
            - '@config'
            - '@dbal.conn'
            - '@board3.portal.modules_helper'
            - '@user'

    board3.portal.listener:
        class: board3\portal\event\listener
        arguments:
            - '@board3.portal.main'
            - '@auth'
            - '@config'
            - '@controller.helper'
            - '@path_helper'
            - '@template'
            - '@user'
            - '%core.php_ext%'
        tags:
            - '{ name: event.listener }'

    board3.portal.modules.manager:
        class: board3\portal\portal\modules\manager
        arguments:
            - '@cache'
            - '@dbal.conn'
            - '@board3.portal.controller_helper'
            - '@board3.portal.columns'
            - '@board3.portal.helper'
            - '@board3.portal.modules.constraints_handler'
            - '@board3.portal.modules.database_handler'
            - '@request'
            - '@user'

    board3.portal.modules.database_handler:
        class: board3\portal\portal\modules\database_handler
        arguments:
            - '@dbal.conn'

    board3.portal.modules.constraints_handler:
        class: board3\portal\portal\modules\constraints_handler
        arguments:
            - '@board3.portal.columns'
            - '@user'
Und so für die modules.yml ...

Code: Select all

services:
    board3.portal.module.announcements:
        class: board3\portal\modules\announcements
        arguments:
            - '@auth'
            - '@cache'
            - '@config'
            - '@template'
            - '@dbal.conn'
            - '@pagination'
            - '@board3.portal.modules_helper'
            - '@request'
            - '%core.php_ext%'
            - '%core.root_path%'
            - '@user'
            - '@board3.portal.fetch_posts'
        tags:
            - { name: board3.portal.module }

    board3.portal.module.attachments:
        class: board3\portal\modules\attachments
        arguments:
            - '@auth'
            - '@config'
            - '@board3.portal.modules_helper'
            - '@template'
            - '@dbal.conn'
            - '@request'
            - '%core.php_ext%'
            - '%core.root_path%'
            - '@user'
        tags:
            - { name: board3.portal.module }

    board3.portal.module.birthday_list:
        class: board3\portal\modules\birthday_list
        arguments:
            - '@config'
            - '@template'
            - '@dbal.conn'
            - '@user'
        tags:
            - { name: board3.portal.module }

    board3.portal.module.calendar:
        class: board3\portal\modules\calendar
        arguments:
            - '@config'
            - '@board3.portal.modules_helper'
            - '@template'
            - '@dbal.conn'
            - '@request'
            - '%core.root_path%'
            - '%core.php_ext%'
            - '@user'
            - '@path_helper'
            - '@log'
        tags:
            - { name: board3.portal.module }

    board3.portal.module.clock:
        class: board3\portal\modules\clock
        arguments:
            - '@config'
            - '@template'
        tags:
            - { name: board3.portal.module }

    board3.portal.module.custom:
        class: board3\portal\modules\custom
        arguments:
            - '@config'
            - '@template'
            - '@dbal.conn'
            - '@request'
            - '%core.root_path%'
            - '%core.php_ext%'
            - '@user'
            - '@log'
        tags:
            - { name: board3.portal.module }

    board3.portal.module.donation:
        class: board3\portal\modules\donation
        arguments:
            - '@config'
            - '@request'
            - '@template'
            - '@user'
            - '@board3.portal.modules_helper'
        tags:
            - { name: board3.portal.module }

    board3.portal.module.forumlist:
        class: board3\portal\modules\forumlist
        arguments:
            - '@auth'
            - '@config'
            - '@template'
            - '%core.root_path%'
            - '%core.php_ext%'
            - '@user'
        tags:
            - { name: board3.portal.module }

    board3.portal.module.friends:
        class: board3\portal\modules\friends
        arguments:
            - '@auth'
            - '@config'
            - '@dbal.conn'
            - '@template'
            - '@user'
        tags:
            - { name: board3.portal.module }

    board3.portal.module.latest_bots:
        class: board3\portal\modules\latest_bots
        arguments:
            - '@config'
            - '@dbal.conn'
            - '@template'
            - '@user'
        tags:
            - { name: board3.portal.module }

    board3.portal.module.latest_members:
        class: board3\portal\modules\latest_members
        arguments:
            - '@config'
            - '@dbal.conn'
            - '@template'
            - '@user'
        tags:
            - { name: board3.portal.module }

    board3.portal.module.leaders:
        class: board3\portal\modules\leaders
        arguments:
            - '@auth'
            - '@config'
            - '@dbal.conn'
            - '@template'
            - '%core.root_path%'
            - '%core.php_ext%'
            - '@user'
        tags:
            - { name: board3.portal.module }

    board3.portal.module.link_us:
        class: board3\portal\modules\link_us
        arguments:
            - '@config'
            - '@template'
            - '@user'
        tags:
            - { name: board3.portal.module }

    board3.portal.module.links:
        class: board3\portal\modules\links
        arguments:
            - '@config'
            - '@dbal.conn'
            - '@request'
            - '@template'
            - '%core.root_path%'
            - '%core.php_ext%'
            - '@user'
            - '@log'
        tags:
            - { name: board3.portal.module }

    board3.portal.module.main_menu:
        class: board3\portal\modules\main_menu
        arguments:
            - '@config'
            - '@dbal.conn'
            - '@request'
            - '@template'
            - '%core.root_path%'
            - '%core.php_ext%'
            - '@user'
            - '@log'
        tags:
            - { name: board3.portal.module }

    board3.portal.module.news:
        class: board3\portal\modules\news
        arguments:
            - '@auth'
            - '@cache'
            - '@config'
            - '@dbal.conn'
            - '@pagination'
            - '@board3.portal.modules_helper'
            - '@request'
            - '@template'
            - '%core.root_path%'
            - '%core.php_ext%'
            - '@user'
            - '@board3.portal.fetch_posts'
        tags:
            - { name: board3.portal.module }

    board3.portal.module.poll:
        class: board3\portal\modules\poll
        arguments:
            - '@auth'
            - '@config'
            - '@dbal.conn'
            - '@request'
            - '@template'
            - '%core.root_path%'
            - '%core.php_ext%'
            - '@user'
            - '@board3.portal.modules_helper'
        tags:
            - { name: board3.portal.module }

    board3.portal.module.random_member:
        class: board3\portal\modules\random_member
        arguments:
            - '@dbal.conn'
            - '@template'
            - '@user'
        tags:
            - { name: board3.portal.module }

    board3.portal.module.recent:
        class: board3\portal\modules\recent
        arguments:
            - '@auth'
            - '@config'
            - '@dbal.conn'
            - '@request'
            - '@template'
            - '%core.root_path%'
            - '%core.php_ext%'
        tags:
            - { name: board3.portal.module }

    board3.portal.module.search:
        class: board3\portal\modules\search
        arguments:
            - '@template'
            - '%core.php_ext%'
            - '%core.root_path%'
        tags:
            - { name: board3.portal.module }

    board3.portal.module.statistics:
        class: board3\portal\modules\statistics
        arguments:
            - '@cache'
            - '@config'
            - '@dbal.conn'
            - '@template'
            - '@user'
        tags:
            - { name: board3.portal.module }

    board3.portal.module.stylechanger:
        class: board3\portal\modules\stylechanger
        arguments:
            - '@config'
            - '@board3.portal.modules_helper'
            - '@template'
            - '@dbal.conn'
            - '@request'
            - '@user'
        tags:
            - { name: board3.portal.module }

    board3.portal.module.topposters:
        class: board3\portal\modules\topposters
        arguments:
            - '@config'
            - '@dbal.conn'
            - '@template'
            - '%core.root_path%'
            - '%core.php_ext%'
        tags:
            - { name: board3.portal.module }

    board3.portal.module.user_menu:
        class: board3\portal\modules\user_menu
        arguments:
            - '@auth'
            - '@config'
            - '@controller.helper'
            - '@dbal.conn'
            - '@path_helper'
            - '@template'
            - '@user'
            - '%core.root_path%'
            - '%core.php_ext%'
        tags:
            - { name: board3.portal.module }

    board3.portal.module.welcome:
        class: board3\portal\modules\welcome
        arguments:
            - '@config'
            - '@request'
            - '@template'
            - '@user'
            - '%core.root_path%'
            - '%core.php_ext%'
        tags:
            - { name: board3.portal.module }

    board3.portal.module.whois_online:
        class: board3\portal\modules\whois_online
        arguments:
            - '@auth'
            - '@config'
            - '@dbal.conn'
            - '@template'
            - '@user'
            - '%core.root_path%'
            - '%core.php_ext%'
        tags:
            - { name: board3.portal.module }
(Anbei erwähnt, gilt auch für andere Extensions mit selbigen Fehlermeldungen)

Re: Ankündigung phpBB 3.3.0

Posted: 9. January 2020 18:53
by Kirk
Das hatte ich vergessen zu erwähnen, danke für den Hinweis :)