[3.2][BETA] Board Notices Manager

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Ideas Centre
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
FredQ
Registered User
Posts: 138
Joined: Sat Nov 01, 2014 10:48 am
Location: Northeast Scotland
Name: Fred Q
Contact:

Re: [3.2][BETA] Board Notices Manager

Post by FredQ » Thu Jan 24, 2019 10:00 pm

donsenilo wrote:
Thu Jan 24, 2019 9:43 pm
And copy all the files to the folder [root of your phpBB]/ext/fq/boardnotices/
Done, but doesn't show up to activeting it.
There are some files missing.
Duh! :oops:
I was cleaning up the files at the root and I forgot to leave composer.json. My bad! it's fixed now, you can download the zip again :roll:



version 0.4.4:
  • Added a new rule to check if the user is at the board index (or not)
  • Fixed compatibility issue with PHP 5 introduced in 0.4.3
  • [Internal] A lot of refactoring and code cleaning
My board (converted from vBulletin)

twm49
Registered User
Posts: 24
Joined: Fri Dec 18, 2015 12:42 am
Location: Milan - Italy
Contact:

Re: [3.2][BETA] Board Notices Manager

Post by twm49 » Fri Jan 25, 2019 10:03 am

Thank you. A great job.
I'm doing the translation in Italian. But I wait to send it when your work is finished.
I hope it will soon be used safely.
Tito sorry my bad English
php 7.1.11 - PhpBB 3.2.5 => 3rotaie.it

User avatar
FredQ
Registered User
Posts: 138
Joined: Sat Nov 01, 2014 10:48 am
Location: Northeast Scotland
Name: Fred Q
Contact:

Re: [3.2][BETA] Board Notices Manager

Post by FredQ » Mon Jan 28, 2019 5:59 pm

version 0.4.5 is out:
  • [Internal] Big emphasis on unit tests and integration tests: 70% of functions and methods and 72% of lines of code are tested. More to come!
  • [Internal] Home-made unserialize functions that doesn't have the security issues the php function has.
  • Removed compatibility with phpBB 3.1 (tell me if that's an issue for you)
  • Added 4 new variables to the rule "has not posted for"
Available here https://github.com/gouarfig/board-notic ... v0.4.5.zip
My board (converted from vBulletin)

User avatar
FredQ
Registered User
Posts: 138
Joined: Sat Nov 01, 2014 10:48 am
Location: Northeast Scotland
Name: Fred Q
Contact:

Re: [3.2][BETA] Board Notices Manager

Post by FredQ » Wed Jan 30, 2019 11:10 pm

version 0.5.0 is out:
  • The long awaited "dismissible" notice is finally finished!
  • Registered users and guests can dismiss a notice (it uses cookies for guests)
  • You can specify that the notice will come back after some days (or not if you don't need to)
  • The CSS is applied as a class and no longer on the id. That makes it easier to change the design of the notice.
Download this version:
https://github.com/gouarfig/board-notic ... v0.5.0.zip

I think I got pretty much everything in there now. Let's chase bugs!
My board (converted from vBulletin)

User avatar
Hippie459MN
Registered User
Posts: 917
Joined: Mon Oct 15, 2007 10:13 pm
Location: Minnesota, USA
Contact:

Re: [3.2][BETA] Board Notices Manager

Post by Hippie459MN » Thu Jan 31, 2019 12:36 am

Very excellent and great work!

I can't remember if it has been mentioned or not but is there any plans or would it be possible to have multiple notices? Say one for all registered users, then an additional one for admins for example? I hope it makes sense. lol

User avatar
FredQ
Registered User
Posts: 138
Joined: Sat Nov 01, 2014 10:48 am
Location: Northeast Scotland
Name: Fred Q
Contact:

Re: [3.2][BETA] Board Notices Manager

Post by FredQ » Thu Jan 31, 2019 9:53 am

As a matter of fact, yes it's been discussed. And no it's not ready for that.

I'm trying to decide if I should get the extension to the official database first, or deal with multi-notices before.
My board (converted from vBulletin)

User avatar
janus_zonstraal
Registered User
Posts: 3456
Joined: Sat Aug 30, 2014 1:30 pm

Re: [3.2][BETA] Board Notices Manager

Post by janus_zonstraal » Thu Jan 31, 2019 10:24 pm

Great extension.
Is it possible to select {FIRSTVISIT}, to welcome new members?
Sorry! My English is bat ;) !!!

User avatar
FredQ
Registered User
Posts: 138
Joined: Sat Nov 01, 2014 10:48 am
Location: Northeast Scotland
Name: Fred Q
Contact:

Re: [3.2][BETA] Board Notices Manager

Post by FredQ » Thu Jan 31, 2019 11:03 pm

janus_zonstraal wrote:
Thu Jan 31, 2019 10:24 pm
Is it possible to select {FIRSTVISIT}, to welcome new members?
If they haven't posted yet, are they not considered as new members?
Otherwise what would you consider a new member: somebody who just logged in for the first time only?
My board (converted from vBulletin)

User avatar
janus_zonstraal
Registered User
Posts: 3456
Joined: Sat Aug 30, 2014 1:30 pm

Re: [3.2][BETA] Board Notices Manager

Post by janus_zonstraal » Thu Jan 31, 2019 11:09 pm

Otherwise what would you consider a new member: somebody who just logged in for the first time only?
Yes, be course I have hundreds of old members without a post, but only want to to show a message to first time logged in users.
If possible ?
Sorry! My English is bat ;) !!!

