Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 13,376 through 13,400 (of 69,016 total)
  • Author
    Search Results
  • Svend Rugaard
    Participant

    im desperate here … will i lose something if i deactivate buddypress and unintall it and install it again ?

    Svend Rugaard
    Participant

    but isnt it possible for you to see what entrance in css file there could be mess up its up when it is errors im getting only with buddypress ? After this was installed ? my site havent got these load and error without buddypress

    #237557
    Henry Wright
    Moderator

    Hi @mrgiblets

    That’s slightly odd. You’d expect to see the change if the rest of your translated strings are working.

    Are you working from the latest BuddyPress .pot file?

    #237552
    Matthias
    Participant

    Hi danbp,
    I can not find a setting to allow explicit @mention. I allowed the activity stream in buddypress. And @mentions are working fine in there.
    The notifications if someone is mentioned in the bbpress forums are working fine, too. I even have a dropdown field with suggestions for @mention in bbpress.

    The only thing is the missing link to the profile behind the @mention in replies…
    forums and buddypress sites are exluded from caching…

    Thanks
    Matthias

    #237547
    mcpeanut
    Participant

    @rosyteddy a couple of good reads there man, i like to read through the comment sections on articles like the ones above because there is some good points raised, there are alot of varied opinions as how to effectively pull this off dependent on the complexity of your site, which i would consider mine as quite complex, the reason for the questions and advice is because of how complex i consider the website to be, i have alot of stylesheets for various different things here there and everywhere loading when not needed etc, in the past i have used plugins to successfully combine and serve them as one cached minified version etc.. but i was just wanting to go more in depth with it and configure it all myself to run at an optimum level.

    I am going to be messing around with this over the next few days and will get back to you on what i feel was the best way to do it, any more advice off anyone else who has tackled doing this manually for wordpress/buddypress give us a shout.

    #237525
    mcpeanut
    Participant

    I tried that plugin but my plugin setup is far to complex for it to work without breaking ALOT of things on my site, it wouldn’t be worth all the troubleshooting with these other plugins (as i suspected), the website is very ambitious and i have a set amount of plugins i need running to achieve it, removing features is not an option, the main thing im concentrating on is performance with all of the plugins active (which is alot more than the average site so hence the problems) and im trying to combine all my js files in the most efficient way i can without again breaking functionality , i don’t really need all the website to be ajaxed as such it is more a case of just the buddypress tabs on the profile areas that is the issue really

    #237515
    danbp
    Participant

    To link to a profile within bbpress topic editor, you should add the snippet to bp-custom.php

    Read also here, where i mentionned a plugin
    https://buddypress.org/support/topic/link-to-users-profile-non-template/

    #237514
    danbp
    Participant

    BP_MEMBERS_SLUG is documented in bp-core-functions.php:654
    The function is declared in bp-members-template.php:22

    But you use a filter for titles. Maybe you can do something, based on this example which upercase the username on profile page title.

    function bpfr_title_apparence( $title ='', $sep = '', $seplocation = '' ) {
    	if( bp_get_displayed_user_fullname() ) {
    	$bp = buddypress();
    	
    	// Get the component's ID to try and get it's name
    	$component_id = $component_name = bp_current_component();
    	
    	// Use the actual component name
    	if ( !empty( $bp->{$component_id}->name ) ) {
    	$component_name = $bp->{$component_id}->name;
    	
    	// Fall back on the component ID (probably same as current_component)
    } elseif ( !empty( $bp->{$component_id}->id ) ) {
    	$component_name = $bp->{$component_id}->id;
    	}
    	
    	$title = str_replace( ucwords( $component_name ), '', $title );
    	}  
    	return $title;
    	}
    add_filter( 'bp_modify_page_title', 'bpfr_title_apparence', 20, 3 );

    This filter is in the same file, line 514.

    #237512
    Matthias
    Participant

    What is used here is a custom function.

    Hi @danbp and @ all other readers,
    do you know more about this custom function used in the buddypress forum?

    Just to get a link to the profile, if a user is mentioned ( @username ) in a topic…
    Thanks
    Matthias

    #237506
    bp-help
    Participant
    #237505
    Jay_Chauhan
    Participant

    I am sorry but I don’t know much about buddypress. Could you tell me exactly what you want me to get you? Here is the screenshot of the settings page: http://screencast.com/t/IrGOsR58r

    #237487

    In reply to: Custom sort members

    Henry Wright
    Moderator

    Hi @mastodontmedia

    Look into using the bp_after_has_members_parse_args filter. I think it’ll let you override the meta_key and meta_value params. That may help you do what you want?

    See here for a tutorial on how to use the filter.

    #237483
    danbp
    Participant

    Wide subject and several answered on this forum.

    Askimet covers comment spam and doesn’t avoid clever spam bots to hit directly the DB.

    Basic recommandation is to use table prefix different of the classic wp_. This calms down most bots.

    A closed door is always a challenge for any spammer. WP is not fort Knox and depending your host, what YOU did and many other security details, this has no end in fact. If your site is Facebook, you’ll probably receive more spam than if it would be mykittycat homepage. Glory has a price ! 😉

    Some htaccess rules against reputated spam server and one or to plugins aside what exist natively in WP should be enough to protect you a little from massive spam.

    For example: buddypress honeypot + ban hammer for BP

    or more simple and rought
    http://mattts.net/development-stuff/web-development-stuff/wordpress/buddypress/anti-spam-techniques/registration-honeypot/

    … + searching this forum, maybe you can find more tips. 😉

    #237482
    danbp
    Participant

    You just need an existing user_id.

    He an example where you get a field value to add in a custom action in one of your template.

    
    function bpfr_field( $custom_field ) {
    	global $bp;
    	
    	// is xprofile component active ?
    	if ( bp_is_active( 'xprofile' ) )
    	
    	// fetch the user_id
    	$current_user = wp_get_current_user();
    	$current_user_id = $current_user->ID;
    	
    	// fetch the data
    	$custom_field = xprofile_get_field_data('42', $current_user_id); // 42 is a field ID
    	
    	// show the data
    	echo '<div class="authorinfo">'. $custom_field . '</div>';
    	
    }
    add_action( 'myfield', 'bpfr_field', 1 );

    Then, add this at the appropriate place in your template <?php do_action( 'myfield'); ?>

    Another example, which you can add at the begin of a custom function.

    global $bp;
    	// Check if the Activity component is active before using it.
    	if ( ! bp_is_active( 'activity' ) ) {
            return;
        }
    	if( bp_is_user() && ! bp_get_member_user_id() ) {
            $user_id = 'displayed: '. bp_displayed_user_id();
        } else {
            $user_id = 'get_member_user: '. bp_get_member_user_id();
        }
    
    // your stuf here

    Note that both examples use global $bp, a check for active component with a different usage for a same result: if not active, the function will do nothing. This allows you to deactivate a component without throwing a warning or a php failure despite the function is in your theme, bp-cutom or plugin.

    #237481
    mcpeanut
    Participant

    Ok after some thought (i dont have a clue if this can be done ) but is there anyway that you could upon clicking the buddypress tab ‘profile’ (for example) on a members page you could have it anchor to a specific part of the page after it refreshes the page? Let me explain why, the reason i ask is that to get to the profile tab on a members page involves scrolling a little down my page, so upon clicking the profile or any other tab on a members page it will refresh the page and jump back to the top making you have to scroll back down to the subnav that is just out of view.

    So the question is this, could i make each of the top level navigation tabs after being clicked and the page reloads anchor back down to the corresponding sub nav tab?

    I hope this explains exactly what im trying to say haha, if it can be done can you give me any clues as of how to do this?

    #237479
    mrgiblets
    Participant

    A quick follow up question…

    Can I echo the xprofile_get_field_data fields elsewhere in WordPress (outside of Buddypress) in the same way?

    ie :

    $location = xprofile_get_field_data( 'Location', $user_id );
    echo $location;

    Obviously replacing user_id with the numeric user id.

    #237477
    mcpeanut
    Participant

    @mrgiblets i once recall downloading lots of various ajax all plugins and testing them but i noticed that alot of things could easily break for me due to the plugins i use, maybe worth trying it again? what is the issue with messaging with that plugin?


    @danbp
    i understand what your saying but maybe just have all the default tabs ajaxed? if this was the case plugins that create new tabs within buddypress would have to follow suit, no?


    @henrywright
    yes im gonna take a look later through the link you posted.cheers

    #237475
    mrgiblets
    Participant

    The site i’m currently developing with Buddypress (my first buddypress site) is totally Ajaxed using Ajaxify WordPress Site Pro.

    All profile tabs are now ajaxed as well as everything else.

    There is a small issue with messaging but the plug in developer is fixing that as we speak.

    #237473
    danbp
    Participant

    You can directly search in BuddyPress with notepad++ or a similar tool.
    Or online, here:
    http://phpxref.ftwr.co.uk/buddypress/nav.html?_functions/index.html

    Also by in-depth reading the codex.

    #237472
    Henry Wright
    Moderator

    Hey @mcpeanut

    I don’t think there’s any reason why these shouldn’t have ajax functionality. It may well be planned, but I’m not sure? Take a look through the open Trac tickets to see if anything is in the pipeline.

    #237471

    In reply to: mention part

    danbp
    Participant

    Please don’t double post !

    Closing this topic which can be continued here:
    https://buddypress.org/support/topic/mentions-suggestion-js-problem/

    #237461
    danbp
    Participant

    hi @okulsayfam,

    What do you think?

    Nothing without a site URL. 😉
    https://buddypress.org/support/topic/when-asking-for-support-2/

    Have you setup BuddyPress correctly ?

    Configure BuddyPress

    #237457
    Svend Rugaard
    Participant

    i was maeing i havent got this issue before i activated Buddypress not BBpress sorry for confusing

    #237455
    danbp
    Participant

    Please read here, as you have to debug your install.

    Are all pages assigned to BP components ?
    Have you same issue with Twenty Fifteen or one of the other WP default themes ?

    Note also that you got that issue after activating bbPress, which has his own support.
    And as you use a premium theme, we can’t help you much here, as we have no free access to it’s code.

    5high
    Participant

    No, that code didn’t work either – but this does:

    .group-button .leave-group {
      display:none !important;
    }

    and this removed the container it was in so you don’t get left with a 26px gap:

    .buddypress div#item-header div#item-header-content #item-buttons {
      height: 0px;
    }

    Not perfect or the correct php way but it is a solution for those that can’t make the first one here work.

    Cheers.

Viewing 25 results - 13,376 through 13,400 (of 69,016 total)
Skip to toolbar