Skip to:
Content

Opened 7 months ago

Closed 7 months ago

#7643 closed defect (bug) (invalid)

I want to favorite and Remove from favorite button hooks or some guidence.

Reported by: sumic210 Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.9.2
Component: Core Keywords:
Cc:

Description

Hello ,
I am using new version of buddy-press. I am first time user to this. I want to implement hook or any of guidance to do click event and get activity(post data) and show it to activity page. Below is my actual requirement,
When i am click on "Favorite" button then all the post which was previously mark by other user as a favorite will be show (kind of filtration) and when i am click to remove from favorite button then the post which was not favorite of any of the user will be shown.

I want that both button same time to my page. That will work kind of "Like" And "Dislike" Button. And filtration will be based on their like and dislike post.

Apart from this i have setup images for button rather then the text but when i have add images that will redirect the full page , when i have added the text that will perform ajax if i add images that will redirect.

can you please give me solution for this.

Change History (1)

#1 @boonebgorges
7 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Hi @sumic210 - Thanks for your interest in BuddyPress.

The site you're currently on is meant for tracking bugs and improvements in the BuddyPress software itself. It's not a good forum for asking questions about how to build custom tools. For this sort of question, please try https://buddypress.org/support.

To learn more about how BuddyPress activity queries work, see the documentation for bp_has_activities() https://buddypress.trac.wordpress.org/browser/tags/2.9.2/src/bp-activity/bp-activity-template.php#L100. Your other questions appear to be more general questions about how building a web application, and you might be able to get some help for them on the buddypress.org forums.

Good luck with your project.

Note: See TracTickets for help on using tickets.