Forum Replies Created
-
Wow that worked thank you so much for your great help !
I think I may have found the navigation bar that has to do with users profiles location. Called
home.php
, in it I see some lines like :<?php do_action( 'bp_before_member_body' ); elseif ( bp_is_user_friends() ) : locate_template( array( 'members/single/friends.php' ), true ) elseif ( bp_is_user_forums() ) : locate_template( array( 'members/single/forums.php' ), true );
So I see the tags “friends” and “forums”. I assume I have to make an If/else statement.
1.) I guess an example code of what I need help with would be
if ( is_user_logged_in() ) { // SHOW FRIENDS TAB AND FOURMS TAB <?php } else { ?> // SHOW NO FRIENDS TAB, SHOW NO FOURMS TAB <?php } ?>
2.) And Would I place the If/Else statement you help me with in the home.php file or my child theme functions file?
Forget answering the above questions , I figured it out thank you for helping me 🙂
@hnla ,
1.) Thank you the above worked, but regarding having the current selected item remain highlighted I tried this
.groups.single-item #object-nav ul .current
, But it did not work? any recommendations?.2.) What about for someones personal account?
.my-account #object-nav
is again only temporary and the styles leave when a new tab is clicked.— Thank you for your help
And if I wanted to get rid of the “whats new form” Is the best way to do it like this
form#whats-new-form { display: none; }
Or is it not recommended like that ?
Wow thank you it worked
Yep ok ill ask there but hopefully there is a function for this so I can go around core files. is the activity stream also done by them or is this question in the right spot to : https://buddypress.org/support/topic/how-to-change-the-number-of-activity-items-on-a-profile-page/ ?
-Thank you