Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • iwishiknew
    Participant

    @iwishiknew

    I figured it out. This will help everyone who has this question:

    function omni_filter_activity( $retval ) {
        $retval['action'] = 'activity_update'; // change scope per action
        return $retval;
    } add_filter( 'bp_after_has_activities_parse_args', 'omni_filter_activity' );

    iwishiknew
    Participant

    @iwishiknew

    Thank you that works


    iwishiknew
    Participant

    @iwishiknew

    Fixed it by changing it to this:

    function bp_template_content_sub_function() {
        if ( is_user_logged_in() ) {
            //Add shortcode to display content in sub tab
    		if ( bp_loggedin_user_domain() . '/mystocks/activity/' )
    		{
    		echo do_shortcode('[user-activity]');}
        } else {
            wp_login_form( array( 'echo' => true ) );
        }
    }

    iwishiknew
    Participant

    @iwishiknew

    Ya I cant that doesnt work. Basically just trying to say something like if you are on this url, echo the shortcode. But it only works when I hardcode the url like /members/lolno1/mystocks/activity/ but that doesnt account for if its a different user logged in

    thanks for any help!


    iwishiknew
    Participant

    @iwishiknew

    Well this is in functions.php I dont think I can use a shortcode within a function


    iwishiknew
    Participant

    @iwishiknew

    No I mean I already have a bunch of users, but they arent my friends. I can use this plugin for new users, but what about all the ones that are already users but arent admins friends? Can I edit the database or something?

    Thanks in advance! 😀


    iwishiknew
    Participant

    @iwishiknew

    I also want to know this


    iwishiknew
    Participant

    @iwishiknew

    anyone?


    iwishiknew
    Participant

    @iwishiknew

    I think it’s this: https://premium.wpmudev.org/project/multisite-content-copier/

    Not really what I’m looking for though…

    Maybe its impossible :C

    Thanks for the help btw 😀


    iwishiknew
    Participant

    @iwishiknew

    I dont want subdirectories or subdomains… I want completely different domains.

    Is it possible to use those for completely different domains? ie domain1.com, domain2.com, domain3.com?

Viewing 10 replies - 1 through 10 (of 10 total)
Skip to toolbar