Search Results for 'buddypress'
-
AuthorSearch Results
-
November 11, 2011 at 5:06 pm #124193
modemlooper
Moderator99.999% of support topics are not even BuddyPress related, that being said, give the people, like myself, who come here daily and try to help some respect.
November 11, 2011 at 4:40 pm #124191Quint
ParticipantThanks Paul, I was in the process of putting on my boots to go find me some ah ‘dem har tires to kick!
I am very much a newbie and do understand the frustration but that energy could be more productively spent. Anyway, Boone did a couple great Buddypress presentations which can be found on WordPress TV. Also, there’s a Buddypress for Dummies book. Both provide good foundational material even though neither are up-to-date. But I think that’s awesome because it means we’ve got some very committed people in this community who are intent on continuous improvement.November 11, 2011 at 4:20 pm #124187Paul Wong-Gibbs
KeymasterTireKicker, consider this your first warning: If you haven’t got anything nice to say, go somewhere else. Stop spamming this forum.
November 11, 2011 at 4:16 pm #124185troymer
MemberAnd this here: https://buddypress.trac.wordpress.org/ticket/2354 doesnt really explain how it works in bp 1.5 with bbp 2.0
November 11, 2011 at 4:03 pm #124180TireKicker
MemberAFAIK, as a prospective user like you evaluating all WP options, BP sounds ideal…but getting it to actually work seems like the bad ol’ days before Windows 3.1!!
November 11, 2011 at 3:47 pm #124175In reply to: Do Not Understand BuddyPress
justbishop
MemberI think there’s an option for that now (group forums vs. sitewide forums) in the BuddyPress admin menu now. I run BP on a Multisite install of WP, so mine is in the Network admin side of things, but you should be able to find the option to install/uninstall one or the other under BuddyPress -> Forums
November 11, 2011 at 3:36 pm #124173In reply to: Do Not Understand BuddyPress
TireKicker
MemberThe problem is that there is no introduction to this kind of ethos, this BuddyPress ethos.
I suspect that many here are either geeky types who are used to this Web 2.0 mindset or people born during the ’90s who never knew any other way of doing things.
Some of us may be older and thus used to a very “orderly” — that is, tightly hierarchical — way of presenting information…it would help to explain BuddyPress in the FAQ section with such folks in mind.
BuddyPress sounds promising…but there is simply no documentation explaining the philosophical assumptions behind it, never mind individual toggles for specific components….
Me, I’d like for my site’s registered users to be able to create their own particular interest groups and user profiles but limit forums to a traditional site-wide kind of affair…seems like it should be possible to do all this, but I can’t see how in the available documentation I’ve been able to piece together!
November 11, 2011 at 3:29 pm #124172TireKicker
MemberOMG, finally a support site that’s worse than what you get at Drupal.org…yes, I too can’t find my way around here. No wonder everyone uses the ’90s-looking phpBulletin software for a forum! Can’t believe this BuddyPress is from the same folks behind WordPress — but then again, maybe the WordPress site was a mess at first, too….
Part of the problem is that everyone’s (that is, everyone “normal” and not on Facebook all the time) expecting a standard forum with an orderly hierarchy whereas this BuddyPress way of doing things is…chaotic.
November 11, 2011 at 3:29 pm #124171rich
Memberlooks like a bug
https://buddypress.trac.wordpress.org/browser/tags/1.5/bp-blogs/bp-blogs-activity.php#L57Suppose to check for an existing activity keying off the blog id, post id, user id, etc and then it updates instead of inserting.
November 11, 2011 at 2:19 pm #124169justbishop
MemberNevermind, did it, and your 2nd query worked like a charm, @boonebgorges! Thanks

P.S. I did make a db backup, and will hang onto it just in case some wonkiness that I’m just not seeing yet crops up
November 11, 2011 at 11:08 am #124165In reply to: A new activities stream
candy2012
MemberThank you @modemlooper but that’s not enough and makes no change; we need a function to check if friend or not to apply to all streams.
And I think I can say …. yes yes yes yes yes! I found the combination that seems to finally turn buddypress into a modern social network

