Forum Replies Created
-
In reply to: Limit ALL activity streams to ONLY member updates
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' );In reply to: How to hide profile menu items from other usersThank you that works
In reply to: Get the current usernameFixed 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 ) ); } }In reply to: Get the current usernameYa 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!
In reply to: Get the current usernameWell this is in functions.php I dont think I can use a shortcode within a function
In reply to: Make admin friends with everyoneNo 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! 😀
In reply to: buddypress friend requests RESETI also want to know this
In reply to: Make admin friends with everyoneanyone?
In reply to: How to make a network of multiple domain namesI 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 😀
In reply to: How to make a network of multiple domain namesI 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?