[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!
Anti-Spam Guide
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: 136
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 » Sat Feb 09, 2019 1:16 am

What do you mean by a comment?
My board (converted from vBulletin)

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

Re: [3.2][BETA] Board Notices Manager

Post by Hippie459MN » Sat Feb 09, 2019 1:20 am

eunaumtenhoid wrote:
Fri Feb 08, 2019 5:38 pm
is possible add comment on notice?
FredQ wrote:
Sat Feb 09, 2019 1:16 am
What do you mean by a comment?
I dont understand either. You cant reply to notifications at all anyways. You could just create a topic and link the notification to the topic and they can reply that way. Thats what I do/did.

User avatar
potku
Registered User
Posts: 847
Joined: Wed Dec 22, 2004 10:26 pm
Location: Tampere, Finland
Contact:

Re: [3.2][BETA] Board Notices Manager

Post by potku » Sat Feb 09, 2019 5:40 pm

Installed! I like the way this is constructed in the ACP. Thank you. :)
Potku.net

"Before I speak, I have something important to say."

- Groucho Marx

User avatar
FredQ
Registered User
Posts: 136
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 » Sun Feb 10, 2019 1:12 pm

Cool :)

By the way, I'm working on 3 more conditions to come:
  • From date to date (with the ability of specifying only days or months or years or any kind of mix)
  • User registered before a date
  • User registered after a date
And I think it's all my ideas of rules for now. So after that I'll move to Release Candidate and it will be feature freeze.
If you want any more condition, now is the time 8-)
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 » Sun Feb 10, 2019 7:11 pm

FredQ wrote:
Sun Feb 10, 2019 1:12 pm
****
  • From date to date (with the ability of specifying only days or months or years or any kind of mix)
    ****
***
:D :D :D :D
Tito sorry my bad English
php 7.1.11 - PhpBB 3.2.5 => 3rotaie.it

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

Re: [3.2][BETA] Board Notices Manager

Post by eunaumtenhoid » Sat Feb 16, 2019 5:20 pm

only one notice at a time? Is it possible to show several at a time?
My translations of the extensions for Brazilian Portuguese
https://github.com/phpBBTraducoes

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 » Sun Feb 17, 2019 12:38 am

eunaumtenhoid wrote:
Sat Feb 16, 2019 5:20 pm
only one notice at a time? *****
Yes. only one notice at a time
Tito sorry my bad English
php 7.1.11 - PhpBB 3.2.5 => 3rotaie.it

User avatar
potku
Registered User
Posts: 847
Joined: Wed Dec 22, 2004 10:26 pm
Location: Tampere, Finland
Contact:

Re: [3.2][BETA] Board Notices Manager

Post by potku » Tue Feb 26, 2019 8:35 am

Thanks for this great EXT. Having used it only a few days I can see how it affects Google results. :)

I tried to add a notice and this happened. It seems I cannot add any more notices. What might be causing this?

Code: Select all

SQL ERROR [ mysqli ]

Duplicate entry '26' for key 'PRIMARY' [1062]

SQL

INSERT INTO olympus_notices (active, title, dismissable, reset_after, message, message_uid, message_bitfield, message_options, message_bgcolor, message_style, notice_id, notice_order) VALUES (1, 'BotitKahvila', 0, 0, '<t>Pannu aina kuumana ja pöydissä tilaa. Keskustelua kamppailulajien ulkopuolelta.</t>', '', '', 7, '', '', 26, 26)

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 996
CALL: trigger_error()

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

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 329
CALL: phpbb\db\driver\mysqli->sql_query()

FILE: [ROOT]/ext/fq/boardnotices/repository/notices.php
LINE: 404
CALL: phpbb\db\driver\factory->sql_query()

FILE: [ROOT]/ext/fq/boardnotices/acp/board_notices_module.php
LINE: 871
CALL: fq\boardnotices\repository\notices->saveNewNotice()

FILE: [ROOT]/ext/fq/boardnotices/acp/board_notices_module.php
LINE: 162
CALL: fq\boardnotices\acp\board_notices_module->saveNewNotice()

