Can you post your full <ul id=”header”>?
I have a feeling something is messing up there.
—
Actually you know what?
Use the default header from the original bpmember theme… and see if you get any weird bugs.
<ul id="header">
<li<?php if ( bp_is_page( 'home' ) ) {?> class="selected"<?php } ?>><a href="<?php echo get_option('home') ?>" title="<?php _e( 'Home', 'buddypress' ) ?>"><?php _e( 'Home', 'buddypress' ) ?></a></li>
<li<?php if ( bp_is_page( BP_HOME_BLOG_SLUG ) ) {?> class="selected"<?php } ?>><a href="<?php bp_home_blog_url() ?>" title="<?php _e( 'Blog', 'buddypress' ) ?>"><?php _e( 'Blog', 'buddypress' ) ?></a></li>
<li<?php if ( bp_is_page( BP_MEMBERS_SLUG ) ) {?> class="selected"<?php } ?>><a href="<?php echo get_option('home') ?>/<?php echo BP_MEMBERS_SLUG ?>" title="<?php _e( 'Members', 'buddypress' ) ?>"><?php _e( 'Members', 'buddypress' ) ?></a></li>
<?php if ( function_exists( 'groups_install' ) ) { ?>
<li<?php if ( bp_is_page( BP_GROUPS_SLUG ) ) {?> class="selected"<?php } ?>><a href="<?php echo get_option('home') ?>/<?php echo BP_GROUPS_SLUG ?>" title="<?php _e( 'Groups', 'buddypress' ) ?>"><?php _e( 'Groups', 'buddypress' ) ?></a></li>
<?php } ?>
<?php if ( function_exists( 'bp_blogs_install' ) ) { ?>
<li<?php if ( bp_is_page( BP_BLOGS_SLUG ) ) {?> class="selected"<?php } ?>><a href="<?php echo get_option('home') ?>/<?php echo BP_BLOGS_SLUG ?>" title="<?php _e( 'Blogs', 'buddypress' ) ?>"><?php _e( 'Blogs', 'buddypress' ) ?></a></li>
<?php } ?>
<?php do_action( 'bp_nav_items' ); ?>
</ul>
One other bug I encountered when using the BuddyBar was the second-level menus weren’t popping out in bbPress.
I found out that the problem is due to some CSS rules overriding one another.
In /plugins/buddypress/bp-core/css/admin-bar.css, move line 177 under
#wp-admin-bar ul li:hover ul ul, #wp-admin-bar li.sfhover ul li ul {
left: -999em !important;
}
So your admin-bar CSS from line 171 should look like:
/* third-and-above-level lists */
#wp-admin-bar ul li ul ul {
margin: -28px 0 0 183px !important;
}
#wp-admin-bar ul li:hover ul, #wp-admin-bar ul li li:hover ul, #wp-admin-bar ul li.sfhover ul, #wp-admin-bar ul li ul li.sfhover ul { /* lists nested under hovered list items */
left: auto !important;
}
#wp-admin-bar ul li.align-right:hover ul {
right: 0 !important;
}
#wp-admin-bar ul li:hover ul ul, #wp-admin-bar li.sfhover ul li ul {
left: -999em !important;
}
#wp-admin-bar ul li:hover ul, #wp-admin-bar ul li li:hover ul, #wp-admin-bar ul li.sfhover ul, #wp-admin-bar ul li ul li.sfhover ul { /* lists nested under hovered list items */
left: auto !important;
}
... and the rest of it here
That was the case for me anyway! If you’re using a custom admin-bar CSS, make sure you make the change as well.
What i did was go into the header.php file for the bp-home theme, and edited what was within the <ul id=”header”> tag. For example, this is what I have for the Games page I created through the Dashboard: <li<?php if ( bp_is_page( games ) ) {?> class="selected"<?php } ?>><a href="<?php echo get_option('home') ?>/<?php echo games ?>" title="<?php _e( 'Games', 'buddypress' ) ?>"><?php _e( 'Games', 'buddypress' ) ?></a></li>. The only differences are those I felt were relative to the new page.such as where it says bp_is_page, I put games into the perenthesis instead of what was there before.
Im trying to match group names to a predefined list so that I may only output the groups which match the list.
I’ve tried this
<div id="localphone">
<?php if ( bp_has_site_groups() ) : ?>
<div class="pag-count" id="group-dir-count">
<?php bp_site_groups_pagination_count() ?>
</div>
<div class="pagination-links" id="group-dir-pag">
<?php bp_site_groups_pagination_links() ?>
</div>
<?php while ( bp_site_groups() ) : bp_the_site_group(); ?>
<?php $localNetwork = bp_the_site_group_name() ?>;
<?php if ($localPhone== Brighton || $localPhone==Test Group)
<dl>
<dt><a href="http://business-chamber.com/featured-<?php bp_the_site_group_name() ?>/" title=""><?php bp_the_site_group_avatar_thumb() ?></a></dt>
<dd><?php bp_the_site_group_name() ?></dd>
</dl>
<?php }
else {
echo
}
?>
<?php endif; ?>
<?php endwhile; ?>
<?php else: ?>
<div id="message" class="info">
<p><?php _e( 'There were no groups found.', 'buddypress' ) ?></p>
</div>
<?php endif; ?>
Can anyone shed any light on why that won’t work. Its basically I’ve got a list of 50 or so that I want shown and then to pull in the name of each and the gravatar. I’m trying to do this in the bphome theme by the way, in a custom page.
Cheers in advance for any help!!!.
Well if you need the code…. does this help
function bp_search_form_type_select() {
// Eventually this won't be needed and a page will be built to integrate all search results.
$selection_box = '<select name="search-which" id="search-which" >';
if ( function_exists( 'bp_blogs_install' ) ) {
$selection_box .= '<option value="">' . __( 'Games', 'buddypress' ) . '</option>';
}
if ( function_exists( 'groups_install' ) ) {
$selection_box .= '<option value="groups">' . __( 'Groups', 'buddypress' ) . '</option>';
}
if ( function_exists( 'xprofile_install' ) ) {
$selection_box .= '<option value="members">' . __( 'Members', 'buddypress' ) . '</option>';
}
$selection_box .= '</select>';
return apply_filters( 'bp_search_form_type_select', $selection_box );
}
function bp_search_form() {
$form = '
<form action="' . bp_search_form_action() . '" method="post" id="search-form">
<input type="text" id="search-terms" name="search-terms" value="" />
' . bp_search_form_type_select() . '
<input type="submit" name="search-submit" id="search-submit" value="' . __( 'Search', 'buddypress' ) . '" />
' . wp_nonce_field( 'bp_search_form' ) . '
</form>
';
echo apply_filters( 'bp_search_form', $form );
}
When you first download buddypress there is a search bar at the top of the screen that holds a search for members, groups, blogs, how can i change the search blogs option to search posts on website?
3125432Inactive
Andy,
Thanks for the reply.
Wanted to make note of one other strange behaviour. To safeguard our members’ privacy (gay and lesbian sports site), all our members appear in Buddypress and in our website with only their login name. The external plugin member script passed the login name as the “Full Name” to avoid the breach of privacy.
Now the strange twist: any login name click from the member directory or even the home page that is actually two words, say ‘VW Bug’ with no underscore inbetween returns to the home page and not to the user’s profile. All one word logins, or logins with underscores inbetween, or logins with d.x.batman return the user’s profile.
Very strange.
Thanks,
Brian
I think I’ve got it.
Do you have the same functions.php in your “buddypress-home” theme?
This is the code that does the magic:
function bp_show_home_blog() {
global $bp, $query_string;
if ( $bp->current_component == BP_HOME_BLOG_SLUG ) {
$pos = strpos( $query_string, 'pagename=' . BP_HOME_BLOG_SLUG );
if ( $pos !== false )
$query_string = preg_replace( '/pagename=' . BP_HOME_BLOG_SLUG . '/', '', $query_string );
query_posts($query_string);
if ( is_single() )
bp_core_load_template( 'single', true );
else if ( is_category() || is_search() || is_day() || is_month() || is_year() )
bp_core_load_template( 'archive', true );
else
bp_core_load_template( 'index', true );
}
}
add_action( 'wp', 'bp_show_home_blog', 2 );
3125432Inactive
Using WPMU 2.7.1 & bp 1.0.2 w/ only 1 other plugin – admin bar deactivated.
Experienced a 4th Buddypress system crash. Just created a new mysql db and uploaded and reinstalled. I am using aMember membership script to provide folder protection and an integrated plugin for login and data field updates. I suspect all the crashes had to do with the integrated external plugin overwriting the admin field.
All 732 members are listed in the wp-users table as well as the wp_bp_xprofile_data table with the various profile fields.
Issue: Click on Member Directory. First time after db insertion showed a total of 29 members by clicking on each letter of the alphabet. Slowly, after searching for terms, the Member Directory seems to be ‘learning.’ By this I mean that now there are three “z” listings whereas this morning there were none. Now there are six “w” listings whereas this morning there were none. I know from previous installations that there are something like 26 “w” listings.
In previous installations, I seemed to resolve the Member Directory learning curve by switching from Facebuddy to Buddypress default theme. This time I have not installed Facebuddy.
Any ideas? Again, the db shows all the members are there. It’s just the Member Directory does not show them, and even in the lookup, it can’t find them.
Thanks for considering this strange behaviour.
Brian
Those are all WP plugins and not WPMU ones.
I would steer clear of them.
Wishlist claimed to me their plugin works with WPMU/Buddypress. Haven’t tried it yet, but I trust the MU/BP developers did not break the basic registration process.
Also MU/BP is obviously a big potential market for these plugins, so you can kinda expect they make sure they work.
Okay I think I can safely say it’s a BP theme issue.
You need to make sure your code is exactly the same as the default wp-content/themes/bphome/comments.php (or wp-content/plugins/buddypress/bp-themes/bphome/comments.php)
Try that.
Hey Peter,
Those are all WP plugins and not WPMU ones.
I would steer clear of them.
The Supporter plugin I listed is WPMU-compatible (and as far as I know, BuddyPress-compatible, although I haven’t tried or bought it myself! hehe).
The Invite Friends plugin hasn’t been updated for BP 1.0.2 yet.
I just checked Giovanni’s blog (the developer of the plugin) and he says that a new release will be up in a few days.
I can’t access your site at the moment because the DNS isn’t resolving to your website.
Sounds like it could be a BP issue after all, but a lot of other BP sites have comments working fine:
eg. http://simplercomputing.net/bp/blog/buddypress-chat-plugin/
Silly question, do you have comments enabled on the main blog?
I had a problem with the invite-friend plugin.It was not working though i provided the correct api for yahoo,hotmail and facebook.Is it compatible with current version of buddypress??
Second thing was problem with event plugin.I was unable to create any events.So i disabled it.
I am not so good at programming but i have learnt that we can implement a REST based method to call for a invite friends sort of plugin? Any IDeas??
3411446Inactive
I am actually using a custom theme I made myself by modifying the buddypress home theme. It is the only theme available on the website. I’ve disabled all others.
Here is the link to the website. http://entreprenuerinmaking.com
You will notice that viewing articles at http://entreprenuerinmaking.com/blog you do not see the comments section, but if you go to http://entreprenuerinmaking.com/twd the comments section is visible.
Placing echo statements in the theme files further shows that the /blog site is using index.php to serve a single article, while the /twd site is using single.php to serve a single article. They should both use the single.php file. In order to resolve my issue I have to figure out why.
twdsje, by the sound of it, I’m guessing you’re using the default WordPress MU home theme.
You can choose a different theme you know!
Do you even have BuddyPress installed?
If you do, select the BuddyPress home theme or some other WordPress theme in the WPMU admin area and you’ll see something entirely different.
That’s the beauty of themes!
Hey Peter,
It’s safe, but when upgrading to the newest BP version, you’ll have to remember to make this change again.
Either that, or until some option in the admin area is made.
I’m using BeLogical’s fix plus a CSS hack to hide the “Create a Blog” field right now.
—
There is no voting system, Peter. Although you can leave a message on the trac:
https://trac.buddypress.org/ticket/835
You can login with your existing BP username and password there.
Should be an option in “BuddyPress > General Setup”.
Absolutely. Was wondering about this. Where can I leave my vote of support?
Is BeLogical’s hack safe as a temporary solution or can it cause all kinds of unforeseen mayhem?
This might sound silly but, here’s what I would do (after backing everything up). Leave your bb-config file. Delete everything else in the forums directory. Upload alpha 6. Then, upload bbPress 1. Don’t DELETE alpha 6. Just overwrite it. I’ve been messing with this upgrade for a couple of days now and if I delete/replace, the update doesn’t work. If I overwrite, it does work. Seems as though there’s a file that’s been removed from the new version that buddypress looks for.
If that doesn’t work…..
I’m wondering if your upgrade actually upgraded. The way I do the update is, I rename bb-config to something like bb-config2. Then I replace the files in the forums directory & navigate to /forums. It asks for your database info & then says “oh. There’s already a database. Maybe you want to use the upgrade script” You click the upgrade link and it does a couple changes and says it’s done. Then, I open up the newly created bb-config & (using the OLD bb-config) I put back any of the custom codes that I need such as the cookies & defines.
I hope something in there helps.
Looks like your BP site is up and running!
What is your problem again?
Are you saying you can’t access the BuddyPress menus in the WPMU admin area?
ht*tp://example.com/wp-admin/admin.php?page=buddypress/bp-core.php
What happens when you try to go there?
—
It could be an issue with RewriteRules if you changed the settings in the .htaccess file…
I took a very quick look at the OpenInviter website. They state that it is Open Source yet they do not provide any link to their licensing information.
Also, there is no code repository, it is not clear exactly what the code does, and you have to provide personal information to get the code. This does not indicate open source to me.
The site offers some sort of a WordPress Plugin, but I doubt that it is released under GPL which is a violation of the WordPress GPL license.
So, you are on your own if you want to use it, but I’d recommend steering clear of OpenInviter.
This doesn’t sound like a BuddyPress issue.
It’s a WPMU issue; to be more specific, it’s a theme issue.
Do you want to show a link to comments or do you want to show actual comments?
There are number of ways to do this… theme hacking or adding a widget which displays the latest comments.
Adding a widget would be the simplest, but it depends on what you want to do.
Just ran into this issue myself.
Should be an option in “BuddyPress > General Setup”.
I’ll add a trac ticket for this.
[EDIT]
Trac ticket added – https://trac.buddypress.org/ticket/835