Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 13,126 through 13,150 (of 94,561 total)
  • Author
    Search Results
  • #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. 😉

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

    #260272
    versetab001
    Participant

    Hello,

    So I found a source on here, how to rename the menu bars in the profile section of buddypress.

    I downloaded a plugin called Buddypress User Blog, and I want to rename the tab header “Blog” to “Posts” or “Articles”. I have downloaded the PO file that comes with this plugin and then made the translation from en_US to en_UK. and uploaded it to the server, under the BP-User-Blog/Languages folder, but still no changes.

    How do I activate the new PO and MO file?

    Or is there another way to change the wordings on the profile Tab?

    Here is a screenshot of the tab:

    Profile

    Regards

    Kelvin

    #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
    #260246

    In reply to: BuddyPress Components

    danbp
    Participant

    Does the server has the minimum requirements to run WP and BP ?
    What about the htaccess file ? When you moved the site directory, have you regenerate this file ?

    About blank pages

    #260245
    danbp
    Participant

    Hi,

    this question is not related to BuddyPress.
    You have several options, from simple to overcomplicated.

    1) If you have only a few friends to add, you can do that manually from dashboard. You need also a phone field in xprofile.
    2) If you have hundreds, you need to write or generate a csv file and import them via phpmyadmin or any msql command line…

    All this is explained on WP Codex.

    #260244
    mikke1978
    Participant

    Hi guys,

    I have had this issue for months. First, Word Press was installed under its own directory -This is a Yahoo mandatory setup. Then I managed to install it on the root. But I still get blank pages or pages not found when I try to use one of the components. etc. : create group, New message, Notifications…

    My permalinks are set to other than default.

    Thanks in advance for your help!

    #260243
    danbp
    Participant

    Sorry for the outdated trick.
    bp_is_profile_edit is deprecated in favor of bp_is_user_profile_edit.

    Check for the outdated fn in the plugin mentionned in the error msg.
    In case of, here a tutorial with more options.

    Venutius
    Moderator

    @hnla

    Hi there, I installed the Members Display module and it works great for simple data types where user names are not too long or when the imformation within each member box is the same length, however on a live site there are often differences in the data held for each member, which means the members grids wil have different heights, in which case the grid falls apart and what started out as an ideal solution quickly turns into a mess.

    Image and video hosting by TinyPic

    I realise this happens with all grid view snippets that I have tried, not just yours, but I wondered if you could think of anyway of preventing this break up of the grid view from happening? I was thinking if only you could set a default size for each grid that was big enough to hold all variations of the data then that might do?

Viewing 25 results - 13,126 through 13,150 (of 94,561 total)
Skip to toolbar