Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 8,626 through 8,650 (of 69,104 total)
  • Author
    Search Results
  • #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.

    #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 );
    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.

    #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

    #262356
    JeffWillia.ms
    Participant

    The solution:

    Go to…

    /wp-content/themes/child-theme/BuddyPress/css

    Rename the CSS folder.

    This causes the parent theme folder to load instead, and everything displays properly.

    #262351
    Codieslab
    Participant

    HelLo Johnny

    You need to apply buddypress hooks in functions.php file so you can change tab name.

    just for change your language text name:

    Customizing Labels, Messages, and URLs

    #262335
    Henry Wright
    Moderator

    In the WordPress admin area go to Pages and then create the page. Then under BuddyPress you can assign that page as the activation page.

    #262331
    modemlooper
    Moderator

    Make sure your registration slug is not “registration” or “signup” or any other guessable word. Change the slug frequently.

    Use this https://github.com/pixeljar/BuddyPress-Honeypot

    #262318
    pare81
    Participant

    I’ve edited the code:

    function my_setup_nav() {
          global $bp;
    
          bp_core_new_nav_item( array( 
                'name' => __( 'My Page', 'buddypress' ), 
                'slug' => 'my-page', 
                'position' => 70,
    			'screen_function' => 'my_page_template'			
          ) );
    }
    
    add_action( 'bp_setup_nav', 'my_setup_nav' );
    
    function my_page_template() {
          bp_core_load_template( 'my-page-template.php' );
    }

    Where I have to safe the “my-page-template.php”? I use a wordpress childtheme with included folder buddypress. Do I have to write some special informations within the my-page-template.php or is it enough to insert the shortcode?

    actually the link from profile menu “my page” links to members overview page what not should be. it should linked to the my-page-template.php.

    thanks

    #262316
    danbp
    Participant

    @superpuperlesha,

    please, never publish username and password or any ftp crendetials when you’re not asked for.
    (i removed them)
    Have you tested whith Twenty Sixteen ? If you use a child theme (what ever the theme) you must first test with the parent theme and if ok, test with the child.

    Did you allowed search engines (wp settings) ?
    Are users allowed to comment (wp settings) ?
    Is activity component enabled (bp settings) ?
    Do you have an “activity” page ?
    Are pretty permalinks enabled ?

    More infos ? Read here:

    Getting Started

    #262294
    danbp
    Participant

    @petervandoorn @henrywright @r-a-y,

    Great job guys!
    I updated the oembed Codex page accordingly .

    #262293

    In reply to: Custom Messages Panel

    danbp
    Participant

    Hi,

    BP has only a few templates who fit with almost any (good) wordpress themes, like BuddyBoss.
    Firt you have to read your theme child-theme doc and eventually about BP template hierarchy.

    #262292
    Henry Wright
    Moderator

    Update from the Trac ticket

    BuddyPress uses a different hook name, but it should do the same thing. Try: bp_embed_oembed_html.

    Thanks to @r-a-y for the info.

    #262278
    danbp
    Participant

    Change your theme ? Adjust CSS ? Ask the theme author ! It is not a BuddyPress issue.

    #262277
    danbp
    Participant

    When you don’t see a button, first thing to do is to ensure you see it when you use WP+BP+Twenty theme

    When the base trio works, you activate your theme and you check again. If it is wrong, you know it is your theme (and not WP or BP or Twenty theme).

    If you have plugins, you test’em the same way.

    For what is related here, it is a CSS issue, related to your theme… You probably have to adjust the div height containing the form.

    The Update form used for Site, Members and Group activities is in
    wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/post-form.php

    In this file you can see the div’s name, class, ID. Search for them in your theme style.css.
    DEpendingwhat you find or not, you declare (or redeclare the css) in your child theme. Note also that the update is handled by Javascript. This means in particular that you need absolutely to use same div id and classes to get it to work. If your theme is too customized and is changing that, you have to find the difference and adjust it/them eventually.

    Of course this adjustment vary from one theme to another and it is quite impossible to give you more guidance on how to handle that.

    #262271
    pare81
    Participant

    If you use standard buddypress css, you have nothing to do. but if you have create an folder buddypress/css/buddypress.css within your childtheme folder, you have to define some css styles.

    Best
    Pare

    #262267
    danbp
    Participant

    Hi,

    please read the woocommerce documentation. BuddyPress doesn’t use an “order” tab.
    Read here BP’s navigation documentation:

    Navigation API

    #262264
    shanebp
    Moderator

    The logout link is created on ~Line 84 of this file:
    buddypress\bp-core\classes\class-bp-core-login-widget.php

    You need to change the bp_get_requested_url() to site_url()
    <a class="logout" href="<?php echo wp_logout_url( bp_get_requested_url() ); ?>">

    However, hacking core files is not recommended.
    The proper approach is to create your own widget and make the changes in your widget.
    If you decide to write your own widget, also take a look at this file:
    buddypress\bp-core\bp-core-widgets.php

    #262245
    Paul Wong-Gibbs
    Keymaster

    I looked into this a while ago. I don’t know if any plugins have provided it — if so, the code will be hacky — because achieving this requires changing some data storage we do in BuddyPress, which is a bit of a complicated issue to resolve well.

    #262244

    In reply to: Fatal error PHP 7.1

    Paul Wong-Gibbs
    Keymaster

    The situation is BuddyPress is incompatible with PHP 7.1 as things stand. One issue means a fix in BuddyPress (which we’ve already fixed, and will have out in a release soon, but probably after Christmas), and the other issue I’ve found (which BP sites have a realistic site of running into) require a fix in WordPress, which I hope that team will get done for WP 4.7.1.

Viewing 25 results - 8,626 through 8,650 (of 69,104 total)
Skip to toolbar