phpbb-extensions/boardannouncements

New Users Don't See Current Announcement

Closed this issue · 5 comments

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

rxu commented

@VSEphpbb I guess changing the default value of the board_announcements_status field from 0 to 1 should be sufficient, shouldn't it?

Yes but with something like you did here: phpbb-extensions/collapsible-categories#24

rxu commented

Ah, ok.

rxu commented

Although, for CC we did that because for the TEXT field type default value can't be set, while for bool type it's possible.

OK, try it via migration first and lets see