Skip to:
Content
Pages
Categories
Search
Top
Bottom

Activity Feed “Whats New Box” for custom post type

  • Hi, I need your help in the following feature.

    I created a custom post type like “Company”. Now I want buddypresss Activity Feed “Whats New Box” for my custom company page. How can I make duplicate activity feedback for my company page?

    Thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)

  • shanebp
    Moderator

    @shanebp

    Unless you are a developer, it will not be easy.

    Copying the What’s New box will be difficult because of the javascript / ajax involved.

    It would be easier to just create a form and then, on submission, create a new activity item.

    Hi shanebp, When I calling bp_get_template_part( ‘activity/post-form’ ) on cutom page template (child theme). It is showing the following kind of error in console.
    TypeError: BP_Nouveau.activity is undefined

    I think this is due to I am calling activity post form out the BuddyPress plugin scope. I Appreciate your help.

    Thanks


    shanebp
    Moderator

    @shanebp

    Probably yes re scope – so the js is not being loaded.

    That’s why I suggested just a basic form submit and handle approach.

    Or you can take the time to puzzle thru the Nouveau scope.
    For example – do you need to create an instance of the basic class?

    \bp-templates\bp-nouveau\buddypress-functions.php
    Line 659: bp_nouveau(); 
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar