Search Results for 'buddypress'
-
Search Results
-
Hi everyone, I would like to remove the function that forces activity comments to show as separate entries. It is filling up my activity stream and overshadowing my activity posts. Commenting on another user’s activity post is the core feature of my network, but I think comments should stay where they are posted. I have unchecked the options in BuddyPress settings page to not allow comments from blog post and forum. Also it is not good for privacy as anyone can see all of another user’s comments and replies on their activity feed while viewing that user’s profile. I am using the BP Activity Privacy plugin but it has no affect on comments and replies.
I am not good with coding but have come up with this code to attempt to remove it:
// Stop activity loops from showing activity comments as separate entriesfunction remove_comment_replies() {
remove_filter( ‘bp_after_has_activities_parse_args’, ‘ray_bp_display_comments_stream’, 20 );add_action( ‘bp_after_has_activities_parse_args’, ‘remove_comment_replies’ );
It doesn’t work. Any suggestions would be very much appreciated (see link to better understand what I am referring to.) Thank you.
Hi,
I have setup Buddypress, I have blocked all my pages from being accessed unless logged in via Buddypress.
So when a visitor clicks a page they get redirected to the register page, once all details are filled in it just loops back to the same page with all the details filled in and it won’t register.
Any suggestions?
Topic: Group Home Template
Hi Community
I might have misunderstood something but I am trying to change the a single Group homepage by moving home.php to buddypress/groups/single/home.php
I looked at this from this website:
/buddypress/groups/single/index.php – If this template file is used in your theme, all group pages will use this template. BP will look to use this if the other three templates mentioned above are not found.It mention a index.php file but I could not find that. I could only see the home.php file so that is why I use that file.
My problem is that when I use the this: buddypress/groups/single/home.php then my group page is all messed up. The li tabs are not styled. Some content disappear like group description.
Also can anyone tell me why some buddypress code only works if placed in my function.php and not when placed in my bp-custom.php file in the plugin folder? Just really curious.
Thanks in advance.
Currently when updating group details, it is not posting in sitewide activity stream or the groups home activity stream.
I have created a function for adding custom fields to create and edit groups and have currently added, record this to activity stream, for when group details are edited. Isn’t this supposed to be functioning anyway?
I am a very fast learner and have kinda got used to editing buddypress how I would like to without touching any source files.
Here is my current code I am using to insert my edits into the groups meta and insert the update into the activity stream.
add_action( 'groups_group_details_edited', 'group_details_update' ); function group_details_update( $group_id ) { global $bp, $wpdb; if ( !bp_current_user_can( 'bp_moderate' ) && !groups_is_user_member( bp_loggedin_user_id(), $group_id )) return false; $plain_fields = array( 'server', 'country' ); foreach( $plain_fields as $field ) { $key = 'group-' . $field; if ( isset( $_POST[$key] ) ) { $value = $_POST[$key]; if ($value == 'null') bp_core_add_message( __( 'There was an error updating group details. Please try again.', 'buddypress' ), 'error' ); else groups_update_groupmeta( $group_id, 'h1z1_' . $field, $value ); } } // Record this in activity streams $activity_action = sprintf( __( '%1$s has modified group %2$s', 'buddypress'), bp_core_get_userlink( bp_loggedin_user_id() ), '<a href="' . bp_get_group_permalink( $bp->groups->current_group ) . '">' . esc_attr( $bp->groups->current_group->name ) . '</a>' ); $activity_content = $content; $activity_id = groups_record_activity( array( 'user_id' => bp_loggedin_user_id(), 'action' => apply_filters( 'groups_activity_new_update_action', $activity_action ), 'content' => apply_filters( 'groups_activity_new_update_content', $activity_content ), 'type' => 'group_details_updated', 'item_id' => $group_id ) ); groups_update_groupmeta( $group_id, 'last_activity', bp_core_current_time() ); do_action( 'bp_groups_posted_update', $content, $user_id, $group_id, $activity_id ); }This works when I edit the details of a group, but no activity is showing when I edit photo or settings.
I am assuming this is supposed to work out of the box, but doesn’t seem to be.
A few bugs I have found.
It posts when a member joins a group, but does nothing when they leave the group, they can keep joining and leaving and it will just post member has joined group multiple times. If the member is still in the group and I remove them from the group as an admin, it will then delete the streams that said the user joined, even if there is multiple it will remove them all.If I kick/ban the user, it will remove the streams also. If I unban, it will not post that a member has joined the group again. There are many functionality issues within the groups.
Are the problems above supposed to work and do work with the latest version of buddypress or do I have to hook bp_groups for each part that is not working as desired to add actions in my functions.php?
Thanks for reading my long post, hope someone can clear this up.
I am trying to use buddypress plugin with my wp multisite installation. Plugin works fine but in settings conneccted to main sites registration page. The problem comes when I create another social network it uses that registration page for all subsequent site. The plugin is enabled for the entire network. Can you tell me how to get around this problem?
Hi all
When i try to upload any cover image in buddypress site appear this massage
“Max total images allowed 0 in a cover gallery”
can any one advice me to fix this problem.I’ve found this function that adds posts to the activity stream nicely, however, its just the thumbnail. How would I grab a different size of the featured image (i.e ‘large’)
https://buddypress.org/support/topic/add-post-featured-image-in-activity-stream/
Hello everyone,
This is my first post and I’ve only been working with BP for about a week, so I am still new to all of this. My issue is that I want to customize my activity wall, add color, borders,change the color of highlighted tabs, and change the title, “Site-Wide Activity”. Pretty simple stuff…or so I thought.
First, I haven’t found any simple means of changing the title without some hardcore coded. I’ll jump into a .css file with no problems, but .php I am more weary. (I’ve killed a site already trying to create a child theme!) I luckily read in a forum about making changes in Chrome’s inspector tool and it works like a charm! I can fix all the text and text boxes and borders as I want, but the only problem is, these changes are just in the browser, nothing is saved.
Is there someway I can save my inspector tool work? Or do you know WHERE I can find the correct the .css or .php file to play with these elements? Any guidance on the .css or .php files would be greatly appreciate if they came with a file pathway!! Like I said, I am new to both BP and web design in general and just need to be pointed in the exact correct location.
Many thanks and good luck to everyone out there!! -GSE
Hey folks,
So, I’m currently running the latest version of WordPress and Buddypress. The site uses a subdomain but it has its own directory. Everything seems to be working right, except that the titles on my BP pages don’t display my site’s name.
Every other area of the site works fine, in terms of displaying the name of the page and then the name of the site, except for the BuddyPress pages. Here’s an example:
http://pro.indylist.net/activity/
I’ve tried disabling every other plugin, I’ve tried changing to a different theme, but nothing works. I’m capable of modifying code of different parts, so I’m willing to try anything.
I’ve also searched the site and Google to the best of my ability but haven’t made any progress. Hope someone can help!
Hello!
Does anyone know of any stable third party plug-ins that essentially would add project management features to the Buddy Press groups (ie create deadlines, assign tasks to individuals, subdivide the working group, etc)
I did a cursory search under the Plugins header in the BuddyPress site…only two options were included and they both had user reviews that the plug-ins were essentially inoperable.
Thanks for your help!
Hi~ everyone~
I’m a new BuddyPress user and I want to display all members from old to new in the MEMBERS-LOOP.But it seems no optional like “ORDER” in the bp_has_members() function and others.