[nodebb-plugin-topic-badges] Topic Badges
-
@psychobunny That worked
-
Awesome, okay, I'll make a note of that bug
-
@frissdiegurke said:
The first thing I tested was to use a title that only contains text within
[
]
maybe you should exclude that case.fixed
An other suggestion would be to instead of link the badges to the topic itself, link them to a search for their contents. Any thoughts about that?
maybe after the search gets refactored
I've hidden another suggestion within the topic called
[test][with][more][than][one][badge] :)
. Can you see it?Is there a bug there?
And the badge doesn't get excluded if I post a new topic without reloading...
Needs to be included also within Unread/Recent/PopularFixed
Latest version also includes an addition to Thread Tools which lets you quickly "mark as Solved"
-
-
I've hidden another suggestion within the topic called
[test][with][more][than][one][badge] :)
. Can you see it?Is there a bug there?
Not a bug, but I wanted to suggest the feature of adding multiple badges to one topic Maybe limited to 3 badges...
If you implement this keep in mind to reverse the order of HTML-tags therefor thetest
would be left ofwith
, etc.Latest version also includes an addition to Thread Tools which lets you quickly "mark as Solved"
Awesome
-
ah, I see
I think I'll save that for the future. Would love to have an ACP where you could define colours for specific badge tags, and perhaps have a whitelist of badges allowed per category (optionally using regex so we could target nodebb-plugin-x and colour it one way). That's a lot of work and I think I'll stop here for now hopefully some altruistic individual will come and tackle the rest
-
@psychobunny said:
ah, I see
I think I'll save that for the future. Would love to have an ACP where you could define colours for specific badge tags, and perhaps have a whitelist of badges allowed per category (optionally using regex so we could target nodebb-plugin-x and colour it one way). That's a lot of work and I think I'll stop here for now hopefully some altruistic individual will come and tackle the rest
My current forum has this similar functionality, rather than typing in individual prefixes, the poster selects one from a dropdown. (Tags are predefined in ACP). Each prefix can be filtered so that only those prefixes are displayed. So I too hope an altruistic individual will tackle the rest.
-
haha yeah, ideally we'll have some ACP functionality to be able to select what tags are eligible per category, and have a dropdown. most of my plugins are kind of like "proof of concept" stuff, I really hope somebody will take it and make something more cooler with it. as per my youtube plugin, so many people have built plugins based on that for dailymotion, vimeo, etc etc. I'd love to do it but I'm just so busy
-
Whats happend with user badges?
-
I believe most future plugins have been considered, however, have been deferred due to a somewhat massive overhaul and stabilization of the entire application which is totally understandable since its still in its early stages.
After all of the necessary refactoring and when 0.4.0 is released you might see more plugins.
So in all essence, what I am saying is patience my dear friend.
-
Thanks for the reminder, no its not - it crashes when I "mark as solved" (everything else works). Will get back to you shortly
-
Just released v0.0.7 which should be compatible up to latest
-
I'm using this plugin on my forums and using this little JS you can add icons to the badges as well:
<script type="text/javascript"> $(window).on('action:widgets.loaded', function() { $('.topic-badge').each(function(index, el) { var badgeType = el.textContent; switch (badgeType) { case('Manga'): var icon = 'fa-book'; break; } if (icon) { $(el).prepend('<span class="fa ' + icon + '"></span> ') } }); }); </script>
Preview:
-
It's a novel idea, but frankly I don't think this needs to be its own thing. I would roll it into tags.
Reason #1: You get weird URLs
Example 1: /topic/868/nodebb-plugin-topic-badges-topic-badges/
Example 2: /topic/1107/nodebb-plugin-google-adsense-google-adsenseReason #2: It would fit neatly in with tags
Here's how it could work: When I start a post with a[
, I could be presented with an auto-complete list (a la @mentions) of canonical tags, i.e. tags that will be shown in this top spot, and might have an icon attached to it etc. No extra text would be added to the URL/title, it'd just be added as a tag.Reason #3: Tags are more powerful
I don't really see the point in giving a thread thenodebb-plugin-google-adsense
badge unless this badge can be used as a filter to show only threads using this badge. In other words, how tags work.