Skip to:
Content
Pages
Categories
Search
Top
Bottom

  • About
  • News
  • Codex
  • Develop
  • Make
  • Forums
  • Download

BuddyPress.org


  • All Members
  • RSS
  • Profile picture of Owen Carver

    Owen Carver replied to the topic Create News Feed like Facebook in the forum How-to & Troubleshooting 6 years, 8 months ago

    BuddyPress does not have this as a default option in the activity feed settings?

  • Profile picture of Babak Fakhamzadeh

    Babak Fakhamzadeh replied to the topic How to attach custom activities to groups? in the forum Creating & Extending 6 years, 8 months ago

    I can call a custom template for my custom page like so:

    function my_new_group_show_screen_content() {
    echo bp_buffer_template_part( 'groups/group-custom', null, false );
    }

    Then, just for testing, on that template, I record a visit to that page as an activity, like so:

    $defaults = array(
    'user_id' => '1',
    'action' => 'A user just…
    [Read more]

  • 's profile was updated 6 years, 8 months ago

    @aokhoacs

    View Profile
  • Profile picture of Babak Fakhamzadeh

    Babak Fakhamzadeh replied to the topic How to attach custom activities to groups? in the forum Creating & Extending 6 years, 8 months ago

    A first step could be to add a custom tab on the groups pages. This works for that:

    This worked for me:

    function setup_group_nav(){
    global $bp;
    /* Add some group subnav items */
    $user_access = false;
    $group_link = '';
    if( bp_is_active('groups') && !empty($bp->groups->current_group) ){
    $group_link =…
    [Read more]

  • Profile picture of Babak Fakhamzadeh

    Babak Fakhamzadeh replied to the topic Add Custom Tab to Groups Directory in the forum Creating & Extending 6 years, 8 months ago

    I looked at the code for the plugin ‘Events Manager’, and managed to put together the following which worked for me:

    function setup_group_nav(){
    global $bp;
    /* Add some group subnav items */
    $user_access = false;
    $group_link = '';
    if( bp_is_active('groups') && !empty($bp->groups->current_group) ){
    $group_link =…
    [Read more]

  • Profile picture of Babak Fakhamzadeh

    Babak Fakhamzadeh replied to the topic Add Custom Tab to Groups Directory in the forum Creating & Extending 6 years, 8 months ago

    I also just discovered this 🙁

  • Profile picture of Dia chi mua my pham uy tin nhat o irocre

    Dia chi mua my pham uy tin nhat o irocre's profile was updated 6 years, 8 months ago

    Dia chi mua my pham uy tin nhat o irocre

    @hoangtan179

    View Profile
  • Profile picture of tin soi keo

    tin soi keo's profile was updated 6 years, 8 months ago

    tin soi keo

    @thaithinhsoikeo

    View Profile
  • Profile picture of Ashish Arora

    Ashish Arora's profile was updated 6 years, 8 months ago

    Ashish Arora

    @ashisharora9191

    View Profile
  • Profile picture of Ramkrishna Architects & Interior Designers

    Ramkrishna Architects & Interior Designers's profile was updated 6 years, 8 months ago

    Ramkrishna Architects & Interior Designers

    @rkarchitect

    View Profile
  • Profile picture of Roberta Diaze

    Roberta Diaze's profile was updated 6 years, 8 months ago

    Roberta Diaze

    @kefe

    View Profile
  • Profile picture of Hungvu Blog

    Hungvu Blog's profile was updated 6 years, 8 months ago

    Hungvu Blog

    @huwngvu499

    View Profile
  • Profile picture of Pha Thai An Toan Quan 10

    Pha Thai An Toan Quan 10's profile was updated 6 years, 8 months ago

    Pha Thai An Toan Quan 10

    @phathaiantoanquan10

    View Profile
  • Profile picture of S128

    S128's profile was updated 6 years, 8 months ago

    S128

    @s128resmi

    View Profile
  • Profile picture of Babak Fakhamzadeh

    Babak Fakhamzadeh started the topic How to attach custom activities to groups? in the forum Creating & Extending 6 years, 8 months ago

    I have a custom post type, my_cpt.
    I can make creations of posts of type my_cpt visible in activity feeds with this (in bp-custom.php):

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

    This does not make this type of activity available when creating a new activity. How can I make this happen, in the same way that I can select a group…[Read more]

  • Profile picture of Vikashpedia

    Vikashpedia's profile was updated 6 years, 8 months ago

    Vikashpedia

    @vikashpedia

    View Profile
  • Profile picture of smith roy

    smith roy's profile was updated 6 years, 8 months ago

    smith roy

    @airsicks3t

    View Profile
  • Profile picture of Eliza Bethe

    Eliza Bethe's profile was updated 6 years, 8 months ago

    Eliza Bethe

    @elizabethe

    View Profile
  • 's profile was updated 6 years, 8 months ago

    @daihocs

    View Profile
  • Profile picture of Michelle Hamlaoui

    Michelle Hamlaoui's profile was updated 6 years, 8 months ago

    Michelle Hamlaoui

    @fracks79

    View Profile
  • Load More

WordPress.org bbPress.org BuddyPress.org Matt Blog RSS

GPL Contact Us Privacy Terms of Service X

Skip to toolbar
    • WordPress.org
      • About WordPress
      • Documentation
      • Support Forums
      • Feedback
      • Developer Trac
      • Developer Blog
    • bbPress.org
      • About bbPress
      • Documentation
      • Support Forums
      • Feedback
      • Developer Trac
      • Developer Blog
    • BuddyPress.org
      • About BuddyPress
      • Documentation
      • Support Forums
      • Feedback
      • Developer Trac
      • Developer Blog
  • Log in
  • Anonymous
    • AnonymousNot Logged In
    • Register
    • Log In