Right, and what code displays the “Main Themes” and where do I put it…I have some attempts here https://buddypress.org/forums/topic/how-to-access-to-bbpress-admin-from-buddypress but that’s not cutting it.
Maybe I’ll just try sticking
$forums = bb_get_forums();
“somewhere…”
the reason for only 2 members is because I have only just put buddypress on the site
looks good, but 2 members only?!
Yep. I’m having problems. I’m running WPMU 2.9.1.1 and BP 1.2. In the group section, when I have TinyMCE enabled and I enter some text, I get this error “Please enter some content to post.” Any ideas?
I’ve just starting using the BuddyPress 1.2 RC on:
http://american-idol-updates.com
@mercime I’d like to hear from someone who has enabled the P2 theme for BuddyPress, for starters, and I’m not looking for major customizations.
Simply ensuring that the features within BuddyPress stay intact when using P2 versus the default theme would do nicely.
Thx
pff..SVN is so weird 
I just repload the whole thing.
I about ~20min it should be available
You are fast – buit I think that some files are missing in the zip… no subfolders in it and now it shows no page at all
@nexia : there has been core modifications.
Update to BuddyPress 1.2-beta REV 2608 and BuddyPress Classifieds 1.003-beta.
—-
Also, the theme is now included in the plugin, so you can remove the classifieds directory from your current theme.
Okay… maybe I mispoke.
What can we add to one of the php files so that html tags like “img”, “em”, “strong”, etc will work?
I’m one of the many php/buddypress newbies who are still learning.
Okay, I’ve implemented the fix Boone suggested. The plugin download should update shortly.
In the meantime, if anyone wants to quickly fix the the files they’ve already downloaded, do the following:
In “bp-activity-subscription-main.php” change line 3 to the following:
require_once( WP_PLUGIN_DIR.'/buddypress-group-activity-stream-subscription/bp-activity-subscription-functions.php' );
so here’s a tweaked version and the latest in my custom tab efforts, fyi:
// passes MyClass scope into ajax query for custom Class Year activity filter
function bn_ajax_querystring_activity_filter( $query_string, $object, $filter, $scope, $page, $search_terms, $extras ) {
global $bp;
if ( !is_user_logged_in() || $object != 'activity' )
return $query_string;
$args = array();
parse_str( $query_string, $args );
$args['object'] = $bp->groups->id;
switch ($scope){
case 'myclass':
$slug = "usma-". bp_get_profile_field_data( array('field'=> 'Class Year', 'user_id' => $bp->loggedin_user->id));
$groupid = BP_Groups_Group::get_id_from_slug($slug);
$args['primary_id'] = $groupid;
break;
case 'mycadetco':
$slug = bp_get_profile_field_data( array('field'=> 'Cadet Company', 'user_id' => $bp->loggedin_user->id));
$groupid = BP_Groups_Group::get_id_from_slug($slug);
$args['primary_id'] = $groupid;
break;
case 'mybranch':
$slug = sanitize_title(bp_get_profile_field_data( array('field'=> 'Branch', 'user_id' => $bp->loggedin_user->id)));
$groupid = BP_Groups_Group::get_id_from_slug($slug);
$args['primary_id'] = $groupid;
break;
default:
return $query_string;
}
return http_build_query( $args );
}
add_filter( 'bp_dtheme_ajax_querystring', 'bn_ajax_querystring_activity_filter', 1, 7 );
and the action:
function bn_add_activity_tab() {
if ( !is_user_logged_in() )
return false;
?>
<!-- default item-list-tabs activity-type-tabs
<ul> -->
</div><!-- default item-list-tabs activity-type-tabs -->
<div class="item-list-tabs activity-type-tabs" id="bn-tabs">
</ul>
<ul>
<li id="activity-myclass">
<a>" title="<?php _e( 'Activity for my Class Year', 'buddypress' ) ?>">
<?php printf( __( 'My Class', 'buddypress' ) ) ?>
</a>
<li id="activity-mycadetco">
<a>" title="<?php _e( 'Activity for my Cadet Company', 'buddypress' ) ?>">
<?php printf( __( 'My Cadet Company', 'buddypress' ) ) ?>
</a>
<li id="activity-mybranch">
<a>" title="<?php _e( 'Activity for my Army Branch', 'buddypress' ) ?>">
<?php printf( __( 'My Branch', 'buddypress' ) ) ?>
</a>
<?php
}
add_action( 'bp_activity_type_tabs', 'bn_add_activity_tab', 1, 2 );
A few things to note:
1. use the WP function sanitize_title() if you have a field that might return more than one word e.g. the group ‘Military Police’ returns ‘military police’ but transforms into ‘military-police’ (a pretty slug0 which gives you a correct slug now.
2. I added addl markup to force my new tabs into their own element.
3. Don’t be shy to make suggestions and keep improving this technique. I think many will use it to customize their installs.
D Cartwright – Great plugin. The problem is that the plugin name in the repo is buddypress-group-activity-stream-subscription, while all of your includes assume that the plugin folder will be called bp-group-activity-stream-subscription. I renamed my plugin folder and all’s well.
I think this is going to be huge for my community, btw, so thanks.
OK. I’m running wpmu2.8.6 and buddypress1.1.2.
I’ve heavily CSSing the design and of course getting Firefox right first and now heading into IE7/IE6 territory.
I noticed on the activity stream that the CSS threw up some inconsisencies. In looking throguh the source for the activity stream from status updates I noticed that p tags were being opened but not closed. In particular a p tag is opened before the link for the poster of said activity but is not closed again.
I know this is probably something to do with the kses filtery thingy and what gets taken out is not being put in again properly or something like that, but trawling through the activity php files and the status files I can’t seem to find anything…..
Has anyone come across this before….
Thanks
bp_has_friendships was removed in BP 1.2 and put into the backwards compatibility update. Try something like:
if ( bp_has_members( ‘user_id=’ . $user_id . ‘&type=alphabetical&per_page=0’ ) ) {
while ( bp_members() ) : bp_the_member();
Ok so that middle part of the code with the avatar section didn’t paste in correctly, but you get the idea. …
I’m trying to output a modified version of the friends loop on the homepage … but I am getting the error: bp_has_friendships is not defined. I have no problems putting a modified members or groups loop together. I’m using BP 1.2 and WP single user 2.9.1 Is there something extra I need to include in order to get this working?
<?php if ( bp_has_friendships('type=active&per_page=6&max=50&user_id=' . bp_loggedin_user_id() ) ) : ?>
<div class="avatar-block">
<?php while ( bp_user_friendships() ) : bp_the_friendship(); ?>
<li class="vcard">
<div class="item-avatar">
"><?php bp_friend_avatar_thumb() ?>
</div>
<?php endwhile; ?>
</div>
<?php else: ?>
You have no friends.
<?php echo ""; ?>
<?php endif; ?>
Does anyone know how to implement this into the profile fields on buddypress?
Registration does not seem to work. Users can sugn up create username and password, add a blog url and even upload an Avatar and crop it.
But then there is no Confirmation email with password
And there is no sign a a user account being generated on admin side. -don’t see a user being added.
I removed the footer.php info that gives credit to buddypress wordpress and everybody eles; is this the reason why it’s not working?
Or is there something else going on.
///
Hi Etiviti
Thanks for the follow up, it’s really appreciated. The issue seems to have been only related to my admin username which was created before buddypress was installed.
Also, it wasn’t the spaces that were throwing if off… it might be some other vauge incompatibility between wmpu and buddypress names.
I’ll double check before I ask for some more info next time, but I’m sure someone with the same issues as you will benefit from your effort.
@snark, I simply removed the function bp_core_disable_welcome_email() from bp_core_activation.php. But then the password in the welcome email is wrong, as discussed here. Haven’t been able to come up with an explanation/solution for that…