Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 8,951 through 8,975 (of 69,046 total)
  • Author
    Search Results
  • #260336
    Paul Wong-Gibbs
    Keymaster

    Yep, like @hnla said. BuddyPress’ DB requirements are the same as WordPress’.

    #260335
    livingflame
    Participant

    https://la.wordpress.org/plugins/buddypress-private-message-for-friends-only/

    Okey, very very partial solution.

    Really solution: BuddyDev Message Privacy BUT native!

    #260331
    danbp
    Participant

    And what is the problem ? It seems to do what it is intended for.
    But it is a premium plugin. If you need assistance you have to ask on the plugin support.

    BuddyPress Message Privacy

    #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

    #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

    #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

    #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

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

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

    #260274
    danbp
    Participant

    Hi,

    try to add your po/mo files into wp-content/laguages/plugins/buddypress-user-blog/…mo, where /buddypress-user-blog should be the exact plugin name and …mo should be the right file name (something like abcd-en_UK.mo)

    Check the plugin doc for the correct directory name and the correct file name to use. As it is a premium plugin, it is not possible to give you more information for this as we have no access to the code.

    You might also ask for this on the plugin support.

    #260273
    danbp
    Participant

    As site admin you can create new users and give same a low strength password. This is basic WP management. You already have a link for this part of the work.
    If you have “hundreds” of friends to add it is of course a bit different – meaning it will not be done in 5mn. But it is not to me to tell you how to do this and where to find any knowledge document to achieve it. Codex are made for this – but sorry, i can’t sytematically lead any question asked on this forum to the appropriate page. My brain is not a codex summary ! Hope you understand. 😉

    You have to search on WP Codex and eventually on BP Codex. Essentially because of the phone number field, which is a custom field. You can do that with or without BP – and that’s why i said it’s not a BP question.

    If you want to take the BP route, you might check the code from BP Default Data, to understand how this plugin insert fake content to BuddyPress.

    #260271
    Krishnakumar K A
    Participant

    Hi, Thank you for the reply. Why do you think it’s not related to buddypress? I have few hundreds of friends. Can I create password like 1234 also using the above method? It would be much helpful if you can give me links to those knowledge base.

    #260252
    Venutius
    Moderator
Viewing 25 results - 8,951 through 8,975 (of 69,046 total)
Skip to toolbar