User avatar
FredQ
Registered User
Posts: 138
Joined: Sat Nov 01, 2014 10:48 am
Location: Northeast Scotland
Name: Fred Q
Contact:

Re: [3.2][BETA] Board Notices Manager

Post by FredQ » Thu Jan 31, 2019 11:20 pm

janus_zonstraal wrote:
Thu Jan 31, 2019 11:09 pm
Yes, be course I have hundreds of old members without a post, but only want to to show a message to first time logged in users.
If possible ?
I don't know if it's possible yet, I need to dig if I can get this information.
What about "registered today"? would that work for you?
My board (converted from vBulletin)

User avatar
janus_zonstraal
Registered User
Posts: 3456
Joined: Sat Aug 30, 2014 1:30 pm

Re: [3.2][BETA] Board Notices Manager

Post by janus_zonstraal » Thu Jan 31, 2019 11:23 pm

What about "registered today"? would that work for you?
Yes, that will work.
Sorry! My English is bat ;) !!!

User avatar
FredQ
Registered User
Posts: 138
Joined: Sat Nov 01, 2014 10:48 am
Location: Northeast Scotland
Name: Fred Q
Contact:

Re: [3.2][BETA] Board Notices Manager

Post by FredQ » Fri Feb 01, 2019 4:04 pm

I had a look, and no: phpBB does not store the "first time login" information. So we'll have to rely on the registration date.

For that matter, here's the new

version 0.5.1:
  • Added Italian translation (twm49)
  • Allow a notice to be dismissed in preview mode (but it's not saved that you dismissed it)
  • New rule/condition: has never visited any of these forums
  • New rule/condition: has not visited any of these forums for x day(s)
  • New rule/condition: user registered less than x day(s) ago
Here's the download link: https://github.com/gouarfig/board-notic ... v0.5.1.zip

Information for our nice translators: when I add a new string in the language file, I tag it with @todo so you can quickly see which strings are to update. Sorry if I keep adding new strings in there :?
Last edited by FredQ on Fri Feb 01, 2019 8:04 pm, edited 1 time in total.
My board (converted from vBulletin)

User avatar
janus_zonstraal
Registered User
Posts: 3456
Joined: Sat Aug 30, 2014 1:30 pm

Re: [3.2][BETA] Board Notices Manager

Post by janus_zonstraal » Fri Feb 01, 2019 7:06 pm

Thanks FredQ
Sorry! My English is bat ;) !!!

twm49
Registered User
Posts: 24
Joined: Fri Dec 18, 2015 12:42 am
Location: Milan - Italy
Contact:

Re: [3.2][BETA] Board Notices Manager

Post by twm49 » Fri Feb 01, 2019 8:58 pm

FredQ wrote:
Fri Feb 01, 2019 4:04 pm


Information for our nice translators: when I add a new string in the language file, I tag it with @todo so you can quickly see which strings are to update. Sorry if I keep adding new strings in there :?
:lol:
Tito sorry my bad English
php 7.1.11 - PhpBB 3.2.5 => 3rotaie.it

User avatar
eunaumtenhoid
Registered User
Posts: 859
Joined: Wed Jun 03, 2009 12:46 am
Location: ????

Re: [3.2][BETA] Board Notices Manager

Post by eunaumtenhoid » Fri Feb 08, 2019 5:38 pm

is possible add comment on notice?
My translations of the extensions for Brazilian Portuguese
https://github.com/phpBBTraducoes

Post Reply

Return to “Extensions in Development”