Search Results for 'change buddypress menu'
-
Search Results
-
(Next to “Members”, “Blogs”, etc).
I’ve added my page via header.php copying code from one of the other links:
<li<?php if ( bp_is_page( BP_HOME_BLOG_SLUG ) ) : ?> class="selected"<?php endif; ?>><a href="<?php echo get_option('home') ?>/<?php echo BP_HOME_BLOG_SLUG ?>" title="<?php _e( 'Blog', 'buddypress' ) ?>"><?php _e( 'News', 'buddypress' ) ?></a></li>Here is what I added:
<li<?php if ( bp_is_page( contact-us ) ) : ?> class="selected"<?php endif; ?>><a href="http://mysite.com/v2/contact-us/" title="<?php _e( 'Contact us', 'buddypress' ) ?>"><?php _e( 'Contact us', 'buddypress' ) ?></a></li>But no matter what page I am on, the “Contact us” page is highlighted. How do I change the “is is page” so that it’s only marked as selected if actually on the “contact us” page?
As you can see… Ive changed the slug in my code, but I’ve probably done it wrong.
Anyone know how to do it?
I’m totally a newbie.
I have a working buddypress/WP installation, I’m still working to get in the new mentality required to understand some processes.
I have some questions:
– what is Disable BuddyPress to WordPress profile syncing for?
– I’m still trying to understand the blog philosophy of WP. It seems like that buddy press is a sort of social oriented blogs container. In this container the users could create a blog. I disabled the blog creation feature for the normal user and I have created just two blogs, now I have some trouble to understand:
— once a new user is registered, is it registered to buddy press, to WP or to the single blog? It looks like it’s registered to buddy press, but a WP profile is created too, why?
— it looks like the first created blog works as “main blog” , in fact, the header line title appears to be the name of the first created blog. If I switch to another blog, the header title won’t change. Is this meant to be? Anyway this feature doesn’t bother me, the only problem I’m having is that I’d like instead to customize the top-right tab menu, since I don’t want “Groups” and “Members” appears for the secondary blog.
— on the secondary blog, while the “Recent Posts” widget works nicely, if I click on the “Blog” tab, the site will show me “The page you were looking for was not found.” Is it because the user is not a subscriber of the blog?
–if this is the reason, how can I make a new user subscriber of both the blogs once registered? Another solution could be let the blog to be read even by not subscribers.
– Is there a way to let the group be created only by the admin? If yes, can you show me how?
– Is there somewhere an help page where I could have found the answer to my questions?
Thank you for your really appreciated help!
DJ Paul requested I start a topic on this so here we go.
On my fresh Single WP 2.9.1 install I checked out revision 2274 and activated BP. Everything appears to be OK except I don’t have a BuddyPress menu in the WP admin area.
I looked in the code and it appears that is_site_admin() is failing. Looking at is_site_admin() in bp-core/bp-core-wpabstraction.php, I see that it uses get_currentuserinfo(). A little googling and it appears that this function is problematic in 2.9 because of where it is defined (in /wp-includes/pluggable.php). Maybe an initialization order changed?
Anyhoo, just now I simply replaced the content of is_site_admin() with
return is_admin()and it now shows the BuddyPress admin menu.Unfortunately, the fix isn’t this simple as get_currentuserinfo() is used a whole lot.
Just upgraded to latest BP, I’m going with the old /bp-themes/ format until I have more time to port over to the new parent/child theme setup.
For those of you still using the deprecated theme setup, you might run into an issue with the group avatar settings.
Here’s what I did to fix it:
1) Change the form action in /bp-themes/YOUR THEME/groups/admin/group-avatar.php to:
<form action="<?php bp_group_admin_form_action() ?>" name="group-settings-form" id="group-settings-form" class="standard-form" method="post" enctype="multipart/form-data">2) Select everything between the <form> tag and copy and paste the following:
<?php /* Group Avatar Settings */ ?>
<?php if ( bp_is_group_admin_screen( 'group-avatar' ) ) : ?>
<h2><?php _e( 'Group Avatar', 'buddypress' ); ?></h2>
<div class="left-menu">
<?php bp_group_avatar( 'type=full' ) ?>
<?php if ( bp_get_group_has_avatar() ) : ?>
<div class="generic-button" id="delete-group-avatar-button">
<a class="edit" href="<?php bp_group_avatar_delete_link() ?>" title="<?php _e( 'Delete Avatar', 'buddypress' ) ?>"><?php _e( 'Delete Avatar', 'buddypress' ) ?></a>
</div>
<?php endif; ?>
</div>
<div class="main-column">
<?php if ( 'upload-image' == bp_get_avatar_admin_step() ) : ?>
<p><?php _e("Upload an image to use as an avatar for this group. The image will be shown on the main group page, and in search results.", 'buddypress') ?></p>
<p>
<input type="file" name="file" id="file" />
<input type="submit" name="upload" id="upload" value="<?php _e( 'Upload Image', 'buddypress' ) ?>" />
<input type="hidden" name="action" id="action" value="bp_avatar_upload" />
</p>
<?php wp_nonce_field( 'bp_avatar_upload' ) ?>
<?php endif; ?>
<?php if ( 'crop-image' == bp_get_avatar_admin_step() ) : ?>
<h3><?php _e( 'Crop Avatar', 'buddypress' ) ?></h3>
<img src="<?php bp_avatar_to_crop() ?>" id="avatar-to-crop" class="avatar" alt="<?php _e( 'Avatar to crop', 'buddypress' ) ?>" />
<div id="avatar-crop-pane">
<img src="<?php bp_avatar_to_crop() ?>" id="avatar-crop-preview" class="avatar" alt="<?php _e( 'Avatar preview', 'buddypress' ) ?>" />
</div>
<input type="submit" name="avatar-crop-submit" id="avatar-crop-submit" value="<?php _e( 'Crop Image', 'buddypress' ) ?>" />
<input type="hidden" name="image_src" id="image_src" value="<?php bp_avatar_to_crop_src() ?>" />
<input type="hidden" id="x" name="x" />
<input type="hidden" id="y" name="y" />
<input type="hidden" id="w" name="w" />
<input type="hidden" id="h" name="h" />
<?php wp_nonce_field( 'bp_avatar_cropstore' ) ?>
<?php endif; ?>
</div>
<?php endif; ?>Hope this helps the few who are going to be using the old theme format for a bit!
Per this original thread: http://buddypress.org/forums/topic/navigation-buttons-where-are-they#post-5165
I would like to change the name on the basic components of BuddyPress. Notably, I would like to change Groups (which have all the behaviors I’m looking for) into ‘something else’.
The post referenced above says “If you are simply looking for where you can change the text of the menu buttons “Home”, “Blog”, “Members”, “Groups”, “Blogs”, then it is found in the header.php file of both the home and member themes.”
Here is my header.php from wp-content/themes/home and I see nothing in it about groups. Judging by the simplicity of the instruction above, I must be missing something fundamental – like what/where I should be looking

