Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 14,526 through 14,550 (of 94,562 total)
  • Author
    Search Results
  • #255535
    @mercime
    Participant

    @destac There are different ways to implement the new feature. For the screenshot, I did it in 4 simple steps.

    Note that you might need to adjust how the widgets are registered, named, or styled based on your theme.

    1. Registered three new widget areas in the child/theme’s functions.php file.

    <?php // Only add this line if you are adding this to an empty functions.php file
    /**
     * Register three widget areas for Members front page.
     *
     * @since My Child Theme 2.6.0
     */
    function my_child_theme_widgets_init() {
    	register_sidebar( array(
    		'name'          => __( 'bp-members-1st', 'my-child-theme' ),
    		'id'            => 'bp-members-1st',
    		'description'   => __( 'Appears on each member\'s front page.', 'my-child-theme' ),
    		'before_widget' => '<aside id="%1$s" class="widget %2$s">',
    		'after_widget'  => '</aside>',
    		'before_title'  => '<h2 class="widget-title">',
    		'after_title'   => '</h2>',
    	) );
    
    	register_sidebar( array(
    		'name'          => __( 'bp-members-2nd', 'my-child-theme' ),
    		'id'            => 'bp-members-2nd',
    		'description'   => __( 'Appears on each member\'s front page.', 'my-child-theme' ),
    		'before_widget' => '<aside id="%1$s" class="widget %2$s">',
    		'after_widget'  => '</aside>',
    		'before_title'  => '<h2 class="widget-title">',
    		'after_title'   => '</h2>',
    	) );
    
    	register_sidebar( array(
    		'name'          => __( 'bp-members-3rd', 'my-child-theme' ),
    		'id'            => 'bp-members-3rd',
    		'description'   => __( 'Appears on each member\'s front page.', 'my-child-theme' ),
    		'before_widget' => '<aside id="%1$s" class="widget %2$s">',
    		'after_widget'  => '</aside>',
    		'before_title'  => '<h2 class="widget-title">',
    		'after_title'   => '</h2>',
    	) );
    }
    add_action( 'widgets_init', 'my_child_theme_widgets_init' );

    Adjust items registered in child theme based on how your theme is setting up the widget areas.

    2. Created a new file front.php which should be located as follows: wp-content/my-child-theme-folder/buddypress/members/single/front.php
    (Create the buddypress, members, and single directories/folders if you do not have those in your theme yet.)

    Added the following in the front.php file:

    <?php
    /**
     * BuddyPress - Members Front Page
     *
     * @since My Child Theme 2.6.0
     */
    ?>
    
    <div class="bp-member-front-wrap">
    
    	<div class="bp-member-front-1">
    		<?php dynamic_sidebar( 'bp-members-1st' ); ?>
    	</div>
    
    	<div class="bp-member-front-2">
    		<?php dynamic_sidebar( 'bp-members-2nd' ); ?>
    	</div>
    
    	<div class="bp-member-front-3">
    		<?php dynamic_sidebar( 'bp-members-3rd' ); ?>
    	</div>
    
    </div>

    3. Added some styles:

    .bp-member-front-wrap {
    	clear: both;
    	margin-bottom: 2em;
    }
    
    @media screen and (min-width: 46em) {
    	.bp-member-front-wrap {
    		clear: both;
    		margin-bottom: 1em;
    	}
    	.bp-member-front-1,
    	.bp-member-front-2 {
    		float: left;
    		margin-right: 1.5%;
    		width: 32%;
    	}
    	.bp-member-front-3 {
    		float: left;
    		width: 32%;
    	}
    }

    4. Went to Appearance > Widgets and add widgets to the Member Front Page Widget Areas.

    As mentioned above, there are other ways to implement this new feature. Happy customizing!

    #255534
    sharmavishal
    Participant

    Installing Group and Sitewide Forums

    read the above carefully

    #255525
    r-a-y
    Keymaster

    BuddyPress 2.6.1 was just released, which fixes this issue.

    wordpress.org still needs to be updated, but you can grab the release here:
    https://downloads.wordpress.org/plugin/buddypress.2.6.1.zip

    #255518
    r-a-y
    Keymaster

    I think your question would be better suited on the bbPress forums since bbPress provides forum functionality for BuddyPress groups:
    https://bbpress.org/forums

    #255516
    Scott Hartley
    Participant

    In 2.6 the front.php template was added for member pages. The ticket #6769 mentions the following.

    “I envisage something along the lines of a small dedicated repo on bp github”

    The only reason I mention this is because I am curious on how the example picture

    Was created. I was wondering if the repo did exist so I could grab the front.php template file and thus play with it from there. I apologize in advance if this has been asked before \0

    danbp
    Participant

    Hi @navyspitfire,

    when you pick up code somewhere, you should also read the comments. The solution to your issue was in one of them.

    Here is what wil exclude site admin from members directory and exclude also the logged_in user. The total member count will also be adjusted correctly on All members [x] tab and for the pagination count. $count-2 instead of $count-1 do the trick.

    Excluded members, incl. admin, are of course excluded from search.

    function bpex_hide_admin_on_member_directory( $qs=false, $object=false ){
    
    	// Id's to hide, separated by comma
    	$excluded_user = '1' ;
    
    	// hide to members & friends 
    	if($object != 'members' && $object != 'friends')
    	return $qs;
    	
    	$args = wp_parse_args($qs);
    	
    	if(!empty($args['user_id']))
    	return $qs;	
    	
    	if(!empty($args['exclude']))
    	$args['exclude'] = $args['exclude'].','.$excluded_user;
    	else
    	$args['exclude'] = $excluded_user;
    	
    	$qs = build_query($args);
    	
    	return $qs;
    	
    }
    add_action( 'bp_ajax_querystring','bpex_hide_admin_on_member_directory', 20, 2 );
    
    // once admin is excluded, we must recount the members !
    function bpex_hide_get_total_filter( $count ){
    	return $count-2;
    }
    add_filter( 'bp_get_total_member_count', 'bpex_hide_get_total_filter' );
    
    function bpex_exclude_loggedin_user( $qs = false, $object = false ) {
    
     //list of users to exclude
     if( !is_user_logged_in() )
         return $qs;
    
     //if the user is logged in , let us exclude her/him
     $excluded_user=  get_current_user_id();
      
     if( $object !='members' )//hide for members only
    	return $qs;
      
     $args=wp_parse_args($qs);
      
     //check if we are listing friends?, do not exclude in this case
     if( !empty( $args[ 'user_id' ] ) )
    	return $qs;
      
     if( !empty( $args['exclude'] ) )
    	$args['exclude'] = $args['exclude'] .','. $excluded_user;
     else
    	$args['exclude'] = $excluded_user;
      
    	$qs = build_query( $args );
      
     return $qs;
      
    }
    add_action('bp_ajax_querystring','bpex_exclude_loggedin_user', 20, 2 );

    Codex Reference

    Playing with the user’s ID in different contexts

    #255512
    snorklebum
    Participant
    #255511
    pfeufer
    Participant

    Hi,
    I’m using the BRIDGE theme. I am using the UserPro plugin, but that handles user profiles and avatars and coded to work with Buddypress.

    Thanks,
    John

    #255502

    Topic: Buddypress

    in group forum Installing BuddyPress
    kizzpatrick
    Participant

    Hello,
    I am using WordPress 4.4.4 and BuddyPress 2.6.0

    I am working on a project whereby users will fill the form and we will register them manually after registering them we will create their group. we will set the group administrator and he will add members in his groups through the group dashboard, not the back-end dashboard. as we want to group our users in groups we want to create their private dashboard where they will be able to view the package we sent them and be able to download them, they will be able to trace also the previous package we sent them. note that the groups are private, users of the website can’t see other groups except the one he belongs to and he can’t see other users within the same group.

    I was wondering if there is a way i can modify BuddyPress groups to achieve this
    I appreciate any help
    Thanks

    #255499
    bogski
    Participant

    It does indeed. There are a few development teams that specialise in both pieces of software. It is pretty good for it out of the box but once you start getting specific with your events and user management you need some custom code.

    We have a small chunk of code that will grab new users, work out which event they have signed up for and insert them into 2 BuddyPress groups based on the location of the event they have signed up for.

    Im not a PHP developer though so im not too sure of the exact details of how it works together.

    To be honest though, i never had chance to look into alternatives to either Event Espresso or BuddyPress. The website and plugins were already installed when i started working on the project. Most of what i have learnt about them both so far has been trial, error, headbutt keyboard and repeat.

    I have worked out though that it is definitely an issue with BuddyPress and EE (after all that). It seems the BuddyPress login and registration takes precedence over the Event Espresso one.

    It also seems to be creating new users as moderators as well. But thats a different story and isnt a BuddyyPress issue.

    PhilB

    #255490
    sharmavishal
    Participant

    dont use Event Espresso….have used events organizer and events manager this 2 plugins which support buddypress…does Event Espresso support buddypress?

    #255488
    bogski
    Participant

    Thanks for that. Im still trying to work out where it is breaking so im just asking the same question on all support forums for the plugins that i use.

    A shot in the dark, but can you think of anything that could cause the EE and BuddyPress to stop working? I know that they are both popular plugins and people do use them in conjunction with each other.

    Phil

    #255486
    zzkamikazezz
    Participant

    previous discussion I found, I could be running in to the same issue, it may be due to deleting users asI am still building and testing the site:
    https://buddypress.org/support/topic/why-does-group-count-not-go-down-when-you-delete-group/

    However I notice it ays there are 8 groups, 7 of which are ‘my groups’, but only 5 groups are really on my site now.

    #255485
    danbp
    Participant

    May be reading this topic can help you to debug ?

    Fatal error on a BuddyPress 2.6.0 upgrade

    #255484
    danbp
    Participant

    Hi,

    seems same issue as the one related here (has fix).

    Notifications displaying “array”

    #255479
    Nina15
    Participant

    Since v2.6.0 on WP 4.5.3 users successfully registered (yes pending activation) cannot login after activation by Super Admin (on multisite install) or Site Admin (on main site install). ERROR: The password you entered for the username <username> is incorrect.
    Users self-activated via email link can login without any problems. This seems to be a bug with admin activation that needs to be addressed.
    The database row for wp_users seems to be all correct including the password in hash format.
    Can any of the gurus please confirm my findings?

    #255477
    insitesdigital
    Participant

    I am looking to use BuddyPress for a professional network.

    Does anyone know how to do or whether it is possible to moderate posts? Something to cover group posts, normal posts and potentially comments.

    If a new user posts content that the administrators wouldn’t want to be seen on the site is there a way to approve or deny posts?

    Thanks,

    bogski
    Participant

    Hello,

    I have a website online at the moment that uses BuddyPress to look after membership. The website also uses Event Espresso to manage the events sold through the website.

    One of the big problems was new users would be taken away from the checkout pages after registration. An update to the EE system changed this so they would be able to carry on as normal. which was great.

    However it seems now that when i turn BuddyPress back on in the Dashboard, the registration part fails and just defaults back to the original registration form, which then takes the users away from the checkout. So i was wandering, how does the BuddyPress login work? does it use the default wp-login.php and register.php? or does it use its own login scripts? I can appreciate this is quite a specific issue so im looking more for guidance on possible causes instead of an all out solution. I mainly need to work out if it is the BuddyPress side of things or the Event Espresso side of things that is breaking. SO if anyone could help trouble shoot the BuddyPress side of things it would be much appreciated.

    Phil

    #255469
    pfeufer
    Participant

    I am trying to upload a new Buddypress Group photo (avatar), but I get a error that says:

    “Upload Failed! Error was: That photo is too big. Please upload one smaller than”

    I know my group photo is not too large because I even made a really small one that is 100px x 100px and I still get the warning.

    Thanks!
    John

    #255465
    sharmavishal
    Participant
    #255463
    r-a-y
    Keymaster

    @rintusibi – If you’re referring to this fix:
    https://buddypress.trac.wordpress.org/attachment/ticket/7140/7140.01.patch

    This will be part of BuddyPress 2.6.1.

    #255461
    adamvweb
    Participant

    I’m creating an intranet for the group holdings company, so different users will need to have access to different documents / projects, so my question is, what is the best document handling and project handling plugins, and how do I implement these different member permissions?

    #255460
    Rintu Thomas
    Participant

    Hi,
    I have the same problem like “Fatal error: Call to undefined function bp_get_current_group_id() in /home/…/public_html/…/wp-content/plugins/buddypress/bp-groups/classes/class-bp-group-extension.php on line 484”. The solution given above can fixed the issue, but it is affecting when i am updating the plugin. So, how can i override this file inside the theme so that the change wont lose when i update the plugin buddypress.

    #255456
    Kev Provance
    Participant

    I noticed that if I attempt to override the BuddyPress CSS in the plugin by adding a copy of it to theme/buddypress/css/buddypress.css that I lose all the inline styles that make the members pages look good, to wit, the background image stuff.

    I see that when the plugin is permitted to load it’s CSS inherently, the handle is bp-legacy-css, which of course allows for the inline styles of bp-legacy-css-inline to load up.

    Now, when using the theme specific copy of buddypress.css, it gets the handle bp-parent-css and consequently, no inline styling for the member page, and presumably other things.

    Is this by design? I’d prefer to keep the nice looking member pages, but I need to cut out some stuff in the buddypress.css completely as to apply my own styles (not as simple as using !important. Some stuff has to go completely)

    I tried deregistering the bp-parent-css and enqueueing my theme specific version with the bp-legacy-css handle, but alas, wherever the WP_add_inline_style is being called, it’s happening too late.

    On BP 2.6.0, WP 4.5.3

    Thanks.

    #255451
    danbp
    Participant

    @infrablue,

    i haven’t see your topic. Typo error in Readme is fixed.
    You can download the file from here:
    https://translate.wordpress.org/locale/fr/default/wp-plugins/buddypress

    Thank you @henrywright

Viewing 25 results - 14,526 through 14,550 (of 94,562 total)
Skip to toolbar