Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: “My Favorites” Plugin


r-a-y
Keymaster

@r-a-y

@slaffik – Hmm… make sure you’re using the latest code as the older ones I posted on Pastebin did not hook into the right action.

Also double check the wp_bp_activity table and make sure for the “new_blog_post” type that the item_id is the blog ID and the secondary_item_id is the post ID on the blog.

One thing that you pointed out to me is I need to add some type of check to see if the activity ID exists for the blog post in question, if it does, then output the favorite button, if doesn’t, it should output nothing.

Skip to toolbar