Many thanks!
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<style type="text/css" media="screen">
#page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgwide.jpg") repeat-y top; border: none; }
</style>
<?php wp_head(); ?>
</head>
<body>
<div id="page">
<div id="header">
<div id="headerimg">
<h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
<div class="description"><?php bloginfo('description'); ?></div>
</div>
</div>
<hr />Topic: Widgets Intro
The type of website I want to create is almost like wordpress webpages I created in the past except that I want the users to be able to send messages back and forth, have a more substantial profile, forums built in etc, so I am trying out buddypress. But what I am confused on is….
is there a way to force all users to view the Admin’s blog on going to the website? I don’t really want the users to create their own blogs per se.. I can’t seem to see a widget in the default list that is just like BLOG, I find that really weird. Also where do you change the menu items where its like
HOME BLOG MEMBERS GROUPS FORUMS BLOGS
I obviously want HOME to be the BLOG, and BLOGS not to exist because i would like users to have their profile and their ‘wall’ but not an entire BLOG. Make sense?
and after that question how do I set up the forums?
Hi!
I just installed BuddyPress 1.1.2 and activated the forum component (not having previously installed BBpress), and it says:
bbPress forum integration in BuddyPress has been set up correctly. If you are having problems you can re-install
—
But I cant see anywhere an admin menu in dashboard to manage or create forums, none for change settings… no “Forums” button in the front end like here at buddypress.org…
Please, can someone light my newbie way?
Topic: Google maps for xprofile
Hi, I started to write a plugin for saving and displaying maps (from Google maps) on a user profile, based upon the value of some xprofile fields.
I made it under BP1.0.3. (Seems that there are problems with BP1.1 ?)
It is build on the top of the “mappress-google-maps-for-wordpress” plugin, so you have to install it too to make this work.
First, you have to define in the mapPress admin page (bp-mapPress options are in there) some informations for bp-mapPress :
-the profile group where the map will be loaded
-the fields that will be used (ex. street + city + country) to search the location
-some other minor stuff.
Then, you can add a marker with a location in your profile.
The map will be displayed on your profile too.
!!!
It’s an (very) early work but you can try it here; if you would like to see it.
Just wondering what you think of after 2 days of work.
I made some minor changes in the original mappress plugin (added the filters return ‘mappress_has_maps’, ‘load_map_args’ and ‘mappress_save_options’) : So I included my modded version in this zip so you can try it.
I contacted the author of the plugin to see if he could add them in his code.
He told me that he will soon release a new version so i’ll wait until that to continue the developpement…
As you will see; there are bugs and it doen’t display very properly, but with some css and jquery it must be possible…
If I continue working on this; I would like to add those features :
-add a group submenu to list group members on a single map;
-add a page where are listed all the members of the buddyPress
-define “Get directions” to make the startpoint your own saved map

