Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 12,401 through 12,425 (of 94,560 total)
  • Author
    Search Results
  • #262429

    In reply to: Activity Stream Ads

    truelux
    Participant

    Here’s my solution… Place this into your child-theme’s / BuddyPress activity-loop.php

    <?php $number = 1;
    	while ( bp_activities() ) : bp_the_activity();
    	if ($number == 10){
    		echo 'ADSENSE_CODE_HERE';
    	}
    	$number++; ?>

    This makes the content appear after the first 10 activity streams but then it goes by every 20. Works for me though 🙂

    aman0907
    Participant

    Hi,
    I make some changes in buddypress. After few days my plugin updated automatic.

    How i can stop this.

    Please help.

    #262423
    Paul Wong-Gibbs
    Keymaster

    @johnjamesjacoby This specific error has already been fixed in BuddyPress trunk a couple weeks ago (I don’t have the changeset number to hand). netweb fixed an identical problem in bbPress a couple of months ago: https://bbpress.trac.wordpress.org/changeset/6113/trunk

    #262422
    Paul Wong-Gibbs
    Keymaster

    The issue reported by @larsivar two weeks ago is by a change in PHP 7.1. We have fixed this specific issue for an upcoming release — our ticket tracking PHP 7.1 is here https://buddypress.trac.wordpress.org/ticket/7392

    While we could ship a release today to fix that specific error, there is at least 1 other PHP 7.1 error that I know about, which is in WordPress itself, which I reported here https://core.trac.wordpress.org/ticket/39277

    We’ll do more testing for PHP 7.1 in BuddyPress in the first couple weeks of the new year (probably) and ship what fixes we have. We may or may not choose to wait for the next minor release of WordPress (4.7.1) before doing that. Still to be determined.

    #262421

    In reply to: Broken after install

    Paul Wong-Gibbs
    Keymaster

    @wautersandreas and @danbp Fatal errors with that exact message are caused by a change in PHP 7.1. We have fixed this specific issue for an upcoming release — our ticket tracking PHP 7.1 is here https://buddypress.trac.wordpress.org/ticket/7392

    While we could ship a release today to fix that specific error, there is at least 1 other PHP 7.1 error that I know about, which is in WordPress itself, which I reported here https://core.trac.wordpress.org/ticket/39277

    tl;dr We’ll do more testing for PHP 7.1 in BuddyPress in the first couple weeks of the new year (probably) and ship what fixes we have. We may or may not choose to wait for the next minor release of WordPress (4.7.1) before doing that. Still to be determined.

    #262415
    danbp
    Participant

    Sorry, but we can’t assist you for premium theme or third party plugin issues. The toolbar is part of WordPress and BuddyPress only allows you to show/hide it for logged out users. See checkbox in BP’s main settings: Show the Toolbar for logged out users.

    Control if you have a specific function runing in your theme functions.php file. If you don’t know how to proceed, ask for help on your theme support. If you find nothing in the theme, ask on woocommerce support.

    #262413
    bosmana
    Participant

    I use WP version 4.7, RamboPro theme 2.5 and BuddyPress

    After installing Woocommerce, the toolbar disappeared for regular users (users higher than ‘contributor’ do see the toolbar).

    There is 1 closed topic in this forums addressing this, yet the solutions do not work for me:

    1. Henry Wright suggested the following
    “I think WooCommerce might disable the admin bar but I’m not entirely sure why. Try adding this to your theme’s functions.php file:

    add_filter( ‘woocommerce_disable_admin_bar’, ‘__return_false’ );”

    However, this will permanently show the toolbar, even for users who are not logged in (which is what I want to avoid).

    Does anyone know a good solution?

    #262411
    livingflame
    Participant

    Solution: HIDE ADMIN FROM BP WIDGETS AND DIRECTORY

    This code is complementary for the other ==>

    Hiding Users on BuddyPress based site

    So, full code:

    
    // Exclude Admin from Directories and BP Widgets 
    add_filter( 'bp_after_has_members_parse_args', 'buddydev_exclude_users' );
     
    function buddydev_exclude_users( $args ) {
        //do not exclude in admin
        if( is_admin() && ! defined( 'DOING_AJAX' ) ) {
            return $args;
        }
        
        $excluded = isset( $args['exclude'] )? $args['exclude'] : array();
     
        if( !is_array( $excluded ) ) {
            $excluded = explode(',', $excluded );
        }
        
        $user_ids = array( 1, ); // enter user ids here
        
        
        $excluded = array_merge( $excluded, $user_ids );
        
        $args['exclude'] = $excluded;
        
        return $args;
    }
    
    // Deny access to admins profile. User is redirected to the homepage
    function bpfr_hide_admins_profile() {
    	global $bp; 
    	if(bp_is_profile && $bp->displayed_user->id == 1 && $bp->loggedin_user->id != 1) :
    		wp_redirect( home_url() );
    	exit;
    	endif;
    }
    add_action( 'wp', 'bpfr_hide_admins_profile', 1 );
    
    // Hide admin's activities from all activity feeds
    function bpfr_hide_admin_activity( $a, $activities ) {	
    	
    	// ... but allow admin to see his activities!
    	if ( is_site_admin() )	
    		return $activities;	
    	
    	foreach ( $activities->activities as $key => $activity ) {	
    		// ID's to exclude, separated by commas. ID 1 is always the superadmin
    		if ( $activity->user_id == 1  ) {			
    			
    			unset( $activities->activities[$key] );			
    			
    			$activities->activity_count = $activities->activity_count-1;			
    			$activities->total_activity_count = $activities->total_activity_count-1;			
    					$activities->pag_num = $activities->pag_num -1;				
    		}		
    	}
    	
    					
    	// Renumber the array keys to account for missing items 	
    	$activities_new = array_values( $activities->activities );		
    	$activities->activities = $activities_new;	
    	
    	return $activities;
    	
    }
    add_action( 'bp_has_activities', 'bpfr_hide_admin_activity', 10, 2 );
    #262408
    luisclub
    Participant

    Hello.
    I’ve just installed BuddyPress plugin and created all recommended pages the plugin asks for (Activities, Members, Groups, Register and Activate). After that I’ve created some groups and registered some users to test it, but in the pages “Members” and “groups” are still in blank.
    I read the plugin documentation and, as far as I understood, these lists should be updated automatically by the plugin, but this isn’t happening.
    Do I have to insert any short code in these pages to star work? Or What should I do to it works?
    Thanks

    danbp
    Participant

    Group Forum use bbpress which has his own support. Ask there please.
    BuddyPress doesn’t use roles outside what you setup in your WordPress settings.

    #262403

    In reply to: Broken after install

    danbp
    Participant

    Hi guys,

    which theme do you use ? Try with Twenty Sixteen or fifteen, and if you deactivated the toolbar in your settings, try to activate it, then activate BP again.

    Another thing to try is to not use the theme customizer. Setup WP, then BP and use a twenty theme, without customizer actions. This basic trio should work.

    If your site use php 7+, try to use only php 7.0 (not 7.0.x) as BP is not ready for the very latest php version at this time… You could also try to use only php 5.6 instead of 7.0…

    Just in case of, as this was already mentionned on Trac, you can follow about that issue on #7406

    #262401
    danbp
    Participant

    Hi @venutius

    The explanation of this error message and how to solve it can be found here:
    https://codex.wordpress.org/Option_Reference
    You just have to adjust the comment max links in WP settings > General > Discussion

    The message is coded in bp-core/bp-core-moderation.php:135 and is applied to $max_links variable.

    Also…
    When you get such myterious message, the first place to check for is the pot file! All words used by BuddyPress are listed there, including file names and line numbers. That way, it is easy to get the origin, the function name or some dev’s comment for what is going on.
    This trick applies also for theme and other plugins.

    Venutius
    Moderator

    I have a user that cannot post links in activity updates, they just get the response: “You have posted too many links”.

    I’ve deactivated all other plugins and switched to 2016 but that user is still getting this message.

    What determines if a user has posted too many links in BuddyPress? Is it possible to reset this?

    pimous
    Participant

    Hello,
    I bought the woffice theme version 2.2 with the installation of bbPress and BuddyPress when configuring the rights. I noticed that I could not disable the right to create a topic in the group forum for subscribers section (this does not work, even with the user role editor plugin installation). I come back to you to guide and advise me in order to find a solution.
    thank you

    Version 4.7 | Unyson 2.6.10 | Woffice 2.2.0 | bbPress 2.5.12 | BuddyPress 2.7.4

    #262394
    #262389
    ldesherl
    Participant

    I installed Buddypress and there is no way for anyone to log in, because no log in button appears in my menu.

    #262378
    pare81
    Participant

    Hi Guys,

    is it possible to have the sumnav points within the profile menu as dropdown from their parent navpoints?

    Or have anybody a snippet resource where I can find some profile nav variations which are responsive for mobile phones? the standard nav is not userfriendly on mobile phones and tablets 🙁

    thanks and regards
    pare

    #262375
    pare81
    Participant

    Oh, sorry, please close this ticket. My activation siteoption from buddypress was linked to my frontpage. That was the problem.

    Best regards
    Pare

    #262372
    pare81
    Participant

    Hi Guys,

    since the last update from BP, the wordpress theme customizer doesn’t show the page anymore. Only if I deactivate buddypress, the customizer stated to work. Is there somone else who has this problem?

    Thanks and regards, and nice holidays
    Pare

    meltdown2
    Participant

    I’ve created a new WordPress site and have redirected a number of older websites to it. Therefore I’m using a 404 redirection plugin that sends all 404’s to the homepage of my new site. However, I’ve found that my Buddypress links (Profile, Messages, etc) are also being redirected.

    Is there a plugin or functions.php snippet that will resolve this?

    Thanks for your help.

    Site: glass-haus . org

    #262370
    rochyef
    Participant

    Hello, am using buddypress 2.7.3 and wordpress 4.6.1
    i would like to know how to insert posts or adds into the newsfeed of people who are using my social network. A bit like the way sometimes we see ads when we are scrolling down our newsfeed on facebook.

    #262367
    livingflame
    Participant

    Please, Help!

    I need a Php code (functions.php) for Hide Admin(s) from BuddyPress Widget (Newest, Active, Popular… or whatever).

    Im using this ===> But, I need for Bp W.

    // Deny access to admins profile. User is redirected to the homepage
    
    function bpfr_hide_admins_profile() {
    
    global $bp;
    
    if(bp_is_profile && $bp->displayed_user->id == 1 && $bp->loggedin_user->id != 1) :
    
    wp_redirect( home_url() );
    
    exit;
    
    endif;
    
    }
    
    add_action( ‘wp’, ‘bpfr_hide_admins_profile’, 1 );
    
     
    
     
    
    // Hide admin’s activities from all activity feeds
    
    function bpfr_hide_admin_activity( $a, $activities ) {
    
     
    
    // … but allow admin to see his activities!
    
    if ( is_site_admin() )
    
    return $activities;
    
     
    
    foreach ( $activities->activities as $key => $activity ) {
    
    // ID’s to exclude, separated by commas. ID 1 is always the superadmin
    
    if ( $activity->user_id == 1  ) {
    
     
    
    unset( $activities->activities[$key] );
    
     
    
    $activities->activity_count = $activities->activity_count-1;
    
    $activities->total_activity_count = $activities->total_activity_count-1;
    
    $activities->pag_num = $activities->pag_num -1;
    
    }
    
    }
    
    // Renumber the array keys to account for missing items
    
    $activities_new = array_values( $activities->activities );
    
    $activities->activities = $activities_new;
    
     
    
    return $activities;
    
     
    
    }
    
    add_action( ‘bp_has_activities’, ‘bpfr_hide_admin_activity’, 10, 2 );
    
     
    
     
    
    // Remove admin from the member directory
    
    function bpdev_exclude_users($qs=false,$object=false){
    
     
    
    $excluded_user=’1′; // Id’s to remove, separated by comma
    
     
    
    if($object != ‘members’ && $object != ‘friends’)// hide admin to members & 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’,’bpdev_exclude_users’,20,2);
    
     
    
    // once admin is removed, we must recount the members !
    
    function bpfr_hide_get_total_filter($count){
    
    return $count-1;
    
    }
    
    add_filter(‘bp_get_total_member_count’,’bpfr_hide_get_total_filter’);
    piyosuke
    Participant

    Hello,

    I introduced “Invite Anyone” plugin in order to implement invitation features with my website.

    https://srd.wordpress.org/plugins/invite-anyone/

    As a default, there is “Send Invites” tab in parent navi menu of member profile pages, but I would like to have it moved to sub-menu under “Settings” tab.

    Could anybody else can support me on this?
    Any support would be highly appreciated!

    Wordpress version 4.6
    Buddypress version 2.7.4
    Invite Anyone Version 1.3.13

    Thanks,
    piyosuke

    piyosuke
    Participant

    Hi,

    I introduced “BuddyPress Follow” plugin and this has been working very well.

    As a default, there are “Following” and “Followers” tabs in parent navi menu of member profile pages, but I would like to create “Follow” tab in parent navi menu and show “Following” and “Followers” tabs in sub-menu under “Follow” tab.

    (Default)
    Parent navi menu > “Following” and “Followers” tabs

    (What I want)
    Parent navi menu > “Follow” tab
    Sub navi menu > “Following” and “Followers” tabs

    Could anybody else can support me on this? Any support would be highly appreciated!!

    Wordpress version 4.6
    Buddypress version 2.7.4

    Thanks,
    piyosuke

Viewing 25 results - 12,401 through 12,425 (of 94,560 total)
Skip to toolbar