BuddyDev

Search

Current feed of ALL topics posted

  • Participant
    Level: Enlightened
    Posts: 57
    shelley parker on #13318

    Can there be somewhere a user clicks where they see a feed of ALL topics posted regardless of what group it came from. My client wants people to be able to log in to my site, and see a feed of ALL conversations, regardless of what group they were posted in.

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #13323

    Hi Shelley,
    There are multiple possibilities.

    1. Sitewide activity page:- It lists all activities including all groups

    2. Using our BuddyPress activity shortcode plugin like [activity-stream object=groups]

    Let me know which approach suits you better.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 57
    shelley parker on #13326

    I like them both. May I have info on both? I’ll probably use the sitewide activity page in one place and maybe the shortcode in another. Cool! I’m excited thank you:-)

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #13329

    Hi Shelley,
    The site wide activity page is the main page for your activities when you have BuddyPress Activity Component enabled.

    You can see it by visiting Dashboard->Settings->BuddyPress and clicking on the pages tab. There you will see a link for it.

    For the activity stream usage, please see it
    https://wordpress.org/plugins/bp-activity-shortcode/

    Hope that helps.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 57
    shelley parker on #13401

    Dashboard->Settings->BuddyPress > Pages tab > Activity Streams = Activity

    I think I already have the activities page enable. What I want is the following:

    When a user logs in, currently they are re-directed to the homepage. Instead of going back to the homepage I want the activity page to open. How? Thanks!

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #13409

    Hi Shelley,
    You can put the following code in bp-custom.php

    
    /**
     * Redirect to activity page on login.
     */
    function buddydev_redirect_to_activity_dir() {
    	if ( ! function_exists( 'bp_is_active' ) || ! bp_is_active( 'activity' ) ) {
    		return ;
    	}
    
    	bp_core_redirect( bp_get_activity_directory_permalink() );
    }
    add_action( 'wp_login', 'buddydev_redirect_to_activity_dir' );
    
    

    That will redirect it for you.

    Thank you
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved