Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 20,576 through 20,600 (of 94,538 total)
  • Author
    Search Results
  • #236269
    aljo1985
    Participant

    Have you tried the WP members only plugin?
    https://wordpress.org/plugins/buddypress-members-only/

    This will restrict your whole website also to members only.
    If you want to just restrict one part of the website, I can help you build a simple function to do this.

    What does the link look like
    http://www.example.com/groups/blah blah blah ??
    Is that what you are trying to block non mebers access to?

    browserco
    Participant

    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 entries

    function 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.

    #236267
    5high
    Participant

    Hi there,

    currently running a new WP install with BP, rtmedia, s2member, bullet proof security and Kleo theme.

    What I’d like to do is just like many others – only allow BP messaging between admin and users – so not user to user.

    I found a possible solution to this in a previous thread here ( https://buddypress.org/support/topic/is-it-possible-only-user-admin-user-private-messages/ ), but needed some more details of the code mentioned. As it’s now closed I had to open a new thread…

    @djpaul mentioned you’d solved it using s2member plugin – can you share how you did this here? Or any extra code and where you put it?

    or if there’s a Bddypress way to do this I’d be keen to know too!

    Many thanks BP forum users 🙂

    #236264
    andantesash
    Participant

    I have the plugin “Buddypress Members Only” and the redirect is just the full link to the registration page “http://www.websitename.com” and I have Buddypress Page settings set as Registration page the same link as previously mentioned – but when you try to access the locked page unless registered it removes the “www.” hence the constant registration loop

    #236260
    andantesash
    Participant

    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?

    #236257
    ch1n3s3b0y
    Participant

    Hi @henrywright

    I have a quick question. I have included the code from the buddypress registration.php file into a custom page template in my child theme, however it isn’t working as it does within buddypress. Do I need to do something else within my custom template for the buddypress code to work?

    I tried

    global $bp as I thought this would work, but nope.

    #236253
    b2marketing
    Participant

    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.

    aljo1985
    Participant

    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.

    #236249
    headliner
    Participant

    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?

    shanebp
    Moderator

    If you’re using BP 2.2 +, you should use this approach instead:

    Post Types Activities

    My cpts appear.
    However, comments on them do not appear in the activity stream.

    Perhaps because I didn’t create a component for those cpts – I hope that is not the case.
    Hopefully this ticket will provide an answer.

    #236244
    Henry Wright
    Moderator

    Hi @gidantrip

    Please see 6107

    #236235

    In reply to: mentions not working

    aymanomar85
    Participant

    My problem is solved by deactivate buddypress like plugin then mention working fine.

    #236234
    aymanomar85
    Participant

    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.

    #236233
    gidantrip
    Participant

    Hello
    I have a problem with SEO Yoast title. In my buddypress page (activity, memeber, etc) title page doesnot appear! I use SEO YOAST plugin and when a disable it it does work correctly.
    What can I do????

    #236232
    peter-hamilton
    Participant

    This might help you, dont know myself but looks like it is adjustable to do what you need.

    Xprofile search

    nkeatign
    Participant

    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/

    aljo1985
    Participant

    Thanks for the info, I am actually new to WordPress and have not looked through all the functions. I have only built custom queries on custom tables on my own website that I am currently developing.
    I have tried wordpress in the past but then switched to other platforms as they was more adequate for my goals.

    But right now I am sticking with wordpress and building a new website :),
    I’m more use to sources and templates, scripting from scratch.

    Out of curiosity, which one is better on performance? A straight up query OR the function above.
    If there is security concerns with using a query, apart from sanitisation which I know and use on every custom table, then that info would be good to know also.

    Thanks.

    Edit, I would like to report a bug in your software, even though you posted this reply I got a notification for a reply in the first topic I made. I had no idea you replied to this other than looking through the latest list of topics.

    Here is a screen shot
    target=”_blank”>https://i.imgur.com/wxSgfsG.png

    Here is the topic in question that I got the notification for which only has 1 reply, but was from other topics.
    https://buddypress.org/support/topic/how-do-i-remove-textarea-resize-without-editing-the-js-script/?action=bbp_mark_read&topic_id=236164&_wpnonce=d849ee20f9#post-236164

    #236227
    somethingelse
    Participant

    ^+1 wow, i totally need this too… DESPERATELY.

    if i had realized just how difficult this was going to be to accomplish,i never would have started this project with buddypress. what is the point of xprofile fields if they are not easily searchable?

    there are so many GREAT things about buddypress, it’s super frustrating that this thing which seems to straightforward is so challenging.

    i have been searching … the “buddypress profile search” plugin is not the answer… it isn’t user friendly enough. I just want one search box – “find a teacher in your city” that will search 4 xprofile fields of all our teachers… ONLY THOSE FOUR FIELDS… and return the results.

    i’ve tried a google site-search tool, too…
    the trouble is that our teachers have bios, and in those bios they often include cities where they have trained, or toured, and we do NOT want those included in the “Find a teacher” results.

    i have Base City, and 3 “additional teaching locations” fields… those, and NAME, are the ONLY fields i want searchable.

    i can pay for help.
    but i figured this would be something simple i could do myself!

    #236224
    IHaveToDoThis
    Participant

    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

    #236222
    danbp
    Participant

    Hi,

    The pro version of this plugin works with BuddyPress:
    https://wordpress.org/plugins/sp-client-document-manager/

    #236220
    gmxperry
    Participant

    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!

    #236215
    danbp
    Participant

    Hi,

    The button is in /bp-legacy/buddypress/groups/index.php:19

    Make a copy of that file to your child-theme. (child-theme/buddypress/groups/index.php)

    Than you can remove the code or add a condition. For example, only the site admin will see All Groups.

    <?php if ( is_site_admin() ): ?>
       <li class="selected" id="groups-all"><a href="<?php bp_groups_directory_permalink(); ?>"><?php printf( __( 'All Groups <span>%s</span>', 'buddypress' ), bp_get_total_group_count() ); ?></a></li>
    <?php endif; ?>
    shanebp
    Moderator

    @aljo1985
    WP provides a function for getting users. No need for custom sql.
    https://codex.wordpress.org/Function_Reference/get_users

    @xidea
    Have you tried
    bp_has_members( bp_ajax_querystring( 'members' ) . '&type=newest' )

    Members Loop

    #236205
    serendipitycss3
    Participant

    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!

    xidea
    Participant

    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.

Viewing 25 results - 20,576 through 20,600 (of 94,538 total)
Skip to toolbar