Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 16,651 through 16,675 (of 69,016 total)
  • Author
    Search Results
  • #183125
    SK
    Participant

    @henrywright
    Unfortunately no updates. The wireframes have been done for a while, but I don’t believe a decision has been taken.


    @ciromanigrasso

    Please visit and chime in at
    https://buddypress.trac.wordpress.org/ticket/4132 and https://buddypress.trac.wordpress.org/ticket/5583

    #183120
    danbp
    Participant

    Probably a theme issue. Which one do you use ? If you use a premium theme, you should ask on the theeme support anyway, not here.
    Read here.

    #183119
    danbp
    Participant

    Please read here.

    #183118
    danbp
    Participant

    @ciromanigrasso
    open a new tread please – this one is 3 1/2 years old…. 👿 – read here before and explain YOUR issue!

    Thx

    #183117
    danbp
    Participant

    @simpleone,
    you found the reason why it doesn’t work on one site and not on the other !
    1.9.1 and 2.0.1 are sligthly different BP version !
    And the function you mention whas only introduced in BP 2.0, so this can’t anyway work on previous versions.

    Actually there is a small bug in BP 2.0+ when using this function to modify profile groups. I opened a ticket about this and @imath provided a patch that works and let the function handle correctly on profile groups. I personnally use this function to conditionnally show/hide fields from the base group without problems. My profile form contains over 20 fields in differents groups, even Base, and are all required and viewable by members only.

    I advise you to cancel whatever you have done about this so far, to apply the patch, to add the function to bp-custom.php and to test again.

    danbp
    Participant

    Please don’t post BP files, it’s really unnecessary. We’re all BP user ! 👿
    Sorry, i didn’t correctly understand your request. I thought you wanted to change the order of the selectbox filters. If you also interested, see this old tread.

    SWA shows by default all site activities and they can be filtered. It is well documented on the Codex.

    If for some reason you don’t want to modify a theme file, you can use a custom function and put it into bp-custom.php

    Example ( BP 2.0+ only)

    function make_swa_show_notice_only( $retval ) {	
    	
    	 if ( bp_is_page( 'activity' ) ) {
    		$retval['action'] = 'activity_update';					
    	 }
    	
    	return $retval;
    	
    }
    add_filter( 'bp_after_has_activities_parse_args', 'make_swa_show_notice_only' );

    Now the swa shows only notices (if exist). If you need to see a member activity, you have to go on his profile. Same for groups, the activity is only on the group page.

    dugfunny
    Participant

    heres my code….

    <?php do_action( 'bp_before_directory_activity' ); ?>
    
    <div id="buddypress">
    
    	<?php do_action( 'bp_before_directory_activity_content' ); ?>
    
    	<?php if ( is_user_logged_in() ) : ?>
    
    		<?php bp_get_template_part( 'activity/post-form' ); ?>
    
    	<?php endif; ?>
    
    	<?php do_action( 'template_notices' ); ?>
    
    	<div class="item-list-tabs activity-type-tabs" role="navigation">
    		<ul>
    			<?php do_action( 'bp_before_activity_type_tab_all' ); ?>
    
    			<li class="selected" id="activity-all"><a href="<?php bp_activity_directory_permalink(); ?>" title="<?php esc_attr_e( 'The public activity for everyone on this site.', 'buddypress' ); ?>"><?php printf( __( 'All Members <span>%s</span>', 'buddypress' ), bp_get_total_member_count() ); ?></a></li>
    
    			<?php if ( is_user_logged_in() ) : ?>
    
    				<?php do_action( 'bp_before_activity_type_tab_friends' ); ?>
    
    				<?php if ( bp_is_active( 'friends' ) ) : ?>
    
    					<?php if ( bp_get_total_friend_count( bp_loggedin_user_id() ) ) : ?>
    
    						<li id="activity-friends"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/' . bp_get_friends_slug() . '/'; ?>" title="<?php esc_attr_e( 'The activity of my friends only.', 'buddypress' ); ?>"><?php printf( __( 'My Friends <span>%s</span>', 'buddypress' ), bp_get_total_friend_count( bp_loggedin_user_id() ) ); ?></a></li>
    
    					<?php endif; ?>
    
    				<?php endif; ?>
    
    				<?php do_action( 'bp_before_activity_type_tab_groups' ); ?>
    
    				<?php if ( bp_is_active( 'groups' ) ) : ?>
    
    					<?php if ( bp_get_total_group_count_for_user( bp_loggedin_user_id() ) ) : ?>
    
    						<li id="activity-groups"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/' . bp_get_groups_slug() . '/'; ?>" title="<?php esc_attr_e( 'The activity of groups I am a member of.', 'buddypress' ); ?>"><?php printf( __( 'My Groups <span>%s</span>', 'buddypress' ), bp_get_total_group_count_for_user( bp_loggedin_user_id() ) ); ?></a></li>
    
    					<?php endif; ?>
    
    				<?php endif; ?>
    
    				<?php do_action( 'bp_before_activity_type_tab_favorites' ); ?>
    
    				<?php if ( bp_get_total_favorite_count_for_user( bp_loggedin_user_id() ) ) : ?>
    
    					<li id="activity-favorites"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/favorites/'; ?>" title="<?php esc_attr_e( "The activity I've marked as a favorite.", 'buddypress' ); ?>"><?php printf( __( 'My Favorites <span>%s</span>', 'buddypress' ), bp_get_total_favorite_count_for_user( bp_loggedin_user_id() ) ); ?></a></li>
    
    				<?php endif; ?>
    
    				<?php if ( bp_activity_do_mentions() ) : ?>
    
    					<?php do_action( 'bp_before_activity_type_tab_mentions' ); ?>
    
    					<li id="activity-mentions"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/mentions/'; ?>" title="<?php esc_attr_e( 'Activity that I have been mentioned in.', 'buddypress' ); ?>"><?php _e( 'Mentions', 'buddypress' ); ?><?php if ( bp_get_total_mention_count_for_user( bp_loggedin_user_id() ) ) : ?> <strong><span><?php printf( _nx( '%s new', '%s new', bp_get_total_mention_count_for_user( bp_loggedin_user_id() ), 'Number of new activity mentions', 'buddypress' ), bp_get_total_mention_count_for_user( bp_loggedin_user_id() ) ); ?></span></strong><?php endif; ?></a></li>
    
    				<?php endif; ?>
    
    			<?php endif; ?>
    
    			<?php do_action( 'bp_activity_type_tabs' ); ?>
    		</ul>
    	</div><!-- .item-list-tabs -->
    
    	<div class="item-list-tabs no-ajax" id="subnav" role="navigation">
    		<ul>
    			<li class="feed"><a href="<?php bp_sitewide_activity_feed_link(); ?>" title="<?php esc_attr_e( 'RSS Feed', 'buddypress' ); ?>"><?php _e( 'RSS', 'buddypress' ); ?></a></li>
    
    			<?php do_action( 'bp_activity_syndication_options' ); ?>
    
    			<li id="activity-filter-select" class="last">
    				<label for="activity-filter-by"><?php _e( 'Show:', 'buddypress' ); ?></label>
    				<select id="activity-filter-by">
    					<option value="-1"><?php _e( 'Everything', 'buddypress' ); ?></option>
    					<option value="activity_update"><?php _e( 'Updates', 'buddypress' ); ?></option>
    
    					<?php if ( bp_is_active( 'blogs' ) ) : ?>
    
    						<option value="new_blog_post"><?php _e( 'Posts', 'buddypress' ); ?></option>
    						<option value="new_blog_comment"><?php _e( 'Comments', 'buddypress' ); ?></option>
    
    					<?php endif; ?>
    
    					<?php if ( bp_is_active( 'forums' ) ) : ?>
    
    						<option value="new_forum_topic"><?php _e( 'Forum Topics', 'buddypress' ); ?></option>
    						<option value="new_forum_post"><?php _e( 'Forum Replies', 'buddypress' ); ?></option>
    
    					<?php endif; ?>
    
    					<?php if ( bp_is_active( 'groups' ) ) : ?>
    
    						<option value="created_group"><?php _e( 'New Groups', 'buddypress' ); ?></option>
    						<option value="joined_group"><?php _e( 'Group Memberships', 'buddypress' ); ?></option>
    
    					<?php endif; ?>
    
    					<?php if ( bp_is_active( 'friends' ) ) : ?>
    
    						<option value="friendship_accepted,friendship_created"><?php _e( 'Friendships', 'buddypress' ); ?></option>
    
    					<?php endif; ?>
    
    					<option value="new_member"><?php _e( 'New Members', 'buddypress' ); ?></option>
    
    					<?php do_action( 'bp_activity_filter_options' ); ?>
    
    				</select>
    			</li>
    		</ul>
    	</div><!-- .item-list-tabs -->
    
    	<?php do_action( 'bp_before_directory_activity_list' ); ?>
    
    	<div class="activity" role="main">
    
    		<?php bp_get_template_part( 'activity/activity-loop' ); ?>
    
    	</div><!-- .activity -->
    
    	<?php do_action( 'bp_after_directory_activity_list' ); ?>
    
    	<?php do_action( 'bp_directory_activity_content' ); ?>
    
    	<?php do_action( 'bp_after_directory_activity_content' ); ?>
    
    	<?php do_action( 'bp_after_directory_activity' ); ?>
    
    </div>
    
    #183093
    Henry Wright
    Moderator

    Check out this article on what hooks are and how you can use them to interact with WordPress and BuddyPress:

    https://codex.wordpress.org/Plugin_API

    #183090
    flohaase
    Participant

    Sorry, I am new to WordPress and BuddyPress so I Need some more information.

    danbp
    Participant

    You simply have to modify the html order of the select you will find in /wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/index.php.

    This will only affect the site wide activity Show: [All]

    If you want the same behaviour on all activity pages, you have to change accordingly each index.php file of each activate component.

    #183083
    localiseorg
    Participant

    The only one I have personally tested is this: https://wordpress.org/plugins/bp-moderation/

    It’s clunky but seems to work. I have no idea what mess it might create in the database.

    For any community or social networking platform to survive, it’s essential that content moderation can be divested to and distributed amongst the end-users. IMHO this sort of functionality should be bundled with BuddyPress.

    #183079
    danbp
    Participant

    In addition, i woud warn any user who want to use bp_parse_args to exclude profile groups (exclude_groups only), that you will get a php warning.
    To avoid this, please read this ticket and apply the patch (BP 1.5 to 2.0.1).

    #183078

    In reply to: 2.1 top features

    SK
    Participant

    if this part of the core functionality (and the chat as well), then so much the better.

    I agree. And if you do feel that way, you should go say so at the Trac ticket https://buddypress.trac.wordpress.org/ticket/4126

    #183075
    danbp
    Participant

    Hi @SimpleOne,

    read from line 154 in bp-xprofile-classes.php file. It contains many information for what you want to do.
    See also on Codex here and here

    You can also revert your changes back and use this kind of function (goes into theme’s functions.php or bp-custom.php):

    function simple_one_hide_some_profile_fields( $retval ) {	
    	
    	if(  bp_is_profile_edit() ) {		
    		$retval['exclude_fields'] = '48';	//field ID's separated by comma
    		
    	}	
    	
    	return $retval;
    	
    }
    add_filter( 'bp_after_has_profile_parse_args', 'simple_one_hide_some_profile_fields' );

    May this help ? 😉

    #183070
    cyndimarie
    Participant

    I fixed the issue by enabling Extended Profiles in the buddypress settings. I had it disabled since I only needed very basic member functionality. And now the activation page works great.

    #183069
    cyndimarie
    Participant

    I fixed the fatal error by enabling Extended Profiles in the buddypress settings. I had it disabled since I only needed very basic member functionality. And now the activation page works great.
    Thanks for the help 🙂

    #183066

    In reply to: Nothing seems to work

    shanebp
    Moderator
    #183061
    Morgan Kay
    Participant

    I just figured out how to do this the other day and wrote a blog post about it:

    Using BuddyPress Language Files to Customize Headers and Messages

    I hope that helps!

    #183060

    In reply to: 2.1 top features

    SK
    Participant

    @ricardo_s

    2. Profile header to show more info of use at a glance (much like what is shown on buddypress homepage that showcases James Jacoby’s profile header)

    Check out and chime in: https://buddypress.trac.wordpress.org/ticket/4126

    #183050
    moonhopper
    Participant

    duh! private messaging was turned off in Buddypress options in the newly separated blogs. That solved 1/ …. Still looking for 2/

    #183045
    hkcharlie
    Participant

    OK, I make a short code button like this:

    [button link=”groups” size=”medium” color=”teal”]My teams[/button]

    Because Buddypress is so fantastical now, the link above works! It will take me to :
    http://mywebsite.com/members/username/groups/

    However, now I am on the “My Groups” page, if I click on another short coded button eg:
    [button link=”friends” size=”medium” color=”teal”]My Friends[/button]
    it takes me to :
    http://mywebsite.com/members/username/groups/friends/

    and therefore doesn’t work.

    #183044
    danbp
    Participant

    hi @ricardo_s

    file reference is bp-templates/bp-legacy/buddypress/members/single/members-header.php
    Codex infos about loops

    Put the function in your-theme/functions.php or in bp-custom.php.

    Example

    function my_function_name () {	
    // your stuff here
    if ( $data = bp_get_profile_field_data( 'field=your_field_name ' ) ) : 
    ?>
    <div class="what_you_want">
    <?php
    echo xprofile_get_field_data( 'your_field_name', bp_displayed_user_id() );
    ?>
    </div>
    <?php
    endif;
    
    }
    add_filter( 'bp_before_member_header_meta', 'my_function_name' );
    #183039
    kansas3d
    Participant

    Thanks for your post.
    Good to know that I’m not the only one.
    I still couldn’t get it fixed.
    It really looks like it’s a bug that exist since the new update of WordPress and Buddypress.

    #183038
    SimpleOne
    Participant

    Correction to my last post. I meant to say…

    I was able to successfully hide certain profile fields from being displaying (by modifying profile-loop.php). And I was able to hide the same fields from being displayed when a user goes to edit their profile (by modifying edit.php).

    NOTE: Both files are located in: /bp-templates/bp-legacy/buddypress/members/single/

    I still need help figuring out how to avoid the above-mentioned “required fields” error message upon clicking the Save Changes button.

    @dugfunny,

    the following thread will solve your problem

    https://buddypress.org/support/topic/block-activity-stream-types/

    Naijaping

Viewing 25 results - 16,651 through 16,675 (of 69,016 total)
Skip to toolbar