Forum Replies Created
-
So sorry I didn’t see your request for more help. I have my settings to be notified of any @mentions and replies to my forum posts but for some reason I did not receive any notification that you had replied. Not sure if it’s a problem with BuddyPress.org notifications or what.
Anyway, it’s probably too late and you hopefully found a solution already, but I’ll post this here just in case you or anyone else are still looking for a way to disable the random visit menu in the BuddyPress admin bar without disabling the admin bar itself.
Rather than explain the inadequate solution of changing #bp-adminbar-visitrandom-menu display to none in the stylesheet, let me give the function override solution instead:
In your theme’s footer.php file, right BEFORE it says “, add the following code:
`
<?php
if (!is_user_logged_in()) {
remove_action( ‘bp_adminbar_menus’, ‘bp_adminbar_random_menu’, 100 );
}
?>
`
That’s if you want the random visit menu to be removed only for users who are not logged in.If you want it to be removed for all users, whether or not they’re logged in, use this simpler code instead:
`
<?php
remove_action( ‘bp_adminbar_menus’, ‘bp_adminbar_random_menu’, 100 );
?>
`I see that the font for the code I just posted is not clearly legible in places. Please note that the remove_action line ends with a semi-colon ;
HTH
MarianI’ve sent you an email
MarianAh! hiding right in front of my bleary eyes!
Thanks, intimez
-Marian@en0ch, Where is the setting for hiding the admin bar from visitors who are not logged in?
In the meantime, the Visit portion of it can be hidden from display (although not from the source code) by adding
#bp-adminbar-visitrandom-menu { display: none; }
to the stylesheet.And you can give users the option of hiding as much as they want through the BuddyPress Profile Privacy plugin.
It seems to me, though, that hiding the username itself from Everyone kind of defeats the purpose of being part of an interactive community. I suspect it would only work if it was a site set up for people to connect through off-site invitations to interact on-site as Friends or Group members.
just some thoughts
MarianThe BuddyPress Profile Privacy plugin allows users to set the privacy level of each profile item.
Marian@wandilly, Did you get your problem resolved yet? If not, I’d be glad to help do detective work on it. I’d need a login though, so if you feel comfortable giving me access, you’d want to share that by private email. You can contact me at marian@heartwoodwebdesign.com.
Marian@billy1111a, Didn’t receive anything from you yet. Just wanted to let you know my offer still stands.
MarianI think what Ali means by “the member’s single profile” is simply the member’s own profile page. You can get there by clicking on their name in the Members Directory (/members/). But you should also be seeing an “Add Friend” button next to each name (except your own) in the Members Directory. Is that missing? In the default theme some of the greys are a bit pale so sometimes you might not notice a pale grey button over to the side, but it should be there.
MarianI’d be glad to help. Send me your theme files at marian@heartwoodwebdesign.com and I’ll tweak them for you.
MarianIs your original database intact but just associated with a different domain now? If so, maybe you just need to change the siteurl in the database itself by going into Cpanel > myPHPadmin > your wordpress database > wp_options table (or whatever prefix you gave it if you changed it from the default wp). The siteurl field is the first row. Changing it to the right siteurl should allow you to log in to the dashboard again.
Beyond that, I’m not sure what you’re asking, but if my suggestion isn’t too off-base, maybe you’ll know how to proceed from there.
MarianI’d be glad to help. You can send it to me at marian@heartwoodwebdesign.com
Marian