Search Results for 'custom activity page'
-
Search Results
-
Topic: how to 'mu' buddypress?
I”m not sure what I am trying to do is even possible, so before I install bp again, I figured I would ask first.
I run a network of mu blogs, and want to give each of the blogs their ‘own’ bp.
My best guess as to how to do this is to stat by uploading the bp plugin into plugins instead of mu-plugins, and then only activating it on the blogs which I want to use bp.
I can then add the template/css files from bp into each blogs theme directory, along with any logic files needed. This way each site can have their own ‘unique’ bp theme, matching the blogs theme.
What I am not sure is possible:
In this scenario, is it currently possible to filter all of the widgets, like the activity stream, to only show activity for the users belonging to the blog being viewed at the time?
I have a custom plugin already that allows people to signup on a sub domain blog without having to go to the root blog. Each member is then transparently added to a few other sub-domain blogs as well as the root blog… i have future plans for this.
This means that each of my sub-domain blogs have their ‘own’ userbase, so separating out the activity in bp ‘should’ be possible?
My idea is that there should be no reason for a user to ever leave the sub-domain blog to edit or view their profile pages, or the pages of friends etc..
They would only be able to see the members and groups, groups forums, created by the members of the sub domain blog only… is that possible?
I plan on offering bp only to my ‘premium’ sub domain bloggers, and most of them will have their own custom domain name mapped.
So if the sub domain blog ‘xyz.com’ users should not even know that my ‘root’ wpmu install is at ‘123.com’ which is how bp worked for me in the past.
It was making my bloggers ‘angry’ that their users were sent to another site to update their profiles etc…. so I am trying to figure out a way of giving them bp on their own site.
I have no problem applying filters myself in order to filter the members to the blog in question only, if filters would work.
What I don’t get, is I would have to figure out how to ‘assign’ bp to the blog in question instead of a particular blog. (in old bp we had to add command to functions to tell bp which blog id# bp was installed on)
I hope this makes sense…. is this currently possible?
Installed v1.1.1. I get this error message in all pages (related to body tag in header.php):
Missing argument 2 for bp_get_the_body_class() in /serverpath/wp-content/plugins/buddypress/bp-core/bp-core-templatetags.php on line 1593
function bp_get_the_body_class( $wp_classes, $custom_classes ) {
global $bp;
if ( bp_is_blog_page() && is_front_page() && $bp->current_component != BP_HOME_BLOG_SLUG )
$bp_classes[] = 'home-page';
if ( bp_is_blog_page() || bp_is_register_page() || bp_is_activation_page() )
$bp_classes[] = 'blog-page';
if ( !bp_is_blog_page() && !bp_is_register_page() && !bp_is_activation_page() )
$bp_classes[] = 'internal-page';
if ( bp_is_directory() )
$bp_classes[] = 'directory';
if ( bp_is_user_profile() && !bp_is_blog_page() )
$bp_classes[] = 'profile';
if ( bp_is_activity_component() && !bp_is_blog_page() )
$bp_classes[] = 'activity';
if ( bp_is_blogs_component() && !bp_is_blog_page() )
$bp_classes[] = 'blogs';
if ( bp_is_wire_component() && !bp_is_blog_page() )
$bp_classes[] = 'wire';
if ( bp_is_messages_component() && !bp_is_blog_page() )
$bp_classes[] = 'messages';
if ( bp_is_friends_component() && !bp_is_blog_page() )
$bp_classes[] = 'friends';
if ( bp_is_groups_component() && !bp_is_blog_page() )
$bp_classes[] = 'groups';
if ( bp_is_settings_component() && !bp_is_blog_page() )
$bp_classes[] = 'settings';
if ( bp_is_single_item() )
$bp_classes[] = 'single-item';
if ( bp_is_messages_inbox() )
$bp_classes[] = 'inbox';
if ( bp_is_messages_sentbox() )
$bp_classes[] = 'sentbox';
if ( bp_is_messages_compose_screen() )
$bp_classes[] = 'compose';
if ( bp_is_notices() )
$bp_classes[] = 'notices';
if ( bp_is_friend_requests() )
$bp_classes[] = 'friend-requests';
if ( bp_is_user_friends() )
$bp_classes[] = 'my-friends';
if ( bp_is_create_blog() )
$bp_classes[] = 'create-blog';
if ( bp_is_user_recent_commments() )
$bp_classes[] = 'recent-comments';
if ( bp_is_user_recent_posts() )
$bp_classes[] = 'recent-posts';
if ( bp_is_user_blogs() && !bp_is_directory() )
$bp_classes[] = 'my-blogs';
if ( bp_is_user_groups() && !bp_is_directory() )
$bp_classes[] = 'my-groups';
if ( bp_is_group_leave() )
$bp_classes[] = 'leave-group';
if ( bp_is_group_invites() )
$bp_classes[] = 'group-invites';
if ( bp_is_group_members() )
$bp_classes[] = 'group-members';
if ( bp_is_group_forum_topic() )
$bp_classes[] = 'group-forum-topic';
if ( bp_is_group_forum() )
$bp_classes[] = 'group-forum';
if ( bp_is_group_wire() )
$bp_classes[] = 'group-wire';
if ( bp_is_group_admin_page() )
$bp_classes[] = 'group-admin';
if ( bp_is_group_create() )
$bp_classes[] = 'group-create';
if ( bp_is_group_home() )
$bp_classes[] = 'group-home';
if ( bp_is_profile_wire() )
$bp_classes[] = 'profile-wire';
if ( bp_is_change_avatar() )
$bp_classes[] = 'change-avatar';
if ( bp_is_profile_edit() )
$bp_classes[] = 'profile-edit';
if ( bp_is_user_friends_activity() )
$bp_classes[] = 'friends-activity';
if ( bp_is_user_activity() )
$bp_classes[] = 'my-activity';
if ( bp_is_register_page() )
$bp_classes[] = 'registration';
if ( bp_is_activation_page() )
$bp_classes[] = 'activation';
if ( is_user_logged_in() )
$bp_classes[] = 'logged-in';
/* Add the current_component, current_action into the bp classes */
if ( !bp_is_blog_page() ) {
if ( !empty( $bp->current_component ) )
$bp_classes[] = $bp->current_component;
if ( !empty( $bp->current_action ) )
$bp_classes[] = $bp->current_action;
}
/* We don't want WordPress blog classes to appear on non-blog pages. */
if ( !bp_is_blog_page() || is_home() ) {
/* Preserve any custom classes already set */
if ( !empty( $custom_classes ) )
$wp_classes = (array) $custom_classes;
else
$wp_classes = array();
}
/* Merge WP classes with BP classes */
$classes = array_merge( (array) $bp_classes, (array) $wp_classes );
/* Remove any duplicates */
$classes = array_unique( $classes );
return apply_filters( 'bp_get_the_body_class', $classes, $bp_classes, $wp_classes, $custom_classes );
}
add_filter( 'body_class', 'bp_get_the_body_class', 10, 2 )1. Which version of WPMU are you running? WPMU 2.8.4
2. Did you install WPMU as a directory or subdomain install? Directory
3. If a directory install, is it in root or in a subdirectory? Root
4. Did you upgraded from a previous version of WPMU? If so, from which version? No
5. Was WPMU functioning properly before installing/upgrading BuddyPress? Yes
6. Which version of BuddyPress (BP) are you running? BP 1.1.1
7. Did you upgraded from a previous version of BP? If so, from which version? Yes, 1.1.0
8. Do you have any plugins other than BuddyPress installed and activated? Yes
9. Are you using the standard BuddyPress themes or customized themes? Standard
10. Have you modified the core files in any way? No
11. Do you have any custom functions in bp-custom.php? No
12. If running bbPress, which version? bbPress 1.0.2
13. Please provide a list of any errors in your server’s log files. Nothing stands out, but is there something I should be looking for?
I upgraded to 1.1.0 yesterday and followed all directions to the ‘t’. The only issue I’m having is that all of the links in the BP admin bar take me to the homepage. For example, from my homepage if I hover over the BP admin bar’s: “My Account >> Activity” it is pointing to the following URL: http://blogs.empire-edutools.net/members/damon-cook/activity/
Fine and dandy, but when I click that link it takes me too: http://blogs.empire-edutools.net
Please advise.
On my research of possible underpinnings for a site we are intending to build I came across BuddyPress, and I’m considering it as a viable alternative to Drupal, which would have been my first choice.
We would need the commonplace components of a social site like user profiles with custom fields, image galleries (does BP have these already ?? – I saw some mention of it in the 1.0 roadmap but haven’t yet located them in the demo site), private messaging, a forum and even more
Nevertheless, the recent discussion over at wpmu.org about WP MU being discontinued and the low development activity on WP MU in general made me think if BuddyPress is built on a rather fragile padding.
Is it considered sensible to build a professional grade community upon a BP foundation yet? I am aware of GigaOM Pro et al. but still need a clue of how much in-house development and sysadmining work they do to keep BP afloat.
Any insights?
In another thread I was asking about how to keep up with all my posts in the forums as there seems to be no way to search for it. Another user suggested checking my profile activity stream, which lead me to this question.
On my personal buddypress site, I may write 20-50 articles a day, reply to a few hundred other articles, and post huge amounts of posts in the forums.
Here\’s the problem with that:
Say I am searching my activity stream for posts I made in the forums…
Well if I made the post say a few days ago, it is LONG GONE from the activity stream as it only shows the last few activities I did.If everything is stored already, just not viewable on the steam page, then a few ideas:
1. sort the activity by type of activity
– blog posts
– blog post repsonses
– forum posts
– buddy requests
– etc…..
2. Have the ability to search my activity streams
3. Only show activity for past 30 days on activity stream homepage with pagination
4. Archive all other activity just like wp does for articles now.
5. limit archived stream viewing to the stream owner only – we don\’t want everyone to be able to easily see every single thing another member has ever done, security implications galore there.Unfortunately with the new legislation in the U.S. for social netowrking sites keeping this type of data is going to become mandatory. There are countless articles about how \’social networking sites\’ are being forced to provide specific user information such as what a user posted and where they came from \’ip\’.
Frankly I have been somewhat worried about this, as the cost of a custom development to comply would cost to much. At the very least having all this information stored somewhere and available on demand would at least show that I am trying to comply.
Hi all,
I’m developing a custom theme which I’m hoping can create a more comprehensive ‘Activity’ centre, firstly showing recent activity from all of the users friends, groups, events etc, and then being sortable to just show activity of their groups for example.
Currently, there is no way of getting recent group activity, available somewhere like example.com/groups/groupname/activity or example.com/members/membername/activity/my-groups
Feeds like this will be really important to create a good, comprehensive feed of everything relevant to the user.
How would I go about possibly patching these components to make them create feeds and make them available to the user on a specific page? I’m not a PHP guru but if I’m shown how I would be happy to go about doing the manual work, all part of learning

Cheers,
Alex
Topic: Modifying default widgets
OK I have spent this weekend working on modifying the default BP widgets. Some have been harder to customise than others.
I am having lots of trouble getting the site activity midget changed to how I want it.
bp-blogs.php, bp_blogs_format_activity().
return array(
'primary_link' => $blog_url,
'content' => apply_filters( 'bp_blogs_new_blog_activity', sprintf( __( '%s created a new blog: %s', 'buddypress' ), $user_link, '' . $blog_name . '' ) . ' <span class="time-since">%s</span>', $user_link, $blog_url, $blog_name )
);
This bit
<span class="time-since">%s</span>is where I’m up. I am assuming the %s goes through another sprinft() call on page generation. I need to know where and how, as it generates output like this which I need to change: & 10 minutes agoPlease help
Hey,
I’m not sure if this has been discussed or not, but I would love for a user to be able to visit something like; example.com/home/ or even the normal homepage and a Facebook style homepage appear.
It would ideally feature a sort of amalgamation of all my friends activity streams into one, and things like that. Almost like a portal type of page personalized to that specific user.
Any thoughts?
I realise this can probably be done in a theme, editing the sites home.php template file and checking for the current user etc; but what built-in functions exist for a ‘my friends activity’ stream.
I think this could be a great core addition, especially if we allowed the use of widgets etc so they user could *choose* what appeared on their own customized welcome screen.
Cheers,
Alex
Topic: How Do I Pull In Widgets?
Thank you!
:
Hi,
I’m having a problem with comments. After submitting a comment I’m redirected to the very first post.instead of direct back to the post with the newly posted comment.
I have deactivated Buddypress and reverted to the original theme — then it works.
It doesn’t look to be a core problem. More looks like a Buddypress problem.
Initially I was having a problem where adding a comment just went to a white screen: http://mysite.com/comment-page-/#comment-
Solution to this was to drop and recreate the comment tables as per: http://wordpress.org/support/topic/249950
Now I’m having this redirect problem.
Can someone show me where this redirect takes place? I’d like to see it in the core files to understand better.
All help appreciated. Is this a known issue?
edit: additional info:
WordPress MU 2.7.1
BuddyPress 1.0
simple custom theme
bp-custom has:
function my_bp_the_site_blog_avatar_thumb()
function my_alter_bp_adminbar()
function my_logout_display()
function ftblg_bp_timezone_bug($activity)
function my_alter_bp_adminbar_blogs_menu()
function my_bp_core_widget_members($args)
function my_bp_core_widget_members_control()