You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updates the topic title prefixing into a full fledges topic tagging system with filtering/search and prettier badges.
Will require this PR: phpbb/phpbb#7052 - adds events that will allow the tags to appear in most places where topics appear (such as in UCP and MCP panels).
Prevent disabled tags from appearing as filter choices
event/viewforum_listener.php:125
Disabled tags become visible as filter choices whenever they remain assigned to a moved/global topic. This bypasses the enabled-only filtering above; the later loop already restores a disabled tag when it is actually selected, so only enabled unavailable tags should be added here.
Tested it on 3.3.17 a bit.
Updating from Topic tags v.1 worked fine.
Creating, copying, merging topics worked fine.
Filtering by tag worked fine.
When you create a topic f.e. with tags One and Two, then you disable tag Two, the tag disappears from the filters, but is still displayed beside the topic title. Then, when you click it beside the topic title, it gets back again to the filters list together with topics filtering process. Not sure what should be the correct behavior, but probably if you disable a tag while already there're existing topics with such a tag, it shouldn't be removed from filters list (because it's still appears becide topic titles and works for filtering anyway).
That is the intended behavior. When disabled you can't assign it any more and it's not part of the filter list by default. But existing topic assignments remain visible. If you click on it then it only appears in the filter list because it's currently being used as a filter and so you can unclick it to stop filtering with it. So it only appears in the filter list if it's being used as a filter otherwise it won't be shown.
In other words when disabled it's removed from assigning and filter panel by default. But when interacting with topics that already have it, it appears so you can unassign it or filter/unfilter with it. This is also true for the behavior when a topic is moved to a forum where the tag is not assigned to - you can still see it and unassign or filter/unfilter them.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates the topic title prefixing into a full fledges topic tagging system with filtering/search and prettier badges.
Will require this PR: phpbb/phpbb#7052 - adds events that will allow the tags to appear in most places where topics appear (such as in UCP and MCP panels).
ACP panel

Posting panel:

Viewing forum:

Viewing topic:

Closes #17
Closes #18