Skip to:
Content
Pages
Categories
Search
Top
Bottom

Activities aren’t Custom Post Types?

  • @bryanbatcher

    Participant

    Hello, BuddyPress Community!

    I have the plugin DW Reactions installed (https://wordpress.org/plugins/dw-reactions). It doesn’t integrate with BuddyPress. Assuming BuddyPress “activities” were a custom post type, I thought integrating it myself would be no problem. Well, after some digging, I noticed that activities were stored in the database as their own type of object (am I using the term “object” correctly?) and not as custom post types. DW Reactions is written to work with post types. I imagine that’s why it doesn’t work with BuddyPress activities.

    Is there a way to make activities register as a custom post type? If that’s not possible, is there a quick fix to make a plugin reference activities instead of posts?

    Or, is there anyone reading this who is familiar with DW Reactions and might know how to fix this?

    Thanks in advance for any help. Here are my answers to the questions in on of the sticky posts, in case they’re needed.

    1. Which version of WordPress are you running? 4.5.2
    2. Did you install WordPress as a directory or subdomain install? directory
    3. If a directory install, is it in root or in a subdirectory? root
    4. Did you upgrade from a previous version of WordPress? If so, from which version? yes, 4.5.1
    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting. yes
    6. Which version of BP are you running? 2.5.3
    7. Did you upgraded from a previous version of BP? If so, from which version? no
    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones? yes, too many to list
    9. Are you using the standard WordPress theme or customized theme? custom, InspireBook v1.2.2
    10. Have you modified the core files in any way? no
    11. Do you have any custom functions in bp-custom.php? no
    12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in? n/a
    13. Please provide a list of any errors in your server’s log files. n/a
    14. Which company provides your hosting? GoDaddy
    15. Is your server running Windows, or if Linux; Apache, nginx or something else? Linux

Viewing 8 replies - 1 through 8 (of 8 total)
  • @danbp

    Participant

    Hi,

    lucky man, BP Reactions is out since a few days. Give it a try, this plugin awesome !
    https://wordpress.org/plugins/bp-reactions/

    @bryanbatcher

    Participant

    That’s a great plugin, but I want something like DW Reactions that mimics the Facebook reactions system.

    @danbp

    Participant

    @bryanbatcher

    Participant

    Thank you. That is a great resource. Reading through it, I don’t think I have enough php knowledge to make use of it.

    I think what I need to do is change the dw-reactions php file to support activities. I sort of know what is what in the php file, but I don’t know where to start to make it work.

    Here’s the php file. It’s the only php file in the plugin. Any advice would be appreciated.

    @bryanbatcher

    Participant

    The link isn’t there. I’ll repost it.

    DW Reactions

    @djpaul

    Keymaster

    Is there a way to make activities register as a custom post type? If that’s not possible, is there a quick fix to make a plugin reference activities instead of posts?

    Activities are not custom posts, nor are there any options in BuddyPress to let them do this. Either of these things would have to be custom development, and are probably harder than they may initially seem.

    @bryanbatcher

    Participant

    That’s what I was worried about. There are other plugins that use activities in the way I want this plugin to. BuddyPress Like and BP Reactions do. I can try to dig into those and see how they do it. Maybe I can find a way to make this work.

    @joulemax66

    Participant

    really a great plugin

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.
Skip to toolbar