So here the wonder-code (it must have smth to do with 11/11/11 > wish came true
):Code:function my_is_friend_check( $friend_id = false) {
global $bp;if ( !is_user_logged_in() )
return false;if ( is_site_admin() )
return true;if ( !$friend_id ) {
$potential_friend_id = $bp->displayed_user->id;
} else {
$potential_friend_id = $friend_id;
}if ( $bp->loggedin_user->id == $potential_friend_id )
return false;if ( friends_check_friendship_status($bp->loggedin_user->id, $potential_friend_id) == ‘is_friend’ )
return true;return false;
}function my_denied_activity_nonfriends( $a, $activities ) {
global $bp;//if admin we want to know
if ( is_site_admin() )
return $activities;foreach ( $activities->activities as $key => $activity ) {
if ( $activity->user_id != $bp->loggedin_user->id && $activity->user_id != 0 && !my_is_friend_check($activity->user_id) ) {
unset( $activities->activities[$key] );
$activities->activity_count = $activities->activity_count-1;
$activities->total_activity_count = $activities->total_activity_count-1;
$activities->pag_num = $activities->pag_num -1;}
}$activities_new = array_values( $activities->activities );
$activities->activities = $activities_new;return $activities;
}
add_action( ‘bp_has_activities’, ‘my_denied_activity_nonfriends’, 10, 2 );For all buddymuppets to enjoy
November 11, 2011 at 9:26 am #124163Gautam Thapar
MemberThanks, the problem is now solved.
November 11, 2011 at 9:23 am #124162Gautam Thapar
MemberJust to add to the information I have php 5.2
Using the default wordpress .htaccess file.
November 11, 2011 at 8:40 am #124159In reply to: Friendship Request Error
@mercime
ParticipantChange to the BuddyPress default theme and see if same behavior applies
November 11, 2011 at 6:30 am #124155In reply to: Member since
KatyP
MemberThis is for everybody who wants to edit the BuddyPress Member Profile Stats plugin so that it will read “[username] has been a member since [date]” instead of “[username] has been a member since [x] days ago.”
#1. Open buddypress-member-profile-stats/bp-member-profile-stats.php in the Editor
#2. Find where it reads:
`apply_filters( ‘etivite_bp_member_profile_stats_get_member_registered’, esc_attr( bp_core_time_since( $bp->displayed_user->userdata->user_registered ) ) );`
#3. Paste in this right underneath it:
`function etivite_filter_override_member_registered( $content ) {
global $bp;return date( “F j, Y”, strtotime( $bp->displayed_user->userdata->user_registered ) );
}
add_filter(‘etivite_bp_member_profile_stats_get_member_registered’,’etivite_filter_override_member_registered’);`I made a further modification. I didn’t want it to read [username]. At first I thought I’d change it to FirstName Last Name, but then I decided that I just wanted it to read that they joined my site on that date. Here’s what I did.
I found where it reads:
`function etivite_bp_member_profile_stats_get_member_since() {
return ‘‘. bp_get_displayed_user_username() .’‘. __( ‘ has been a member for ‘, ‘bp-member-profile-stats’ ) .’‘. etivite_bp_member_profile_stats_get_member_registered() .’.‘;`
And I changed it to:
`function etivite_bp_member_profile_stats_get_member_since() {
return ‘‘. __( ‘ Joined … on ‘, ‘bp-member-profile-stats’ ) .’‘. etivite_bp_member_profile_stats_get_member_registered() .’.‘;
}`where … is the name of my site.
Hope this helps whoever is looking for this type of modification!
Best of luck to everyone out there!November 11, 2011 at 5:19 am #124154In reply to: From Roadmap, basic privacy
Steve
ParticipantHi @piermaria
Have you had any luck upgrading the plugin to be compatible with BuddyPress 1.5? How much will this cost?
November 11, 2011 at 1:28 am #124149In reply to: [Resolved] Missing Join Group button in list view
oddzuki
MemberVERY simple solution once @mercime helped. All that was needed was this added:
Instead of this:
http://cl.ly/3G06003q282I1O1J0C2T
It should have been this:
http://cl.ly/2X0c0F3H0H1N3B3L1t3s
Thanks for the help!
November 11, 2011 at 1:13 am #124148mustangus
MemberHi @Mercime, thank you so much for your reply. The most relevant example from both examples that you put in your e-mail is: http://testbp.org/groups/the-mr-topp-group/forum/topic/my-hat-is-awesome/
The posts are organized in a way that the oldest posts are on top and to see the newest posts you have to scroll down, sometimes for many pages if number of posts are big. What I am trying to find out is how to change the order of the posts to display new posts on top and old ones could go on the bottom. I’ve done a lot of research in the past 2 weeks and changed SQL values in WordPress to ASC but it does not seem to work. Seems like something in Buddy Press in overriding. Many thanks for your replyNovember 11, 2011 at 1:07 am #124147In reply to: [Resolved] Missing Join Group button in list view
oddzuki
Member@mercime Thanks. I’m looking into it now. Looking at the groups-loop on the theme I’m using seems like it’s calling for it properly, but it’s still not showing. Will report back once I find out the issue. Hopefully it’ll help someone else.
Edit: Looks like the “group-loops” are the exact same on the theme and the default theme. So I would assume that the issue is having the theme reference the default?
November 10, 2011 at 11:26 pm #124144In reply to: A new activities stream
candy2012
MemberThank you @modemlooper !
I don’t think I really know how to start on that …
I have tried this:
foreach( $activities->activities as $key => $activity ) {
if ( $activity->scope ==’friends’ || $activity->scope ==’just_me’) {
unset( $activities->activities[$key] );but it does not work, I mean I only get the friends but not my own posts

As far as I understood is the “scope” I need not the action types (I want all actions to show, but for friends and the current user only)
What am I doing wrong?
An other thing that I have noticed, when I click on the “All users” Tab, the site-wide activity is there all untouched, and this is definitely not supposed to hapen. I need to filter that fully out!
Just like Facebook! Imagine you loginto Facebook and get the billions of user activity statuses rolling in front of your eyes …
I guess it has to be checked somehow that the displayed activity belongs to the current-user friends only …
but how !??!November 10, 2011 at 10:48 pm #124141In reply to: Privacy????
Ben Hansen
Participant@DJPaul sorry man just thought i would try to do what i could client is impatient and the issue seems to be in limbo and quite important to quite a few people didnt mean to be rude.
November 10, 2011 at 10:47 pm #124140justbishop
Member@boonebgorges, thanks, and I have to ask why would you advise against doing it? Having those duplicates in the activity stream is actually an extremely bad thing for my site, because they are essentially items for sale. If a user is able to view the copy of a post made to my main site by the SWT plugin (as you are able to on certain posts that have been natively posted to one of my network’s child sites), the “add to form” cart renders using MY paypal info, rather than the seller’s info, as it does when you view the item on their site!
Here is an example of a child site post (copied to the main site via SWT) that you can get to via one of the duplicate activity entries:
http://www.riotcart.com/blog/2011/01/30/medium-juliette-skirty/
And here is the item on the seller’s own site (a child site on my network):
http://www.riotcart.com/hedgieshideaway/?p=115
As you can imagine, it’s extremely important that users/front-end viewers are NOT given the option of which version (the original or the copy to the main site) they’d like to click into!
@nahummadrid, I honestly have no idea what was going on. Like I mentioned, as soon as I removed the “before_blog_post” and “after_blog_post” BP codes from around my query for the featured post, the problem was non-existent, and I was able to just use the block activity stream types plugin you had recommended

For the record, here is my query for the featured post. I use the Featured Content Showcase plugin for various reasons, but it displays a slideshow. All I wanted was one static, random post with an image, title, and excerpt on each page load, so I dug around and found the meta key/velue that the FCS plugin was adding to posts marked as featured, and ran with it:
`$args=array(
‘orderby’ => ‘rand’,
‘post_type’ => ‘post’,
‘post_status’ => ‘publish’,
‘numberposts’ =>1,
‘post_type’ => ‘post’,
‘meta_key’ => ‘_fcs_featured’,
‘meta_value’ => ‘true’,
);$latest = get_posts($args);
$count = 0;
foreach($latest as $post) {$blogid = get_post_meta($post->ID, ‘blogid’, true);
$image = get_post_meta($post->ID, ‘thumbnail’, true);
$title = get_post_meta($post->ID, ‘_fcs_title’, true);
$text = get_post_meta($post->ID, ‘_fcs_text’, true);
if ( empty($title) ) {
$title = get_the_title($post->ID);
}if ( empty($text) ) {
$text = $post->post_excerpt;
if ( post_password_required($post) ) {
$text = __(‘There is no excerpt because this is a protected post.’);
} elseif ( !empty($post->post_excerpt) ) {
$text = apply_filters(‘get_the_excerpt’, $post->post_excerpt);
} else {
$text = $this->_makeExcerpt($post->post_content);
}
}`November 10, 2011 at 10:36 pm #124138In reply to: Another post about privacy
Paul Wong-Gibbs
Keymaster@ubernaut, no need to cross-post this sort of thing on 4 posts. It’s not polite. I’m locking this topic.
November 10, 2011 at 10:36 pm #124137In reply to: Still no privacy??
Paul Wong-Gibbs
Keymaster@ubernaut, no need to cross-post this sort of thing on 4 posts. It’s not polite. I’m locking this topic.
November 10, 2011 at 10:11 pm #124136jjkob
ParticipantDid you ever get this working Chris? I see that the BuddyPress Real Names plugin has not been updated for some time — has a new/better plugin emerged to replace this one?
-
AuthorSearch Results