Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Tech
  3. NodeBB v4.0.0 - Categories not following group actors

NodeBB v4.0.0 - Categories not following group actors

Scheduled Pinned Locked Moved Tech
21 Posts 4 Posters 202 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • arachnibot@nodebb.arachnibot.comA This user is from outside of this forum
    arachnibot@nodebb.arachnibot.comA This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #11

    @[email protected] 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 @[email protected]

    projectmoonP 1 Reply Last reply
    0
    • arachnibot@nodebb.arachnibot.comA [email protected]

      @[email protected] 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 @[email protected]

      projectmoonP Offline
      projectmoonP Offline
      projectmoon
      wrote on last edited by
      #12

      @[email protected] said in NodeBB v4.0.0 - Categories not following group actors:

      @[email protected] 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 @[email protected]

      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.

      arachnibot@nodebb.arachnibot.comA 1 Reply Last reply
      1
      • projectmoonP projectmoon

        @[email protected] said in NodeBB v4.0.0 - Categories not following group actors:

        @[email protected] 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 @[email protected]

        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.

        arachnibot@nodebb.arachnibot.comA This user is from outside of this forum
        arachnibot@nodebb.arachnibot.comA This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #13

        @[email protected] 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?

        projectmoonP 1 Reply Last reply
        0
        • arachnibot@nodebb.arachnibot.comA [email protected]

          @[email protected] 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?

          projectmoonP Offline
          projectmoonP Offline
          projectmoon
          wrote on last edited by
          #14

          @[email protected] Only one way to find out!

          1 Reply Last reply
          0
          • julian@community.nodebb.orgJ This user is from outside of this forum
            julian@community.nodebb.orgJ This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #15

            @[email protected] for Lemmy? No, not anymore.

            A future version of Lemmy will remove audience. You'll have to dereference the addressing fields (to, cc).

            cc @[email protected]

            1 Reply Last reply
            0
            • arachnibot@nodebb.arachnibot.comA This user is from outside of this forum
              arachnibot@nodebb.arachnibot.comA This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #16

              Got it! I just noticed something similar, so thanks for the confirmation!

              1 Reply Last reply
              0
              • arachnibot@nodebb.arachnibot.comA This user is from outside of this forum
                arachnibot@nodebb.arachnibot.comA This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #17

                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.

                https://github.com/Arachnibot/nodebb-tag-to-category/tree/dev

                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!

                1 Reply Last reply
                0
                • julian@community.nodebb.orgJ This user is from outside of this forum
                  julian@community.nodebb.orgJ This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #18

                  @[email protected] 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.

                  1 Reply Last reply
                  0
                  • arachnibot@nodebb.arachnibot.comA This user is from outside of this forum
                    arachnibot@nodebb.arachnibot.comA This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #19

                    @[email protected] 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

                    projectmoonP 1 Reply Last reply
                    0
                    • arachnibot@nodebb.arachnibot.comA [email protected]

                      @[email protected] 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

                      projectmoonP Offline
                      projectmoonP Offline
                      projectmoon
                      wrote on last edited by
                      #20

                      @[email protected] said in NodeBB v4.0.0 - Categories not following group actors:

                      @[email protected] 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?

                      arachnibot@nodebb.arachnibot.comA 1 Reply Last reply
                      1
                      • System shared this topic on
                      • projectmoonP projectmoon

                        @[email protected] said in NodeBB v4.0.0 - Categories not following group actors:

                        @[email protected] 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?

                        arachnibot@nodebb.arachnibot.comA This user is from outside of this forum
                        arachnibot@nodebb.arachnibot.comA This user is from outside of this forum
                        [email protected]
                        wrote on last edited by
                        #21

                        @[email protected]

                        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

                        https://github.com/Arachnibot/nodebb-tag-to-category/tree/dev

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups