Forum Replies Created
-
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' );
Thank you that works
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 ) ); } }
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!
Well this is in functions.php I dont think I can use a shortcode within a function
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! 😀
I also want to know this
anyone?
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 😀
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?