NodeBB v4.0.0 - Categories not following group actors
-
schrieb vor 27 Tagen zuletzt editiert von
@projectmoon@forum.agnos.is Adding UI for settings today. Will put on github once that's done (though I can share the core snippet in a bit). It can also work for auto-moving local tagged posts as well.
Should also mention that not every post from remote actors is tagged, so it might not catch everything. Could possibly have it just read any uncategorized posts and move based on users instead? Might be a better workaround for core, but if you have any thoughts let me know @julian@community.nodebb.org
-
schrieb vor 27 Tagen zuletzt editiert von
@arachnibot@nodebb.arachnibot.com said in NodeBB v4.0.0 - Categories not following group actors:
@projectmoon@forum.agnos.is Adding UI for settings today. Will put on github once that's done (though I can share the core snippet in a bit). It can also work for auto-moving local tagged posts as well.
Should also mention that not every post from remote actors is tagged, so it might not catch everything. Could possibly have it just read any uncategorized posts and move based on users instead? Might be a better workaround for core, but if you have any thoughts let me know @julian@community.nodebb.org
Sounds good. Looking forward to trying it out. If there's a way to tie the post back to a Group Actor "user" (which are the local NodeBB users that share/boost the content within NodeBB), then you could probably make the algorithm more reliable. I don't know anything about the internals of NodeBB, though. Just spitballing ideas.
-
schrieb vor 27 Tagen zuletzt editiert von
@projectmoon@forum.agnos.is actually once you mentioned that I got a rough version of that working. I'm not sure if reading the audience property is the right move, but we'll see if it works on my end I guess?
-
schrieb vor 27 Tagen zuletzt editiert von
@arachnibot@nodebb.arachnibot.com Only one way to find out!
-
schrieb vor 27 Tagen zuletzt editiert von
@arachnibot@nodebb.arachnibot.com for Lemmy? No, not anymore.
A future version of Lemmy will remove
audience
. You'll have to dereference the addressing fields (to
,cc
). -
schrieb vor 27 Tagen zuletzt editiert von
Got it! I just noticed something similar, so thanks for the confirmation!
-
schrieb vor 25 Tagen zuletzt editiert von
Ok! Almost set up with the plugin (though ACP controls are still pending for now). On the dev branch until I get the gui for config done.
GitHub - Arachnibot/nodebb-tag-to-category at dev
A starter kit for quickly creating NodeBB plugins. - GitHub - Arachnibot/nodebb-tag-to-category at dev
GitHub (github.com)
Only bug remaining is topics are not federated out by the group correctly. If anyone knows what triggers the category actor to share a post, let me know!
-
schrieb vor 25 Tagen zuletzt editiert von
@arachnibot@nodebb.arachnibot.com mm actually this also doesn't happen currently when you manually move a topic to a category.
Your local account boosts it but not the category. That's a feature I'd like to add to core, please open an issue.
-
schrieb vor 25 Tagen zuletzt editiert von
@julian@community.nodebb.org sounds good! I'm actually re-assigning the category before creation, rather than using the helpers in TopicTools, but I'll make the issue in case that should result in the same behavior
-
schrieb vor 24 Tagen zuletzt editiert von
@arachnibot@nodebb.arachnibot.com said in NodeBB v4.0.0 - Categories not following group actors:
@julian@community.nodebb.org sounds good! I'm actually re-assigning the category before creation, rather than using the helpers in TopicTools, but I'll make the issue in case that should result in the same behavior
I'm very eager to try this plugin lol. Have you put it up on GitHub somewhere yet?
-
schrieb vor 24 Tagen zuletzt editiert von
Yep! Still this link. Just note there's no settings panel (all just in the plug-in init function), and you'll have to git clone and npm link it to test, since its not ready for the usual method yet
GitHub - Arachnibot/nodebb-tag-to-category at dev
A starter kit for quickly creating NodeBB plugins. - GitHub - Arachnibot/nodebb-tag-to-category at dev
GitHub (github.com)
-
Seems my testing ground can't follow sync with group actors/remote categories. I'm assuming the null id is related, but haven't figured out how to remove it yet (unfollow button just refreshes the page)
schrieb vor 24 Tagen zuletzt editiert vonGitHub - Arachnibot/nodebb-tag-to-category at dev
A starter kit for quickly creating NodeBB plugins. - GitHub - Arachnibot/nodebb-tag-to-category at dev
GitHub (github.com)
Yep! As above! You
-
GitHub - Arachnibot/nodebb-tag-to-category at dev
A starter kit for quickly creating NodeBB plugins. - GitHub - Arachnibot/nodebb-tag-to-category at dev
GitHub (github.com)
Yep! As above! You
schrieb vor 24 Tagen zuletzt editiert von@Arachnibot should note you need to manually install with npm link, and configure via editing the plugin initialization right now, but its technically functional.