Giter VIP home page Giter VIP logo

boardannouncements's Introduction

phpBB Board Announcements Extension

This is the repository for the development of the phpBB Board Announcements Extension.

Build Status codecov

Install

  1. Download the latest validated release.
  2. Unzip the downloaded release and copy it to the ext directory of your phpBB board.
  3. Navigate in the ACP to Customise -> Manage extensions.
  4. Look for Board Announcements under the Disabled Extensions list, and click its Enable link.
  5. Set up and configure Board Announcements by navigating in the ACP to Extensions -> Board Announcements.

Uninstall

  1. Navigate in the ACP to Customise -> Extension Management -> Extensions.
  2. Look for Board Announcements under the Enabled Extensions list, and click its Disable link.
  3. To permanently uninstall, click Delete Data and then delete the /ext/phpbb/boardannouncements directory.

Support

  • Important: Only official release versions validated by the phpBB Extensions Team should be installed on a live forum. Pre-release (beta, RC) versions downloaded from this repository are only to be used for testing on offline/development forums and are not officially supported.
  • Report bugs and other issues to our Issue Tracker.
  • Support requests should be posted and discussed in the Board Announcements topic at phpBB.com.

Translations

License

GNU General Public License v2

boardannouncements's People

Contributors

bonelifer avatar dependabot[bot] avatar exreaction avatar galixte avatar im4bb avatar imattpro avatar kasimi avatar marc1706 avatar michaelcullum avatar nicofuma avatar phpbb-es avatar pico avatar rxu avatar senky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

boardannouncements's Issues

Option to disable announcement closing

Should we have an ACP option that can be used to disable the ability for users to close/dismiss an announcement?

I believe there may be reason where some announcements, an admin may not want the user to be able to dismiss it.

French translation for 1.3.0

Hi
Some translation omissions in version 1.3.0 of the extension.
Here are the fixes:
'BOARD_ANNOUNCEMENTS_LOCATIONS' => 'Limiter l‘endroit où cette annonce doit être affichée',
'BOARD_ANNOUNCEMENTS_LOCATIONS_EXPLAIN' => 'Sélectionnez un ou plusieurs emplacements pour afficher l‘annonce. Pour l‘afficher partout, laissez la sélection vide. Utilisez Commande (Mac) ou Contrôle (Windows), cliquez pour sélectionner plusieurs emplacements.',
'BOARD_ANNOUNCEMENTS_INDEX_PAGE' => 'Index du forum',

Best Regards

New Users Don't See Current Announcement

When a new user is created, their board_announcement_status is 0 by default. So BA thinks they dismissed the announcement, so they don't see it anymore after they registered.

We need to set the users board_announcements_status to 1 when a user is created if board announcements config is enabled.

@rxu I think you've done something like this before, with an event during user creation.

https://www.phpbb.com/customise/db/extension/boardannouncements/support/topic/146966

phpBB DB error prevent from downloading your mode

Trying to install your mode

Install

  1. Download the latest validated release.

gave me an error:

General Error
SQL ERROR [ mysqli ]

Unknown database 'phpbb' [1049]

An sql error occurred while fetching this page. Please contact an administrator if this problem persists.

Is there any mirrors for downloading?

board announcement creates a PHPBB error message that shuts extensions down

When I activated the boardannouncement extension, this was the error message I received:

==

phpBB is een foutmelding tegengekomen tijdens het bouwen van de container, veroorzaakt door een geïnstalleerde extensie. Om deze reden zijn alle extensies tijdelijk uitgeschakeld. Probeer de cache van je forum te legen. Alle extensies worden automatische ingeschakeld als de foutmelding is opgelost. Als deze foutmelding zich blijft voordoen, bezoek dan ons support forum via phpbb.nl.

Uitzondering: The file "/home/noppenforum/board.noppenforum.nl/ext/phpbb/boardannouncements/config/services.yml" does not contain valid YAML: The reserved indicator "@" cannot start a plain scalar; you need to quote the scalar at line 5 (near "- @config").
#0 /home/noppenforum/board.noppenforum.nl/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php(117): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->loadFile('/home/noppenfor...')
#1 /home/noppenforum/board.noppenforum.nl/phpbb/extension/di/extension_base.php(99): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->load('services.yml')
#2 /home/noppenforum/board.noppenforum.nl/phpbb/extension/di/extension_base.php(63): phpbb\extension\di\extension_base->load_services(Object(Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationContainerBuilder))
#3 /home/noppenforum/board.noppenforum.nl/vendor/symfony/dependency-injection/Compiler/MergeExtensionConfigurationPass.php(71): phpbb\extension\di\extension_base->load(Array, Object(Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationContainerBuilder))
#4 /home/noppenforum/board.noppenforum.nl/vendor/symfony/http-kernel/DependencyInjection/MergeExtensionConfigurationPass.php(39): Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationPass->process(Object(Symfony\Component\DependencyInjection\ContainerBuilder))
#5 /home/noppenforum/board.noppenforum.nl/vendor/symfony/dependency-injection/Compiler/Compiler.php(140): Symfony\Component\HttpKernel\DependencyInjection\MergeExtensionConfigurationPass->process(Object(Symfony\Component\DependencyInjection\ContainerBuilder))
#6 /home/noppenforum/board.noppenforum.nl/vendor/symfony/dependency-injection/ContainerBuilder.php(789): Symfony\Component\DependencyInjection\Compiler\Compiler->compile(Object(Symfony\Component\DependencyInjection\ContainerBuilder))
#7 /home/noppenforum/board.noppenforum.nl/phpbb/di/container_builder.php(212): Symfony\Component\DependencyInjection\ContainerBuilder->compile()
#8 /home/noppenforum/board.noppenforum.nl/common.php(115): phpbb\di\container_builder->get_container()
#9 /home/noppenforum/board.noppenforum.nl/adm/index.php(23): require('/home/noppenfor...')
#10 {main}

RC1

Next logical step is to move this to RC which ideally we'd do in ~1 week. Hopefully we can get it to stable and release that at the same time as 3.1.

Disable function when board is disabled?

When the entire board is disabled in the ACP, the announcement still shows. Not sure if this is safe behavior (since disabling the board is usually used for updating phpBB etc.)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.