• Ace

    (@h4hagency)


    Hello Matthias,

    Thank you for creating this plugin! It opens up so many doors!

    I have an edge use-case – but it might actually become common.
    I’m using Voxel – which is an incredible directory builder, that now competes with BuddyPress/Boss with it’s Timeline feature.

    Every Author can have Listings – of any type, which is just CPTs. Any CPT, even standard blog posts, can have a Timeline. Timeline posts are a uniquely registered post that has it’s own table. Just like BuddyPress’s activity stream – however, it’s not just related to the Author, but also the CPT it’s related to.

    I’m wondering if /theoretically/ it would be possible, in an ActivityPub WP fork, to register CPTs as the “Author”/Actor, and the Timeline posts in Voxel’s table as the Notes, and subsequently the comments and likes.

    Here are the columns of each Timeline Post entry, which I believe could be transformed into the activitypub protocol:

    “user_id” the WP user ID who posted it
    “post_id” which is the ID of the WP post it is associated with – this would become the Actor
    “content” which contains the description
    “details” which store attachment IDs e.g {“files”:”452,299,297″}
    “created_at”
    “edited_at”

    And the post ID is within that table.

    Comments and likes are then in their own tables.

    Here’s the timeline in action: https://getvoxel.io/questions/access-to-timeline-posts-as-cpt/

    I just want to know if this is in theory possible, or not at all and the actor, and webfinger, MUST be mapped only to the User_ID in WP?

    • This topic was modified 9 months, 4 weeks ago by Ace.
Viewing 1 replies (of 1 total)
  • Thread Starter Ace

    (@h4hagency)

    Basically – if I were to fork this plugin

    1. would it theoretically be possible to set an activity from a custom db table that’s not wp_posts
    2. Would it be possible to set Actor ID as a CPT instead of author?

    Thanks a lot in advance – if this is at all possible, I’d like to dive further into working on this, as it opens up a lot more opportunities, even federating Buddypress Activity Streams.

Viewing 1 replies (of 1 total)
  • The topic ‘Edge Use-Case’ is closed to new replies.