Enjoy !
Many people have been inquiring about privacy options in BuddyPress. Some of you are aware that I am currently coding a Privacy Component for BuddyPress. I decided that it is time to fill the community in on my component, providing more details and a timeline.
My Privacy Component will be entering a private alpha early next week. After the alpha phase is complete, it will then be available as a public Beta. If it goes well, and Andy likes it, it may be included in the BP core for version 1.2. If you look at the BP roadmap, you will see that that is when privacy filtering is scheduled to be included in core.
In this screen capture of one of the privacy setting screens, you can see that there are actually six user classification filters that can be chosen for each BP object. The sixth option, “Relationship Mapped”, is made available by a separate plugin which I’ll be releasing later. The default Privacy Component will offer five levels.
My current estimated release date for the first public beta is the week of October 5. This date may change depending on the feedback from the alpha phase.
More Details
This is taken from the Privacy Component’s current readme.txt file:
BPAz is a privacy control component for BuddyPress that provides a site’s users a mechanism with which to control who has access to which pieces of their personal data.
== Description ==
The BuddyPress Authorization component (also referred to as BPAz, BP-Authz, or BuddyPress Privacy Component) is a BuddyPress component that allows users fine, granular control over who has access to which pieces of their personal data. It provides this service by hooking into BuddyPress’ core functionality, thereby giving users the ability to control (grant or deny) access to each piece, or grouping of, their personal data.
The term “auth” is often used interchangeably for authentication or authorization. There is significant difference in meaning between them. Authentication is not authorization. Authorization is not authentication. Authentication must come before authorization. Authentication is handled by WPMU, initially by the registration process and subsequently by the login script. Authorization deals with verifying and managing the access rights a given authenticated user has to certain objects.
Because of this confusion, the process of authentication is now often referred to as A1, or AuthN, or simply Au. The process of authorization is now often referred to as A2, or AuthZ, or simply Az. Since authentication must come before authorization, the A1-A2 ordinality of the terms is evident. This also explains the alternate names BPAz and BP-Authz.
BPAz deals with authorization by verifying and managing access rights an authenticated user has to other’s objects–although a user may choose to expose their data to non-logged in users as well.
The core BuddyPress objects on which rights can be set:
- xprofile fields
- activity stream actions
- friends list
- groups list
- messaging
- blogs
- wire
- status updates
The basic access levels configurable per object (some objects offer only a subset of these rights):
- allow/deny anyone (globally public or globally private). This is accomplished by setting an object’s viewing rights to either “All Users” or “Only Me”
- allow only “Logged in Users” to view a given object
- allow only friends to view a given object
- allow only a specific list of users to view a given object. This is also called per user access control. This is accomplished by setting an object’s viewing rights to “These Users Only” and then entering a comma-separated list of usernames (a member’s login name) in a textbox that becomes visible.
NOTE: Per relationship-type access control is possible if you use my BuddyPress Relationship Mapping plugin. For instance, allow by friend, colleague, partner, client, customer, fan, etcetera.
Site Administration of BuddyPress User Privacy Tools
Site administrators have ultimate control and oversight over the configuration of BPAz’s features and functionality via an additional administration panel under the BuddyPress menu hierarchy. The BuddyPress Privacy Component is enabled by default for all object groupings. However, Site Administrators can disable user-configurable sitewide privacy, or even individual privacy control objects, by using the Privacy Settings administration panel. As the Site Administrator, you will always be able to see each user’s complete content. Users do not have any options to hide content from Site Administrators.