Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 12,751 through 12,775 (of 73,986 total)
  • Author
    Search Results
  • #260326
    danbp
    Participant

    Not sure it’s a fix to apply directly in a core file. You’ve probably need to review some of your templates or custom functions.

    http://hookr.io/plugins/buddypress/2.6.2/functions/bp_blogs_get_subdomain_base/

    http://hookr.io/plugins/buddypress/2.6.2/functions/bp_signup_get_subdomain_base/

    #260324
    Hugo Ashmore
    Participant

    @venutius Thanks for the write up, hopefully in time the idea may gain traction, as for a handler for loading those snippets I did have one in use locally but code was rough and ready, so may consider re-doing and making available on github, originally the idea was to add a loader for the snippets to the core buddypress-functions.php file where the main stylesheets are loaded from.

    For now all I can suggest I’m afraid is to play around with the min-height properties where they occur as it really is something that can never be a true one size fits all to create boxes unless we start adding JavaScript into the equation to test for the tallest box and set others to that.

    #260323
    tse11
    Participant

    I’ve resolved this and will leave a fix here in case anyone else runs into this issue:

    bp_blogs_get_subdomain_base() is a deprecated function, so I changed it in buddypress/bp-blogs/bp-blogs-template.php from:

    bp_blogs_get_subdomain_base()

    to:

    bp_signup_get_subdomain_base

    tse11
    Participant

    Hi Guys, I just upgraded to the newest Buddypress version and am getting these errors:

    [Tue Oct 25 14:12:14 2016] [error] #6 /home/mysite/public_html/wp-content/ in /home/mysite/public_html/wp-content/plugins/buddypress/bp-blogs/bp-blogs-template.php on line 1087
    [Tue Oct 25 14:12:14 2016] [error] #5 /home/mysite/public_html/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(333): bp_get_template_part(‘blogs/create’, NULL)
    [Tue Oct 25 14:12:14 2016] [error] #4 /home/mysite/public_html/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(61): bp_locate_template(Array, true, false)
    [Tue Oct 25 14:12:14 2016] [error] #3 /home/mysite/public_html/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(150): load_template(‘/home/intuitalk…’, false)
    [Tue Oct 25 14:12:14 2016] [error] #2 /home/mysite/public_html/wp-includes/template.php(574): require(‘/home/intuitalk…’)
    [Tue Oct 25 14:12:14 2016] [error] #1 /home/mysite/public_html/wp-content/themes/kleo-child/buddypress/blogs/create.php(10): bp_show_blog_signup_form()
    [Tue Oct 25 14:12:14 2016] [error] #0 /home/mysite/public_html/wp-content/plugins/buddypress/bp-blogs/bp-blogs-template.php(1050): bp_blogs_signup_blog(”, ”, Object(WP_Error))
    [Tue Oct 25 14:12:14 2016] [error] PHP Fatal error: Uncaught Error: Call to undefined function bp_blogs_get_subdomain_base() in /home/mysite/public_html/wp-content/plugins/buddypress/bp-blogs/bp-blogs-template.php:1087

    It is of course making my create a blog page only show half the page. Any ideas what could be wrong? I’ve switched out overridden files to the original so I don’t believe that is the issue.

    #260319
    danbp
    Participant

    @jek-fdrv,

    we’ve discussing about this “tab” issue on this ticket:
    https://buddypress.trac.wordpress.org/ticket/7304

    I invite you to jump in if you have any comments. You might also find a solution for your use case.

    #260318
    rcx
    Participant

    PS: other config info:
    WordPress v. 4.6.1.
    BuddyPress v 2.7.0

    #260316
    rcx
    Participant

    My company is trying BuddyPress for the first time, and I am charged with getting the site up and running, working with our developer. He designed it on a local MAMP stack with this configuration:
    MYSQL v5.6.28
    PHP v7.0.10
    (don’t know the BuddyPress version)
    The problem is where I need to put this up (Hostgator) only has MySQL 5.5, unless we get a virtual private server (which I’m negotiating now).
    My question is: is MySQL 5.6 required for BuddyPress? Or could I switch this version in the MAMP stack to overcome this obstacle?
    –Rick

    #260313
    realmai
    Participant

    Can anyone help me?
    Many Thanks

    1. Which version of WordPress are you running?
    ANS : WordPress : 4.6.1

    2. Did you install WordPress as a directory or subdomain install?
    ANS: as a directory

    3. If a directory install, is it in root or in a subdirectory?
    ANS: in root

    6. Which version of BP are you running?
    2.7.0

    12. Do you have any custom functions in bp-custom.php?
    Yes.
    define(‘BP_DEFAULT_COMPONENT’, ‘profile’ );

    13. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
    2.5.10

    16. Is your server running Windows, or if Linux; Apache, nginx or something else?

    Linux

    #260312

    In reply to: Activities

    danbp
    Participant

    Hi @mei-ling,

    it’s not an issue but how it works ! 😉

    You can filter the activity stream and remove the activities you don’t want to be showed.

    Add this snippet to bp-custom.php or your child-theme functions.php

    function bpex_bp_activity_types( $retval ) {
       if ( bp_is_active( 'activity' ) ) {
    
    // list of all BP activity types  - remove or comment those you won't show.
    	$retval['action'] = '
    		activity_comment,
    		activity_update,
    		// bbp_topic_create,
    		// bbp_reply_create,
    		friendship_created,
    		created_group,
    		joined_group,
    		last_activity,
    		new_avatar,
    		new_blog_post, 	
    		new_blog_comment,
    		new_member,
    		updated_profile
    	';	
    
    	return $retval;
    	
    	}
    }
    add_filter( 'bp_after_has_activities_parse_args', 'bpex_bp_activity_types' );

    You might also remove bbpress activities from the activity filter. You can use this (goes to same file as previous)

    function bpex_remove_bbp_activities_dropdown_labels() {
       if ( bp_is_active( 'activity' ) ) {
    
             // Remove forum filters in site wide activity streams
            remove_action( 'bp_activity_filter_options',        array( bbpress()->extend->buddypress->activity , 'activity_filter_options'   ), 10 );
         
             // Remove forum filters in single member activity streams
             remove_action( 'bp_member_activity_filter_options', array( bbpress()->extend->buddypress->activity , 'activity_filter_options'   ), 10 );
     
             // Remove forum filters in single group activity streams
             remove_action( 'bp_group_activity_filter_options',  array( bbpress()->extend->buddypress->activity , 'activity_filter_options'   ), 10 );
       }      
    }
    add_action( 'bp_init', 'bpex_remove_bbp_activities_dropdown_labels', 9 );

    Codex references:

    Using bp_parse_args() to filter BuddyPress template loops

    bp-custom.php

    #260311
    jen000
    Participant

    Thanks to the member who got in touch recently offering to help. Unfortunately we had to give up on Buddypress and went ahead with WP Symposium. Not impressed with their support and we won’t use them again. If we have to use Listify and social networking again I will be back to Buddypress!

    By the way if anyone is thinking of using WP Symposium I would say don’t bother. The software itself is ok but looks basic and there are no demo sites (only their own which is on a basic free theme with no other major plugins and probably on a dedicated server). We’ve had to move to a dedicated server as it was so slow and we had big problems getting it to work with other aspects of our site. The support forum is closed so you cant actually see other people’s responses which would save time. Instead you just have to deal with one stroppy support guy who blames your other plugins rather than helping to resolve issues. We had to spend a fortune getting glitches in the coding repaired. Never again!

    #260309
    Mei Ling
    Participant

    Hi there,

    We run a site with Buddypress and BBpress. When a press topic or reply is edited, it appears on the activities page. How can we prevent this? Or is this a BBpress issue?

    Thank you for your answer

    regards

    MeiLing

    chkavada
    Participant

    It seems like BuddyPress hides profile fields without data in profile view. How can I change this functionality? So that all fields gets displayed, even if they haven’t been filled up?

    #260305
    danbp
    Participant

    Hi,

    seems it exist natively ?

    Buddypress Setup


    If it is not what you want, ask on the WP-Events plugin support.

    #260304
    Hugo Ashmore
    Participant

    This is the guide you need to read up on:

    Template Hierarchy

    has_directory means that if you click on a BP generated link /groups/type/foo/ or type that as a url/create a link to, then you will see that as the url and the loop will now show only groups of type ‘foo’

    Template hierarchy will allow you to create a file named in this manner:
    index-directory-type-foo.php (file must be a complete one though including WP headers/footers and all parts in-between.)

    This will only be used if looking at those group types in the loop/url but you can now edit that and change as you require and only affect that group type loop directory display.

    #260302
    danbp
    Participant

    Hi,

    read here, there is still a working example described.
    Just forget about the filter option, the rest is ok.

    Group Types option display

    rda5009
    Participant

    Hello,

    This is in reference to the group types that just got released over the last update. I have successfully set up my group types but now want a way to have two different directories for group types. For instance, groups from Group Type A displays on one directory, and groups from Group Type B, C, D are in another directory.

    I have gone through the codex and tried to add the “has_directory”, but did not really see any change and am not sure if that would really solve for what I wanted.

    Being that I don’t have much programming experience, any help and guidance would be greatly appreciated!

    joncwhall
    Participant

    Hi,

    I’d really like for users to be able to see what events their buddies are booked in for.

    Ie: Something on the profile on their buddy that shows the WP Events Manager events they have booked.

    Does anyone know if this is possible please?

    Thanks,

    Jon

    #260288
    Patrick
    Participant

    @shanebp

    My code is the following and i got an error500 with your code. Did i forgot something to do i’m confused. No feedback from anyone if this solution worked or not?

    function 3tmj_count_profile( $user_id = 0 ) {
    	global $wpdb;
    
    	if ( empty( $user_id ) )
    		$user_id = bp_displayed_user_id();
    
    	return $wpdb->get_var( "SELECT COUNT(ID) FROM $wpdb->posts WHERE post_author = $user_id AND post_type IN { 'wpcm_vehicle' }  AND post_status = 'publish'" );
    
    }
    
    function profile_tab_advertenties() {
        	global $bp;
    
    	$count = 3tmj_count_profile();
    	
    	$class = ( 0 === $count ) ? 'no-count' : 'count';
    	
    	$name = sprintf( __( 'My Posts <span class="%s">%s</span>', 'buddypress-meets-wp-car-manager' ), esc_attr( $class ), number_format_i18n( $count ) );
    
    	//$name = sprintf( __( 'Advertenties <span class="%s">%s</span>', 'buddypress-meets-wp-car-manager' ), esc_attr( $class ), number_format_i18n( $count ) );
    	//$name = 'Advertenties <span>' . count_user_posts( bp_displayed_user_id(), array( 'wpcm_vehicle', 'post' ) ) . '</span>';
    
       	bp_core_new_nav_item( array( 
    		'name' => $name,
    		'slug' => __( 'advertenties', 'buddypress-meets-wp-car-manager' ), 
            	'screen_function' => 'advertenties_screen', 
            	'position' => 30,
    	    	'parent_url'      => bp_displayed_user_domain()  . __( '/advertenties/', 'buddypress-meets-wp-car-manager' ) ,
    	    	'parent_slug'     => $bp->profile->slug,
    		'default_subnav_slug' => __( 'advertenties', 'buddypress-meets-wp-car-manager' ), 
        ) );
    }
    add_action( 'bp_setup_nav', 'profile_tab_advertenties', 10);
    #260286
    BGRATED
    Participant

    I was asking about a Yoast issue here https://buddypress.org/support/topic/bussdypress-title-and-seo-yoast-problem/page/2/#post-260266 and was advised to start a new topic about it.

    How to change the Buddypress profile page of a member from “Title – SiteName” to first name{space}last name – gender – age – city | SiteName

    Thank you.

    I did see this code `function lagodny_document_title_separator_pipe( $separator ) {
    return ‘|’;
    }
    add_filter(‘document_title_separator’, ‘lagodny_document_title_separator_pipe’);`
    But it does not do exactly what I was looking for.

    #260284
    Venutius
    Moderator

    Yep the issue is that if I change the padding then it changes it for all the blocks and so the issue remains unchanged.

    I wrote a review of the BuddyPress Style Modules for my blog, lets hope others support this initiative.
    http://buddyuser.com/installing-buddypress-style-modules

    magicvish
    Participant

    Hi Buddypress,

    We really need some help we are getting theses error and trying to understand how we can fix it,
    issue with the page showing up
    Warning: array_merge(): Argument #2 is not an array in /home/asianins/public_html/thebettinguniversity.org/wp-content/plugins/buddypress/bp-core/bp-core-taxonomy.php on line 145 Warning: Invalid argument supplied for foreach() in /home/asianins/public_html/thebettinguniversity.org/wp-content/plugins/buddypress/bp-members/bp-members-functions.php on line 2783

    #260281
    Venutius
    Moderator

    This page has my own suggestions to try to avoid spammers, this combo dramatically cut down on the number of spam registrations and those that get through I hold them in a queue with BP Registration options a ban then based on discrepencies in their registration information.

    http://buddyuser.com/setting-up-wordpress-ready-for-buddypress

    danbp
    Participant
    #260277
    danbp
    Participant

    It relate to this filter bp_get_profile_field_data

    This example will hide tabs and fields to all except admin

    function bpfr_hide_profile_field_group( $retval ) {
    	if ( bp_is_active( 'xprofile' ) ) :	
    	
    	// hide profile group/field to all except admin	
    	if ( !is_super_admin() ) {		
    		//exlude fields, separated by comma
    		$retval['exclude_fields'] = '1';  
    		//exlude groups, separated by comma
    		$retval['exclude_groups'] = '3'; 			
    	} 
    	return $retval;		
    	
    	endif;
    }
    add_filter( 'bp_after_has_profile_parse_args', 'bpfr_hide_profile_field_group' );

    These tricks hide the tab content, not the tab itself. (it seems that it doesn’t work for groups at the moment…i asked devs for information) Use CSS display:none to hide the tab or consider this plugin.

    #260276
    danbp
    Participant

    Once registered you have no other choice as to remove them manually.
    To retain spammers, there many plugins and methods. Afaik none is the perfect solution and in many situation, you’ll need to use a mixed protection.

    There many topics on the forum about spam… Search them and make your opinion.
    That said, you might follow some basics to harden WordPress, which is a good debut (table renaming, ban “admin” as username, etc). After that, a bunch of anti-spam plugins will calm down their activity on the site. (ban-hammer, buddypress honeypot, etc) Also keep in mind that you won’t probably never avoid spammers. But there is a big difference between 2 spam/day and 1000/per day. 😉

Viewing 25 results - 12,751 through 12,775 (of 73,986 total)
Skip to toolbar