Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 7,451 through 7,475 (of 69,108 total)
  • Author
    Search Results
  • #270012
    angrywarrior
    Participant

    Welp pretty much as it says;
    Is there a way to add a “cancel” button to the group creation wizard. If a end-user regrets his/her decision to create group then the group has been created anyway. So a potential bloat of the system which loads of unfinished grops can be prevented if there only was a “cancel” button in each step of the wizard.

    Thanks a lot in advance! 😉

    leog371
    Participant

    Ok, So hello again NiceCap. So what I see is that your activity link in the “Community” drop down menu link in the header there is actually being sent to the current /logged-inMmembers (Current User’s)/profile /activity page. Not the “Community Sites” activity page.

    What your getting is this

    https://www.cb-riding.com/members/leog371/

    what you want is this

    https://www.cb-riding.com/activity

    This is probably due to either having your menu setup wrong or your pages in settings/buddypress set up with the wrong pages. I would start by going into your menus. Its under appearance in your wp dashboard and make sure that link gores to https://www.cb-riding.com/activity.

    Then go to Settings/buddypress and make sure that the pages are set up correctly. Meaning “Activity Page” should be set to “Activity Page”.

    It appears that the activity stream is not taking on your header and your theme stuff. Not sure whats going on there, you should check that out. Anyways, your activities page is here

    #269981
    Varun Dubey
    Participant

    @crandalln
    BP have PHP7 support, Forum moderators have also confirmed it.
    https://buddypress.org/support/topic/buddypress-php7-compatible/

    #269980
    Varun Dubey
    Participant
    #269976
    Varun Dubey
    Participant

    @southstarasbestos You can follow documentation steps
    Installation
    Configuration

    #269974
    leog371
    Participant

    @dopeboy and @saz25. Here you go, I created a tutorial for you. Let me know if its helpful. Create Modal Login

    #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”.

Viewing 25 results - 7,451 through 7,475 (of 69,108 total)
Skip to toolbar