Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding an event should behave like adding a post for BuddyPress Activity #1

Open
1 task done
patriciabt opened this issue Jul 29, 2024 · 2 comments
Open
1 task done
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@patriciabt
Copy link

Is your enhancement related to a problem? Please describe.

When we add a post in a site which has BuddyPress activated, an entry goes into that person's Activity. Same when we comment on that post.

It should be then same when we add an event on GatherPress, or add a comment to an event, so GatherPress would be compatible with BuddyPress. It should look for the BuddyPress settings about posts and comments (see capture) and behave the same.

It will be essential for the .org integration so adding events are listed on our user profiles.
And maybe the same when someone is added as a speaker for a specific event, once we have that feature.

I have no idea how it works and will leave that to developers :D

Designs

Here are the BuddyPress settings and the resulting Activity entry (with my post called "Adding a post goes to Activity" :)

image

image

Describe alternatives you've considered

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@patriciabt patriciabt added the enhancement New feature or request label Jul 29, 2024
@carstingaxion
Copy link

I never worked with BuddyPress, but made a fast search and would say, the docs are understandable and clear on how to add custom activities. That should be easy to implement for GatherPress.

https://codex.buddypress.org/plugindev/post-types-activities/

Not, that I want to immediately start working on this, but I would suggest a separate plugin a la gatherpress-with-buddypress to bundle all code relevant to that plugin. This makes it reusable for people outside of dotorg and should be also easy to combine into a specific gatherpress-dotorg-compatibility plugin later on for our use-case.

@carstingaxion carstingaxion added the good first issue Good for newcomers label Aug 14, 2024
@carstingaxion
Copy link

Try this as a starting-point in wp-content/mu-plugins:

<?php
/*
Plugin Name: Buddypress & GatherPress
Description: Integrate into Post Types Activities
*/

add_post_type_support( 'gatherpress_event', 'buddypress-activity' );

@carstingaxion carstingaxion transferred this issue from GatherPress/gatherpress Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants