Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 7,401 through 7,425 (of 69,045 total)
  • Author
    Search Results
  • #269971
    Anthony Tornambe
    Participant

    I use buddypress plugins to optimize it.

    leog371
    Participant

    I completely Disagree! BuddyPress has served me well in over 250 projects. I only use 3 plugins on average and never use any pre-made themes. I have developed over 250 perfectly working and extremely customized communities and learning websites as well as intranet sites using BuddyPress and have never had any issues with it. I have never had any issues making it do just exactly what I want to to do “Well, there maybe one or 2 items I would change”.

    Anyways, my point is, if you know how to work with WP’s flavor of messed up PHP, if you know how to use the codex, the extensive list of attributes and hooks, actions and filters that are listed all over the web, BuddyPress is a pretty puppy that can pretty much act, do or become anything you want without all the plugins.

    As far as the help goes around here, Well, yes, It has a lot to be desired. When you post a question, you must realize that not everyone here can help. A lot of the members here are looking for help themselves. The guys who can help are often times bogged down trying to help others and along with having work of their own to complete for their jobs at the same time. So yes, the help here is sparse but no one ever said that this was the help desk or the help line. Its just a forum for people to ask questions and get replies from other members and sometime staff that will help out someone when we can.

    And Finally……
    Wordpress and BuddyPress are basically developers platforms. It just so happens that its simple enough that basically anyone who has a desire to learn or are at least brave enough to look into some files can make changes and even figure out how to make a theme if they want. No one ever said it was easy for everyone which is why a lot of people pay other people to do the work for them. If you fall into this category, please just pay someone to do the work and stop whining about not getting help because you dont know what your doing.

    #269965
    leog371
    Participant

    Hi TFord06, It looks like this is a duplicate post of your other post “Buddypress Avatar Cropping Mobile – Portrait”. I have replied on your other posting.
    Please try to limit your queries to just one post please. It helps keep the clutter down in the forums. Thanks

    #269959
    leog371
    Participant

    1. go into your WP dashboard
    2. go to “Plugins” tab just below “Apperance” and Just above “Users”
    3. Hover Over “Plugins” and click “Add New”
    4. You Should see the “Buddypress Plugin” card right there. Click Install
    5. If not, simply use the search feature there to search for BuddyPress
    6. Once you find the “BuddyPress Plugin” click install
    7. After Install, Activate it
    8. After you activate it, go to the “Settings” tab at the bottom of your WP Dashboard
    9. Under “Settings” you will see a “BuddyPress” Tab
    10. Got thru the 3 tabs of settings to set it up. Its easy and quick
    11. Check the new pages that you and BuddyPress Just added and see what kind of adjustments need to be made for your visual theme.
    12. Viola! you have BuddyPress.
    Should take less than 10 minutes for everything except any minor or major adjustments or tweaks in your theme if you even need any.

    #269957
    leog371
    Participant
    /**
     * Output the Add Friend button.
     *
     * @since 1.0.0
     *
     * @see bp_get_add_friend_button() for information on arguments.
     *
     * @param int      $potential_friend_id See {@link bp_get_add_friend_button()}.
     * @param int|bool $friend_status       See {@link bp_get_add_friend_button()}.
     */
    function ct_add_friend_button( $potential_friend_id = 0, $friend_status = false ) {
    	echo get_add_friend_button( $potential_friend_id, $friend_status );
    }
    
    /**
    	 * Create the Add Friend button.
    	 *
    	 * @since 1.1.0
    	 *
    	 * @param int  $potential_friend_id ID of the user to whom the button
    	 *                                  applies. Default: value of {@link bp_get_potential_friend_id()}.
    	 * @param bool $friend_status       Not currently used.
    	 * @return false|string HTML for the Add Friend button.
    	 */
    	function get_add_friend_button( $potential_friend_id = 0, $friend_status = false ) {
    
    		if ( empty( $potential_friend_id ) )
    			$potential_friend_id = bp_get_potential_friend_id( $potential_friend_id );
    
    		$is_friend = bp_is_friend( $potential_friend_id );
    
    		if ( empty( $is_friend ) )
    			return false;
    
    		switch ( $is_friend ) {
    			case 'pending' :
    				$button = array(
    					'id'                => 'pending',
    					'component'         => 'friends',
    					'must_be_logged_in' => true,
    					'block_self'        => true,
    					'wrapper_class'     => 'friendship-button pending_friend',
    					'wrapper_id'        => 'friendship-button-' . $potential_friend_id,
    					'link_href'         => wp_nonce_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/requests/cancel/' . $potential_friend_id . '/', 'friends_withdraw_friendship' ),
    					'link_text'         => __( 'Cancel Friendship Request', 'buddypress' ),
    					'link_id'           => 'friend-' . $potential_friend_id,
    					'link_rel'          => 'remove',
    					'link_class'        => 'friendship-button pending_friend requested'
    				);
    				break;
    
    			case 'awaiting_response' :
    				$button = array(
    					'id'                => 'awaiting_response',
    					'component'         => 'friends',
    					'must_be_logged_in' => true,
    					'block_self'        => true,
    					'wrapper_class'     => 'friendship-button awaiting_response_friend',
    					'wrapper_id'        => 'friendship-button-' . $potential_friend_id,
    					'link_href'         => bp_loggedin_user_domain() . bp_get_friends_slug() . '/requests/',
    					'link_text'         => __( 'Friendship Requested', 'buddypress' ),
    					'link_id'           => 'friend-' . $potential_friend_id,
    					'link_rel'          => 'remove',
    					'link_class'        => 'friendship-button awaiting_response_friend requested'
    				);
    				break;
    
    			case 'is_friend' :
    				$button = array(
    					'id'                => 'is_friend',
    					'component'         => 'friends',
    					'must_be_logged_in' => true,
    					'block_self'        => false,
    					'wrapper_class'     => 'friendship-button is_friend',
    					'wrapper_id'        => 'friendship-button-' . $potential_friend_id,
    					'link_href'         => wp_nonce_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/remove-friend/' . $potential_friend_id . '/', 'friends_remove_friend' ),
    					'link_text'         => __( 'Unfriend', 'buddypress' ),
    					'link_id'           => 'friend-' . $potential_friend_id,
    					'link_rel'          => 'remove',
    					'link_class'        => 'friendship-button is_friend remove'
    				);
    				break;
    
    			default:
    				$button = array(
    					'id'                => 'not_friends',
    					'component'         => 'friends',
    					'must_be_logged_in' => true,
    					'block_self'        => true,
    					'wrapper_class'     => 'friendship-button not_friends',
    					'wrapper_id'        => 'friendship-button-' . $potential_friend_id,
    					'link_href'         => wp_nonce_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/add-friend/' . $potential_friend_id . '/', 'friends_add_friend' ),
    					'link_text'         => __( 'Add Friend', 'buddypress' ),
    					'link_id'           => 'friend-' . $potential_friend_id,
    					'link_rel'          => 'add',
    					'link_class'        => 'btn btn-danger'
    				);
    				break;
    		}
    
    		/**
    		 * Filters the HTML for the add friend button.
    		 *
    		 * @since 1.1.0
    		 *
    		 * @param string $button HTML markup for add friend button.
    		 */
    		return bp_get_button( apply_filters( 'get_add_friend_button', $button ) );
    	}
    ?>
    #269956
    leog371
    Participant
    /* Example to Change item names of user’s and group’s nav menus ...
    Profile Menu https://codex.buddypress.org/developer/navigation-api/#examples
    */ 
    function bpcodex_rename_profile_tabs() {
      
          buddypress()->members->nav->edit_nav( array( 'name' => __( 'My Forums', 'textdomain' ) ), 'forums' );
          buddypress()->members->nav->edit_nav( array( 'name' => __( 'MY Groups', 'textdomain' ) ), 'groups' );
      
    }
    add_action( 'bp_actions', 'bpcodex_rename_profile_tabs' );
    /* Example to Rename Group Menus https://codex.buddypress.org/developer/navigation-api/#examples*/ 	
    function bpcodex_rename_group_tabs() {
     
        if ( ! bp_is_group() ) {
            return;
        }
        
        buddypress()->groups->nav->edit_nav( array( 'name' => __( 'Group Discussion', 'buddypress' ) ), 'forum', bp_current_item() );
    	buddypress()->groups->nav->edit_nav( array( 'name' => __( 'Group Members', 'buddypress' ) ), 'members', bp_current_item() );
    	buddypress()->groups->nav->edit_nav( array( 'name' => __( 'Group Activity', 'buddypress' ) ), 'home', bp_current_item() );
    }
    add_action( 'bp_actions', 'bpcodex_rename_group_tabs' );	
    	
    /* Example to Remove subnav tabs from Group Settings  https://codex.buddypress.org/developer/navigation-api/#examples*/ 	
    	function bpcodex_remove_group_manager_subnav_tabs() {   
        // site admin will see all tabs
        if ( ! bp_is_group() || ! ( bp_is_current_action( 'admin' ) && bp_action_variable( 0 ) ) || is_super_admin() ) {
            return;
        }
           // all subnav items are listed here.
           // comment those you want to show
            $hide_tabs = array(             
            //  'group-settings'    => 1,
            //    'delete-group'      => 1,
             //   'group-avatar'      => 1,
            //  'group-invites'     => 1,
             //   'manage-members'    => 1,
            //  'forum'             => 1,
            //  'group-cover-image' => 1
            );
                       
            $parent_nav_slug = bp_get_current_group_slug() . '_manage';
      
        //Remove the nav items
        foreach ( array_keys( $hide_tabs ) as $tab ) {
            bp_core_remove_subnav_item( $parent_nav_slug, $tab, 'groups' );
        }   
    }
    add_action( 'bp_actions', 'bpcodex_remove_group_manager_subnav_tabs' );
    
    Renato Alves
    Moderator

    You can certainly use BuddyPress WP CLI for that: https://github.com/buddypress/wp-cli-buddypress

    It has a wp bp group member command.

    Something like wp bp group member remove --group-id={GROUP_ID} --user-id={MEMBER_ID}

    #269938
    seanbees
    Participant

    Hey @vapvarun I appreciate your response. However I am not speaking of the default links that BuddyPress natively provides. I am speaking of creating custom menu links where I can swap out the members username, for example my username being “seanb” with a default name or something along those lines. That way it will take them to their own respective page.

    Varun Dubey
    Participant

    @ingohaeck try to deactivate other BuddyPress plugins and keep BuddyPress plugin active; it might be possible any 3rd party plugin is filtering your activity stream.

    #269936
    Varun Dubey
    Participant

    Hi @seanbees
    You can find BuddyPress specific links with menu section, Click on “Screen Options” to open up the panel at the top of the screen and check the “BuddyPress” option under the “Show On Screen” section.

    BuddyPress Links in WordPress Menus

    #269934

    In reply to: Profile Fields Issue

    Varun Dubey
    Participant

    @hypuk BuddyPress only adds Name fields as primary field, it might be possible your theme or any plugin is adding those fields via custom codes.

    #269932
    Varun Dubey
    Participant

    @ranajoyc BuddyPress expend the WordPress functionality, it uses the same user tables which are created by regular WordPress installations. WordPress users will always be part of your BuddyPress community.

    #269928

    In reply to: the7 theme

    crazycoolbs
    Participant

    The 7 is not compatible with buddypress. I buy this theme before 2 week and just wonder how to do it the buddypress.

    #269921

    In reply to: Filter activity action

    Skyrie
    Participant

    @graeme_bryson and for anyone else who wants to know, this code should work!

    function my_activity_posted_by_action( $action, $activity ) {
    	$action = sprintf( __( '%s', 'buddypress' ), bp_core_get_userlink( $activity->user_id ) );
    	return $action;
    }
    add_filter( 'bp_activity_new_update_action', 'my_activity_posted_by_action', 1, 2 );

    This should do the trick:

    function bgmc_nosubs_redirect() {
    	
    	if ( current_user_can( 'Customer' ) && is_buddypress() ) {
    		wp_redirect( home_url( '' ) ); 
    		exit();
    	}
    
    }
    add_filter( 'template_redirect', 'bgmc_nosubs_redirect' );
    

    Note – untested, but theory is sound 🙂

    #269911
    pmhn
    Participant

    Hi Will,

    Sorry for the post-hijack but I’ve been looking for a solution to a problem that you’ve eluded to;

    Are you saying that s2Member will allow users to register using BuddyPress, to join a buddypress group (using https://en-gb.wordpress.org/plugins/buddypress-registration-groups-1/) AND a corresponding mailchimp group, all within the same registration process?

    If so then I’d like to kiss you – I’ve been looking for a solution to this for months.

    Chris.

    #269910

    In reply to: Course Group Error

    quentro
    Participant

    To resolve this issue, Open and edit file at /plugins/boss-learndash/templates/learndash-buddypress/buddypress-group-single.php

    Replace line #116 with the next line.

    printf( _n( '%s '.LearnDash_Custom_Label::get_label( 'lesson' ), '%s '.LearnDash_Custom_Label::get_label( 'lessons' ), count($total_lessons), 'boss-learndash' ), count($total_lessons) );

    #269875
    knight287
    Participant

    I came across this topic: https://buddypress.org/support/topic/http-error-when-uploading-buddypress-avatar-profile-photo/

    I checked and got “PHP GD library is installed on your web server”. So PHP GD is installed on the server.

    #269871
    seanbees
    Participant

    Tried editing the topic category, would not let me. Should be in “How-to” instead of “Installing BuddyPress”.

    #269869
    Jonas
    Participant
    #269868
    maltelol123
    Participant

    To clarify: I do not want to overload my current WordPress theme anymore. I just want to use the standard BuddyPress template located in the plugin directory. All natively!

    If I delete the folders “/community” or “/members” for example in my WordPress theme directory or delete the functions of BuddyPress in my theme’s functions.php, the website crashes unfortunately.

    Thanks!

    #269852
    Michael Gentry
    Participant

    I truly do thank-you for all of this! It’s pointing me in the right direction for what I want to accomplish. I feel like I just need a better understanding of the infrastructure of WordPress, and how BuddyPress works together with it. And you are right, there are endless amounts of options!I’m just stuck on how i would customize the X theme to how i would want it. I would rather do all of this in the beginning by myself, and hire a developer if need be down the road.

    – If the plugin conflicts with the theme how would one go about fixing that?
    – How would I begin to customize the CSS of the activity streams for users? Where would most of this customizing be taking place? In other words, how would I add the custom CSS to the site?

    These would be huge for me to know

    #269844
    leog371
    Participant

    Hey Frank, I guess the best question to ask you after all this is how comfortable are you with digging into or working with html, css and basic php?

    If a pre made theme is what your looking for, how comfortable are you with taking hours and days looking thru theme demos to find your golden pony or at least making child themes or customizing code?

    And then to answer you more specifically to your “How long would it take to develop a theme like the one I described?” , I guess that just depends really. Over the years I have accumulated many libraries of code and theme snippets and I know where everything is in WP/BP core and template files. So for me, A fully custom and dressed out theme might take anywhere from 3 days to 3 weeks if I know exactly what I am working towards at the beginning and have a clear, though out, planned out idea. If I hen peck it or free hand it” like I do from time to time” It may take a day or it might take 8 months, lol.

    As a bit of comfort to your quandary, everything you asked for in your opening inquiry is all ready done for you in BuddyPress “for the most part”. A theme like the one you describe sounds like a 3 day to 1 week job to me. Keep in mind however that with me saying that, things always have a way changing and evolving into monsters, lol.

    So lets break down your theme and see how it look on paper…. He He, my favorite part…

    1. I want users to come to my site, register, and log in…… (Its all ready there) just have to set it up to your liking. It can all be customized quite a bit as well.

    2. I would love to be able to customize the way these pages look!(background image, logo, and content inside them)……… (The logo, background and most of the design items are easy breezy as long as your ok with basic html and css and not looking for flying dragons and wizards shooting lightning bolts across the screen. Alas, even those can be done with css, flash and JS, lol. )

    3. I’m not looking for a full-blown social media site (yet)…….No need to have what you dont want to use. BP has a full host of controls to limit what can be done onsite by users or what is implemented frontend in its settings. WP Dash/settings/buddypress. Select what you want to use. You also have the ability to write functions, and use hooks and actions and filters to limit or build on anything you like.

    4. I want to build a site that where users can log in, create a “blog” excerpt with media …… There are several ways to do this in buddypress, just have to plan it out and test the methods and see what works for you. Mu, Activity and Groups/Forums.

    5. They should also be able to put a location tag on it. ….. it sounds like this is what x-profile fields are good for. Just create your custom location field and add it with a template tag in the loop you want to use it in. They fill out the filed on their profile page and it will display in that loop.

    6. When they post it, the only people I want to see that are the people they added as friends or if they have their profile set to public……BuddyPress frontend “user profile area” has a settings tab, under it are quite a few privacy features, not fully comprehensive in my opinion but there are a few plugins that add on to this and you can code it in as well. either way. Easy task.

    7. And when it shows up on their friend’s news feed it should just show a featured image, title, and the beginning of their text with a like counter….. Easy enough, just write the loop that way, lol. Easy to do.

    8. When their friends click on that post it brings them to the full blog post, not just the featured image. Their friends can favorite the content or comment on it. …..The natural behavior of WP and BP posts so we are good there.

    9. On a users profile, I would like to show their recent posts, and posts they’ve favorited…. Thats what the friends tab shows but you can add custom queries, and stuff and otherwise tear it apart and pick it of the pieces you want and use them in other places to make custom loops and queries and all kinds of goodness, lol. As long as you make sure things are firing in the right places and make sure certain things are in the loops where they belong, No worries.

    10. Site homepage is basically just a file called front-page.php. Copy the page.php from the theme root and then customize the heck out it. Work it up however you like.

    As far as the themes go, I never use premade themes. I do however make full use of the libraries of code I have accumulated, (_s) and bootstrap for a lot of my work. Cheesy I know but hey, it saves me time and money and gives me freedom. I rarely find the need to actually make a complete custom theme or write much in the way of custom code from scratch anymore. And I certainly never purchase any themes. So I am not the best person to ask about themes really. I know that there are tons of themes that do all kinds of stuff available around the web. Just have to give them the litmus test and see if they fit your project.

    Let me know if you have any other questions or what have you. I will be around.

    leog371
    Participant

    Take a look here and see if this gets you going in the right direction

    Reorder Tabs and Links In Buddypress

    #269822
    peter-hamilton
    Participant

    Ofcourse you could also go to…

    dashboard > settings > menus

    And select “profile” from the “buddypress” menu options on the left, if you do not see any buddypress links you should click the “screen options” on right top of page and select buddypress.

Viewing 25 results - 7,401 through 7,425 (of 69,045 total)
Skip to toolbar