Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 21,301 through 21,325 (of 94,541 total)
  • Author
    Search Results
  • #234088
    Archie Webmaker
    Participant

    Try using my theme “Maximus” back after three yrs
    http://strapboot.blogspot.com/2015/02/maximus-buddypress-theme.html

    #234085
    jessy
    Participant

    https://buddypress.trac.wordpress.org/ticket/6192#comment:4

    check the links on the top right side, below the menu, it goes into profile of wordpress, it should be styled nicely as a bar with grey background and profile activity on the buddypress site not wordpress or so.

    #234084
    xektor
    Participant

    As i understand does this tutorial http://premium.wpmudev.org/blog/how-to-create-a-custom-buddypress-members-directory/ change the members site and not the members widget? Or am i wrong?

    #234081
    disha76
    Participant

    @imath okay then add notice by the side of : Associate WordPress Pages with the following BuddyPress Registration pages.
    Before you use this go to /wp-admin/network/settings.php
    and select “Both sites and user accounts can be registered.”

    WP+BP needs to have distro

    WP and BP standalone
    WP Network and BP
    any other

    Distros will have inbuilt pages and settings already available so that users are not confused. Users can straightway use the flavor they want – simple!

    #234080
    Anonymous User
    Inactive

    @disha76

    having this settings on “Logged in users may register new sites” means registrations are off for WordPress. Deactivate BuddyPress and you will see WordPress will not allow you to register. Activate BuddyPress 2.1.1 and you’ll see that there are no regressions.

    The problem is elsewhere.

    #234079
    shanebp
    Moderator

    Are you aware of the include parameter for bp_has_members ?

    Your use of the exclude parameter is very inefficient. It might be okay on sites with only a few hundred members, but would be a performance bottleneck for large numbers of members.

    #234077
    evitorino
    Participant

    Thank you.

    Unfortunately this template is in use on a live site, with a premium theme that still has not released a BP 2.2 certified update.

    The links i gave you previously are from the development server.

    The pagination problem only arose after community grew, and i fear to update buddypress as it might break the theme.

    Will look into BP 2.2 but in the meantime i need to solve the problem.

    disha76
    Participant

    https://wordpress.org/plugins/bp-labs/ says :
    This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
    It is also buggy and does not work. Compatible up to: WordPress 3.5, BuddyPress 1.7

    What you say is true but certain essential features need to be there. Again there can be debate what is essential to me is not essential to you. But “Likes” ( or any other name for it) is a core feature of Elgg, Drupal, Phpfox, Oxwall – name any paid or FREE scripts. It is sad that the “Likes” code of wordpress com has not been passed to wordpress org and more sad that it has not thus been incorporated into buddypress. Apparently there are lots of efforts at re-inventing wheels.

    Please also understand that majority of users who are using BP
    – are small to medium users, many are hobby users
    – they cannot code a plugin but looks for readymade solution
    – they have to customize their site which takes time and effort, get content and users

    Just as developers are gracious and we are grateful to them, so are the users – if users never adopted and tested freely BP so much where it would have been?
    I think we badly need a StackExchange type Q and A forum here that comes up with actual code or solutions, which can be rated and used instantly.

    #234074
    mrjarbenne
    Participant

    You could use this plugin: https://github.com/r-a-y/buddypress-usernames-only

    Which extends across to the bbPress side of a BuddyPress install. Note that by default, display names are enabled in the member header on profile pages. If you prefer usernames to be shown everywhere, add the following snippet to your wp-config.php file:

    define( 'BP_SHOW_DISPLAYNAME_ON_PROFILE', false );

    mrjarbenne
    Participant

    @djpaul had a Like component in his BP Labs plugin that you might want to look at:

    https://wordpress.org/plugins/bp-labs/

    Between that and the BuddyPress Likes plugin that allows likes for other components, maybe you could develop something to help the broader community, or at least to fit your site’s needs.

    One of the benefits of open source is the availability of code you can iterate upon to create something that fits your needs so you don’t have to continually start from scratch when developing a site. Note that many plugins are not built to appease the masses, as much as they are custom built for specific sites and specific purposes. The developers are then gracious enough to share that creation to the community, but I don’t believe that means they need to ensure that their plugin is a swiss army knife, when they had created it to merely open cans. You can’t always expect to find something that perfectly fits your needs (although it’s great when it happens, and it happens often).

    There seems to be enough blocks out there for you to build/commision to have built, something that does what you need.

    #234067
    danbp
    Participant

    Hi @evitorino,

    update to BP 2.2.0 first, than you can use the new member_type functionality.

    Find a usage example here, based on what is written on Codex.

    chatty24
    Participant

    Hey, @henrywright

    You replied to me here :
    https://buddypress.org/support/topic/how-to-remove-html-tags-from-activity-stream/

    and it helped me but it is not letting me put images anymore. Maybe because tag is also disabled. So, how can I disable all the HTML tags accept the image tag.

    Thanks

    #234064
    danbp
    Participant

    This will need some design work and maybe a custom filtered recently active members widget or a custom member directory template for this part of your homepage…

    Design (be inspired) – Widget

    #234063
    Anonymous User
    Inactive

    @gina i’m not so sure about invite anyone i think there might Be a problem with BuddyPress. I need some time to Fully understand

    evitorino
    Participant

    My wordpress is 4.1 and Buddypress 2.1.1

    Hello Community,

    I am having a problem with a custom member page pagination, when clicking link to pagination page 2, pagination takes us to page 2 and adds the string “?upage=2” to the site URL.

    After that, clicking page 1 or back symbol on pagination links does nothing, only refreshes page.

    Problematic page: http://wp1.kodeserver.net/coach/
    I have set the page above in Twentyfifteen theme as to exclude any third party theme related errors.

    If we use the default member page “http://wp1.kodeserver.net/members/” then pagination works ok.

    I believe the error might be caused by the member filter i made or maybe i messed up the template.

    Hope you can help.

    Below is the code i am using:

    functions that i use to filter member loop by member types on the site:

    function bp_exclude_users_but_player() {
    $excluded_users_but_player = implode(',',get_users('role=coach&fields=ID'));
    $excluded_users_but_player = $excluded_users_but_player.','.implode(',',get_users('role=seniorcoach&fields=ID'));
    $excluded_users_but_player = $excluded_users_but_player.','.implode(',',get_users('role=subscriber&fields=ID'));
    $excluded_users_but_player = $excluded_users_but_player.','.implode(',',get_users('role=editor&fields=ID'));
    $excluded_users_but_player = $excluded_users_but_player.','.implode(',',get_users('role=administrator&fields=ID'));
    return $excluded_users_but_player;
    }

    function bp_exclude_users_but_coach() {
    $excluded_users_but_coach = implode(',',get_users('role=player&fields=ID'));
    //$excluded_users_but_coach = $excluded_users_but_coach.','.implode(',',get_users('role=seniorcoach&fields=ID'));
    $excluded_users_but_coach = $excluded_users_but_coach.','.implode(',',get_users('role=subscriber&fields=ID'));
    $excluded_users_but_coach = $excluded_users_but_coach.','.implode(',',get_users('role=editor&fields=ID'));
    $excluded_users_but_coach = $excluded_users_but_coach.','.implode(',',get_users('role=administrator&fields=ID'));
    return $excluded_users_but_coach;
    }

    function bp_exclude_users_but_senior_coach() {
    $excluded_users_but_senior_coach = implode(',',get_users('role=player&fields=ID'));
    $excluded_users_but_senior_coach = $excluded_users_but_senior_coach.','.implode(',',get_users('role=coach&fields=ID'));
    $excluded_users_but_senior_coach = $excluded_users_but_senior_coach.','.implode(',',get_users('role=subscriber&fields=ID'));
    $excluded_users_but_senior_coach = $excluded_users_but_senior_coach.','.implode(',',get_users('role=editor&fields=ID'));
    $excluded_users_but_senior_coach = $excluded_users_but_senior_coach.','.implode(',',get_users('role=administrator&fields=ID'));
    return $excluded_users_but_senior_coach;
    }

    function bp_exclude_cc_backend_users() {
    $excluded_cc_backend_users = implode(',',get_users('role=subscriber&fields=ID'));
    $excluded_cc_backend_users = $excluded_cc_backend_users.','.implode(',',get_users('role=editor&fields=ID'));
    $excluded_cc_backend_users = $excluded_cc_backend_users.','.implode(',',get_users('role=administrator&fields=ID'));
    return $excluded_cc_backend_users;
    }

    Member Loop that calls member “Coach” filter:
    <?php if ( bp_has_members( bp_ajax_querystring( 'members').'&exclude='.bp_exclude_users_but_coach().'&per_page=24' ) ) : ?>

    And this is the problematic page template code (The one that filters by role type (coach))

    <?php
    /**
    * The template for displaying all pages
    *
    * This is the template that displays all pages by default.
    * Please note that this is the WordPress construct of pages and that
    * other 'pages' on your WordPress site will use a different template.
    *
    * @package WordPress
    * @subpackage Kleo
    * @since Kleo 1.0
    */

    get_header(); ?>

    <?php get_template_part('page-parts/general-title-section'); ?>

    <?php get_template_part('page-parts/general-before-wrap'); ?>

    <?php
    if ( have_posts() ) :
    // Start the Loop.
    while ( have_posts() ) : the_post();
    /*
    * Include the post format-specific template for the content. If you want to
    * use this in a child theme, then include a file called called content-___.php
    * (where ___ is the post format) and that will be used instead.
    */
    get_template_part( 'content', 'page' );
    endwhile;
    endif;
    ?>

    <?php do_action( 'bp_before_directory_members_page' ); ?>
    <section class="container-wrap main-color">
    <div class="section-container container">

    <div id="buddypress">

    <?php do_action( 'bp_before_directory_members' ); ?>

    <?php do_action( 'bp_before_directory_members_content' ); ?>

    <!--<div id="members-dir-search" class="dir-search" role="search">
    <?php //bp_directory_members_search_form(); ?>
    </div>--><!-- #members-dir-search -->

    <?php do_action( 'bp_before_directory_members_tabs' ); ?>

    <form action="" method="post" id="members-directory-form" class="dir-form">

    <div id="subnav" class="item-list-tabs" role="navigation">

      <!--<li class="selected" id="members-all">"><?php //printf( __( 'All Members <span>%s</span>', 'buddypress' ), bp_get_total_member_count() ); ?>--> <!--Contatore membri totali-->

      <?php //if ( is_user_logged_in() && bp_is_active( 'friends' ) && bp_get_total_friend_count( bp_loggedin_user_id() ) ) : ?>
      <!--<li id="members-personal">"><?php //printf( __( 'My Friends <span>%s</span>', 'buddypress' ), bp_get_total_friend_count( bp_loggedin_user_id() ) ); ?>-->
      <?php //endif; ?>

      <?php //do_action( 'bp_members_directory_member_types' ); ?>

      <?php //do_action( 'bp_members_directory_member_sub_types' ); ?>

      <!--<li id="members-order-select" class="last filter">
      <label for="members-order-by"><?php //_e( 'Order By:', 'buddypress' ); ?></label>
      <select id="members-order-by">
      <option value="active"><?php //_e( 'Last Active', 'buddypress' ); ?></option>
      <option value="newest"><?php //_e( 'Newest Registered', 'buddypress' ); ?></option>

      <?php //if ( bp_is_active( 'xprofile' ) ) : ?>
      <option value="alphabetical"><?php _e( 'Alphabetical', 'buddypress' ); ?></option>
      <?php //endif; ?>

      <?php //do_action( 'bp_members_directory_order_options' ); ?>
      </select>
      -->

    </div><!-- .item-list-tabs -->

    <div id="members-dir-list" class="members dir-list">

    <?php

    /**
    * BuddyPress - Members Loop
    *
    * Querystring is set via AJAX in _inc/ajax.php - bp_legacy_theme_object_filter()
    *
    * @package BuddyPress
    * @subpackage bp-legacy
    */

    ?>

    <?php if ( bp_has_members( bp_ajax_querystring( 'members').'&exclude='.bp_exclude_users_but_coach().'&per_page=24' ) ) : ?>

    <div id="pag-top" class="pagination">
    <div class="pag-count" id="member-dir-count-top">
    <?php bp_members_pagination_count(); ?>
    </div>
    <div class="pagination-links" id="member-dir-pag-top">
    <?php bp_members_pagination_links(); ?>
    </div>
    </div>

    <?php do_action( 'bp_before_directory_members_list' ); ?>

    <ul id="members-list" class="item-list row kleo-isotope masonry">

    <?php while ( bp_members() ) : bp_the_member(); ?>

    <?php $user_info = get_userdata(bp_get_member_user_id()); ?>
    <?php
    $user_roles = $user_info->roles;
    $user_role = array_shift($user_roles);

    // echo 'User ID: ' . $user_info->ID . "\n";
    // echo bp_core_get_user_displayname( $user_info->ID ) ;
    // echo $user_info->ID ;
    ?>

    <li class="kleo-masonry-item type-<?php echo $user_role; ?>">

    ID ; ?>' value='show/hide'> <!-- link che apre info's nascoste -->

    <div class="member-inner-list animated animate-when-almost-visible bottom-to-top">

    <div class="item-avatar rounded">
    <!--
    ">
    --> <?php bp_member_avatar( 'type=full&height=150&width=150' ); ?>
    <!--
    -->
    <?php //do_action('bp_member_online_status', bp_get_member_user_id()); ?>
    </div>
    <!-- "> -->
    <div class="item">
    <div class="item-title"><span class="loop-nome"><?php bp_member_name(); ?></span><span class="loop-cognome"><?php bp_member_profile_data( 'field=Cognome' ); ?></span></div>

    <!-- <?php if ( bp_get_member_latest_update() ) : ?>
    <span class="update"> <?php bp_member_latest_update(); ?></span>
    <?php endif; ?>
    -->
    <?php do_action( 'bp_directory_members_item' ); ?>

    <?php
    /***
    * If you want to show specific profile fields here you can,
    * but it'll add an extra query for each member in the loop
    * (only one regardless of the number of fields you show):
    *
    * bp_member_profile_data( 'field=the field name' );
    */
    ?>

    </div>

    </div><!--end member-inner-list-->
    <!-- link che apre informazioni nascoste -->
    <div id="contenuto-nascosto-<?php echo $user_info->ID ; ?>" class="hidden-infos">
    <div class="nascondi-infos">
    ID ; ?>' value='show/hide'>
    <i class="icon-cancel"></i>

    </div>
    <div class="unhidden-infos unhidden-infos-first ">
    <div class="item-avatar-small">
    ">
    <?php bp_member_avatar( 'type=full&height=50&width=50' ); ?>

    <?php do_action('bp_member_online_status', bp_get_member_user_id()); ?>
    </div>
    </div>
    <div class="unhidden-infos">
    <div class="item-title">
    ">
    <span class="loop-nome"><?php bp_member_name(); ?></span>

    ">
    <span class="loop-cognome"><?php bp_member_profile_data( 'field=Cognome' ); ?></span>

    </div>
    </div>
    <div class="unhidden-infos">
    <span class="nomeazienda-titolo custom-title">Azienda:</span>
    <span class="nomeazienda custom-infos"><?php bp_member_profile_data( 'field=Azienda' ); ?></span>
    </div>
    <div class="unhidden-infos">
    <span class="pos-lavorativa-title custom-title">Funzione:</span>
    <span class="pos-lavorativa custom-infos"><?php bp_member_profile_data( 'field=Funzione' ); ?></span>
    </div>
    <div class="unhidden-infos">
    <span class="settore-title custom-title">Settore:</span>
    <span class="settore custom-infos"><?php bp_member_profile_data( 'field=Settore' ); ?></span>
    </div>
    <div class="unhidden-infos">
    <span class="laurea-title custom-title">Laurea:</span>
    <span class="laurea custom-infos"><?php bp_member_profile_data( 'field=Laurea' ); ?></span>
    </div>

    <div class="action">

    <div class="generic-button" id="send-private-message">
    " title="Clicca per profilo completo" class="send-message">Profilo Completo
    </div>

    <?php //do_action( 'bp_directory_members_actions' ); ?>

    </div>
    </div>

    <script type="text/javascript">
    jQuery(document).ready(function(){
    jQuery('#nascondi-mostra-<?php echo $user_info->ID ; ?>').live('click', function(event) {
    jQuery('#contenuto-nascosto-<?php echo $user_info->ID ; ?>').toggle('show');
    });
    });
    </script>

    <?php endwhile; ?>

    <?php do_action( 'bp_after_directory_members_list' ); ?>

    <?php bp_member_hidden_fields(); ?>

    <?php else: ?>

    <div id="message" class="info">
    <p><?php _e( "Sorry, no members were found.", 'buddypress' ); ?></p>
    </div>

    <?php endif; ?>

    <?php do_action( 'bp_after_members_loop' ); ?>

    </div><!-- #members-dir-list -->

    <?php do_action( 'bp_directory_members_content' ); ?>

    <?php wp_nonce_field( 'directory_members', '_wpnonce-member-filter' ); ?>

    <?php do_action( 'bp_after_directory_members_content' ); ?>

    </form><!-- #members-directory-form -->

    <?php do_action( 'bp_after_directory_members' ); ?>

    </div><!-- #buddypress -->

    </div>
    </section>

    <?php do_action( 'bp_after_directory_members_page' ); ?>

    <?php get_template_part('page-parts/general-after-wrap'); ?>

    <?php get_footer(); ?>

    #234059
    danbp
    Participant

    Styling the WP Toolbar is not directly related to BuddyPress and a bit out of the scope of this forum.
    Please ask better on a specialized CSS forum. 😉

    #234055
    Anonymous User
    Inactive

    In BuddyPress 2.1.1, when using this setting “Logged in users may register new sites” > registering new users is not available.
    If you deactivate BuddyPress to only let WordPress, this setting doesn’t generate a registration link.
    In BuddyPress 2.2 same behavior. So no bug.

    This means the problem is coming from the plugin invite anyone. Since BuddyPress 2.2, the way this plugin was overriding BuddyPress site options is not working anymore. I’m going to inform the developer of the plugin.

    #234053
    yosmc
    Participant

    Thanks for the reply – very much appreciated.

    The problem is that I am launching a network where users can create their own subsites. I anticipate that the fact that each site is initially “broken” and needs to be fixed will create a constant stream of support requests that will make things fairly inconvenient to handle.

    I don’t exactly know what the “slight changes” in existent WP installs are that would cause issues if Buddypress created the registration and activation pages automatically – but I am wondering how hard it would be to detect the environment, and default to creating those pages automatically for fresh installs only. Hell, even a “use at your own risk” config switch that would change the behavior for people like me would easily do the trick.

    Being a webmaster myself, I have always looked at the time something takes AND the number of people affected. So yes, it’s only a minute, but if it affects 10,000 people and you can get rid of the minute, you still have 10,000 minutes saved for the better things in life. 😉

    #234052
    Kir 2012
    Participant

    Hi there I’m looking to style all of the corners of the buddypress admin bar that drops down in the top right hand corner, so they’re rounded. Can anyone help me with the css? I’ll paste in below what I’ve got so far: I patched the below together using firebug & a paste from somewhere (the change admin bar with more effects bit which gives me a white dividing line between dropdowns although none of the rest of it seems to do anything) Can anyone help? I’m really stuck! Many thanks

     /*change admin bar color*/
    #wp-admin-bar #wp-toolbar #wpadminbar #wp-admin-bar-user-actions #wp-admin-bar-my-account #wp-admin-bar-edit-profile 
    .ab-sub-wrapper,.ab-submenu,.quicklinks,.ab-item,.menupop{
    background: #63486e !important;
    font-weight: bold !important;
        font-family: "Lato" , sans-serif !important;
        color: #ffffff !important;
        
    }
    .menupop:hover,
    .quicklinks:hover,
    .ab-item:hover{
        color: #fff200!important;
    }
     
     /*change username  color* (under display name in drop down avatar in admin bar*/
    .ab-sub-wrapper,.username {
    background: #63486e !important;
    font-weight: bold !important;
        font-family: "Lato" , sans-serif !important;
        color: #ffffff !important;
        
    }
     /*change display name in drop down avatar in admin bar so big*/
    .display-name {
    font-size: 17px !important;
    font-weight: bold !important;
      }
    
     /*change admin bar with more effects*/
    .ab-item{ 
    background: #fff url(images/black_top.png) top left repeat-x;
    background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#111111));
    background: -webkit-linear-gradient(top, #ffffff, #111111);
    background: -moz-linear-gradient(top, #ffffff, #111111);
    background: -ms-linear-gradient(top, #ffffff, #111111);
    background: -o-linear-gradient(top, #ffffff, #111111);
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    -webkit-box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1);
    -moz-box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1);
    box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1);
    }
    #234051
    Henry Wright
    Moderator

    Take a look through the template files here to see how things fit together. If you use the Template Hierarchy article as a starting block (read through that first), the way you should organise your templates should become clearer

    Hope that helps?

    danbp
    Participant

    @garrett-eclipse, @henrywright,

    i added this dicussion here.

    #234044
    danbp
    Participant

    Another forum bug is related here.

    #234040
    danbp
    Participant

    hi @yosmc,

    registration and activation are directly dependant of WordPress, that’s (i presume) the reason why BP doesn’t create those page for you automatically.
    This is not a problem when you use a fresh install, but can be one if you’re installing BP on an existent WP install. In this case, some original settings may be slightly change i guess.
    BP uses all those page for internal purpose. And this usage is somehow enforced with 2.2.0 version.(see here from trac)

    There is anyway no alternative when BP is on. You have to create those page manually. Point.
    I don’t think there is a way to get those page automatically created.
    Creating them will take 1 mn, which is a less effort in regard of developing a custom function for an operation which is only done once. 😉

    #234037
    Henry Wright
    Moderator

    Hi @format19

    You mention ‘the forum’. That’s bbPress and not BuddyPress functionality. Have you tried asking on their support forum?

    #234035
    yosmc
    Participant

    You guys are hijacking my thread. My question was to learn why Buddypress behaves like this by design. Now you are swamping my thread with your personal malfunction issues. Is it really too much asked for nowadays to show a bit of netiquette and open your own threads for those?

Viewing 25 results - 21,301 through 21,325 (of 94,541 total)
Skip to toolbar