FILE: [ROOT]/ext/fq/boardnotices/acp/board_notices_module.php
LINE: 112
CALL: fq\boardnotices\acp\board_notices_module->addNotice()

FILE: [ROOT]/ext/fq/boardnotices/acp/board_notices_module.php
LINE: 87
CALL: fq\boardnotices\acp\board_notices_module->manage_module()

FILE: [ROOT]/includes/functions_module.php
LINE: 676
CALL: fq\boardnotices\acp\board_notices_module->main()

FILE: [ROOT]/adm/index.php
LINE: 82
CALL: p_master->load_active()


Powered by phpBB® Forum Software © phpBB Limited
EDIT: All I did was clear the cache - all is good again. :)

And this really is a very useful EXT. Now, with still some of our forums (and probably millions of other forums in countless phpBB boards) Google results show text like FAQ, Log in, and the sort. It is a big change to actually have something useful and inviting in those results. This is a SEO EXT. :D
Last edited by potku on Tue Feb 26, 2019 11:19 am, edited 1 time in total.
Potku.net

"Before I speak, I have something important to say."

- Groucho Marx

User avatar
FredQ
Registered User
Posts: 136
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 » Tue Feb 26, 2019 11:18 am

That's .... interesting. Which version are you using right now?
My board (converted from vBulletin)

User avatar
potku
Registered User
Posts: 847
Joined: Wed Dec 22, 2004 10:26 pm
Location: Tampere, Finland
Contact:

Re: [3.2][BETA] Board Notices Manager

Post by potku » Tue Feb 26, 2019 11:38 am

FredQ, sorry, I edited my post 1 minute after you replied. :D

We are using version 0.5.2-beta. And it works, thanks. :)
Last edited by potku on Tue Feb 26, 2019 11:39 am, edited 1 time in total.
Potku.net

"Before I speak, I have something important to say."

- Groucho Marx

User avatar
FredQ
Registered User
Posts: 136
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 » Tue Feb 26, 2019 11:39 am

potku wrote:
Tue Feb 26, 2019 8:35 am
EDIT: All I did was clear the cache - all is good again. :)
That's good. Quick question though: have you done any update directly in the database before it happened? If yes that's because the extension is using the phpBB cache system.

If you didn't change anything directly in the database, I'll have to investigate because it shouldn't happen therefore it's a bug
My board (converted from vBulletin)

User avatar
potku
Registered User
Posts: 847
Joined: Wed Dec 22, 2004 10:26 pm
Location: Tampere, Finland
Contact:

Re: [3.2][BETA] Board Notices Manager

Post by potku » Tue Feb 26, 2019 11:41 am

I never touch the database myself - it's much safer if I leave those rare occurrences to our technical admins who actually know what they are doing. I have installed some EXTs recently, but I don't know if that's relevant. Hopefully that MySQL error was just a one-off. :)
Potku.net

"Before I speak, I have something important to say."

- Groucho Marx

User avatar
teebling
Registered User
Posts: 40
Joined: Sat Apr 14, 2018 7:38 pm
Contact:

Re: [3.2][BETA] Board Notices Manager

Post by teebling » Fri Mar 01, 2019 8:51 am

Hey Fred, great looking extension.

Does the user have the ability to permanently dismiss the announcements that are made?

So for example user reaches a high rank, announcement is visible to them saying 'Congrats on reaching X rank!' and then they can dismiss it?

Thanks
Image My World of Warcraft: Classic forum

User avatar
FredQ
Registered User
Posts: 136
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 Mar 01, 2019 12:17 pm

Yes, you can configure each notice to be dismissible (or not).

You can also force it to be displayed again after some days (if needed)

8-)
My board (converted from vBulletin)

User avatar
teebling
Registered User
Posts: 40
Joined: Sat Apr 14, 2018 7:38 pm
Contact:

Re: [3.2][BETA] Board Notices Manager

Post by teebling » Fri Mar 01, 2019 1:01 pm

FredQ wrote:
Fri Mar 01, 2019 12:17 pm
Yes, you can configure each notice to be dismissible (or not).

You can also force it to be displayed again after some days (if needed)

8-)
Brilliant! Great work.
Image My World of Warcraft: Classic forum

Post Reply

Return to “Extensions in Development”