Author: FredQ
Extension Description:
This extension will help you manage various notices at the top of all the pages.
This is not the same as an announcement. An announcement is global, whereas notices are contextual.
You can configure the notice to be dismissible (either forever, or it will come back after some time). Guest users can also dismiss a notice (although it will come back if they clear their cookies)
Please note, in version 1 you can only display one notice at a time. Displaying multiple notices is for a version 2
A few examples:
- Display a message to bots only (the notice is the first piece of text indexed by robots so it's likely to appear as a description on search engine results)
- Display a message to guests asking them to register
- Display a welcoming message to users who registered today
- Display a welcoming message asking you to write an introduction if you never posted yet.
- Display a reminder to check the board rules forum
- Display a congratulation message when the user reaches a high rank
- Congratulations for your 1,000th post
- Congratulations for your 5th year registration anniversary
- Some warning that you're browsing a specific forum (like a read-only section)
- Display a happy birthday message on your birthday.
- Wishing a happy Christmas day every 25th December
- Alert that you haven't posted for more than 2 weeks!
- etc.
English is not my native language, so feel free to fix the default language files

Extension Version:
As I was upgrading the extension to phpBB 3.2 I realised it was getting difficult to keep a compatibility with phpBB 3.1
Please tell me if you desperately need compatibility with phpBB 3.1 and I'll see what I can do.
Features:
Here are all the rules that are already implemented:
- Birthday
- Never posted (the post count includes posts waiting for moderation)
- Number of active posts equals to (by active I mean visible, which is approved and non-deleted)
- Number of active posts less than
- Number of active posts more than
- Member of a usergroup
- Member of a usergroup (and is the default group)
- User is logged in
- User is not logged in
- User rank
- User current board language
- User current style (works with Guest styles if you have Quick Style extension installed)
- Current forum the user is browsing
- Registration anniversary
- Has not posted for n days
- On a specific date, and/or day and/or month and/or year
- Has posted in some selected forums
- Has not posted in a selection of forums
- User is at the board index (or not)
- User has never visited any of these forums
- User has not visited any of these forums for x day(s)
- User registered less than x day(s)
- (New) User registered before a date
- (New) User registered after a date
- (New) User is browsing some specific topic(s)
{SESSIONID}
, {USERID}
, {USERNAME}
, {LASTVISIT}
, {LASTPOST}
, {REGISTERED}
and also some other that can be used combined with a rule providing them:
{AGE}
, {ANNIVERSARY}
(registration date), {RANKID}
, {RANK}
, {POSTS}
(total number of user posts), {GROUPID}
, {GROUPNAME}
(default group only)With these variables, you can show personalized messages. The message:
will be displayed like this:
Extension Download:
Github repository: https://github.com/gouarfig/board-notices/
Download this archive: https://github.com/gouarfig/board-notic ... v0.5.3.zip
And copy all the files from the folder inside the zip to the folder [root of your phpBB]/ext/fq/boardnotices/
Screenshots
The Board Notice manager:
An example of notice for guests:
Code Coverage (unit tests & integration tests)
Code is analysed with SonarCloud