Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 13,151 through 13,175 (of 73,985 total)
  • Author
    Search Results
  • #258975
    Martijn
    Participant

    Hi,

    I need some help with setting the results in a different order.
    On two seperate locations I want to show the profiles with birthdays in different order.

    location 1) I want to show all ‘members’ (I’ll style it in a 3 or 4 column grid), ordered by First name alphabeticly OR by birthdate excluding year. But I think the first option is easier and actually more natural to users.

    From the documentation here I got this code, and took some stuff out and added the birthdate field.
    This code works as in, it displays the members, add a link to the profile and adds the birthdate.
    Now I just need this to be ordered by name alphabeticly.

    <?php if ( bp_has_members( bp_ajax_querystring( 'members' ) ) ) : ?>
     
       
      <?php do_action( 'bp_before_directory_members_list' ); ?>
     
      <ul id="members-list" class="item-list" role="main">
     
      <?php while ( bp_members() ) : bp_the_member(); ?>
     
        <li>
          <div class="item-avatar">
             <a href="<?php bp_member_permalink(); ?>"><?php bp_member_avatar(); ?></a>
          </div>
     
          <div class="item">
            <div class="item-title">
               <a href="<?php bp_member_permalink(); ?>"><?php bp_member_name(); ?></a>        
           </div>
      <?php do_action( 'bp_directory_members_item' ); ?>
     <?php echo bp_member_profile_data('field=geboortedatum');?>
           </div>
           <div class="action">
                <?php do_action( 'bp_directory_members_actions' ); ?>
           </div>
           <div class="clear"></div>
       </li>
      <?php endwhile; ?>
      </ul>
      <?php do_action( 'bp_after_directory_members_list' ); ?>
      <?php bp_member_hidden_fields(); ?>
     <?php endif; ?>

    Location 2) Show 5 profiles with the first upcoming birthdays.
    Changing the above code with this:
    if ( bp_has_members( bp_ajax_querystring( 'members' ).'&max=5' ) ) :

    I get to limit the output of only 5 profiles. But I don’t know if this limit is can/will be applied before or after the order.

    I would like to order these on dates after ‘today’

    I now use a datepicker to add birthdate, but could add 2 seperate number fields for day and month, as I guess this will be easier to filter with.

    So I did get some results, but the ordering is something I can’t figure out and would like some help with. I found a plugin before (buddypress birthday widget) but its not working as I would like it to and after earlier contact I have not received any response from the plugin def for some time now, so I’m trying to make something myself.

    Hope someone can point me in the right direction.

    Kind regards,

    Martijn

    HDcms
    Participant

    Hello,

    The ultimate goal is to mask the content and selector when a member arrives on the page of a public group to which it has not acceded. In fact he will see just the top of the page, and description button to join group

    screenshot:
    https://framapic.org/j4FYWFvZmHVI/sOyIzEz0Gl7F.png

    The idea is to reach over activities and other menu group visited oblige to register if he sees that description, avatar and the button to join

    I found bp_group_is_member to test ()
    http://buddypress.wp-a2z.org/oik_api/bp_group_is_member/
    If I do not put any argument, I understand that it will test whether the member is party group (and I add the condition to be displayed in a group?

    I have an error message:
    « Fatal error: Call to undefined function bp_group_is_member() in /var/www/../wp-content/plugins/bp-custom.php on line 3 »

    What I found to achieve the goal:

    if ( !bp_group_is_member() || bp_is_active('groups') )
     {add_filter( 'bp_after_has_activities_parse_args', 'my_bp_activity_types_non-membre' );}
     
    function my_bp_activity_types_non-membre( $retval ) {
        $retval['action'] = array(        
            //'activity_comment',
    	//'activity_update',
    	//'created_group',
    	//'friendship_created', nouv relation entre membre
    	//'joined_group',
    	//'last_activity',
    	//'new_avatar',
    	//'new_blog_comment',
            //'new_blog_post',
    	//'new_member',
    	//'updated_profile',
    	//'rtmedia_update'       
        ); 
        return $retval;

    Regards

    Paul Wong-Gibbs
    Keymaster

    On any decent server config, warnings and errors will not be shown on screen in production environments. Instead, it’ll be written to a log file. So you will still have the problem.

    Try switching back to your real theme (so the warning comes back), and then disable plugins one-at-a-time. See if you can figure out if it’s a combination of one plugin and your theme causing the problem.

    Is this a custom theme you wrote? Or did you buy from somewhere? Are BuddyPress templates defined in the theme (it’d be in your_theme/buddypress/ subfolder)? If it’s isolated to only your theme and not your theme+plugins, you’re going to have to debug through the members templates and figure it out.

    #258971
    Paul Wong-Gibbs
    Keymaster

    BuddyPress doesn’t have a wall feature like how you think it does. You’ll need to check out a Wall plugin for BuddyPress, maybe http://www.buddyboss.com/product/buddyboss-wall/

    #258969

    In reply to: Login conflict

    Henry Wright
    Moderator

    You could use member types to create child and adult types and add a radio button to the BuddyPress registration form?

    Member Types

    #258966
    danbp
    Participant

    Using BP Theme Compat in Plugins.

    BuddyPress has no more theme since 1.9. The old BP-Default theme is only in for backward compatibility.
    If you build a plugin for BP, i don’t think you need to build an extra theme for it. BP use only templates, who have enough flexibility to fit with almost any theme.

    Globally, for a plugin, you have to match with BP’s templates, not with a theme or another.

    Ie. if you need a setting screen on profiles, you can use a simple call to a kind of pre-build template you can use for plugins
    bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) );

    By using this, you’re on the profile with a new tab related to your plugin and automatically also integrated to the user’s theme. In other words, BP takes in account your plugin and the theme takes account of BP.

    I wouldn’t recommand to build a theme with a plugin, as they are so many different themes on hand. If you don’t fit to the majority of them for any obvious reason, you’ll get in high difficulties if you are to specific. Don’t forget that you will have a plugin support to manage…

    Made it simple and efficient and if possible, easy maintainable and upgradable. For you but also for any user type.

    #258962

    In reply to: BuddyPress Branding

    Henry Wright
    Moderator

    Here’s an example of what’s allowed:

    Activity Stream Plus for BuddyPress

    Note, the following is an example of what isn’t allowed:

    BuddyPress Activity Stream Plus

    You may come across older plugins that use the 2nd naming style. That’s because the guidance above was introduced by the WordPress Plugin Review Team relatively recently.

    #258961

    Awesome, thanks! The template overload and BP theme compat documentation is really insightful.

    My goal with this is to create a plugin that loads a BuddyPress theme which can work along with nearly any WordPress theme I switch to. With that said, in your expert opinion, which of the methods you’ve provided will work best from an overall compatibility perspective?

    #258958
    donsauce
    Participant

    Hello,
    I can not load ANYTHING on buddypress whether it be someones profile, photos, settings, messages anything…it tells me that the website has too many redirects.

    I tried placing some coding (that I saw in an older forum here from 4 years ago) into bp-custom and bp-loader but that did not change anything. The website launches in 2 days and I REALLY need help!

    My htaccess file has the following:

    # BEGIN s2Member GZIP exclusions
    <IfModule rewrite_module>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{QUERY_STRING} (^|\?|&)s2member_file_download\=.+ [OR]
    RewriteCond %{QUERY_STRING} (^|\?|&)no-gzip\=1
    RewriteRule .* – [E=no-gzip:1]
    </IfModule>
    # END s2Member GZIP exclusions

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress
    AuthName “Developer”
    AuthUserFile “/home3/reelhookedco/.htpasswds/public_html/passwd”
    AuthType Basic
    require valid-user

    Please help!

    Thank you!

    #258957
    danbp
    Participant
    #258955
    danbp
    Participant

    Hi @tronix-ex,

    Give this a try. Read more will only appear again if you use more than 500 000 characters…
    Add to bp-custom.php

    function bpfr_excerpt_length( $length ) {	
    
    $length = 500000; // adjust the length to desired number of characters 
    
    // Is the current page a user's activity stream page ?
    	if( bp_is_user_activity() ) {
    	  return $length;
    	}
    }
    add_filter( 'bp_excerpt_length', 'bpfr_excerpt_length', 11, 1 );
    #258954
    kyla123
    Participant

    I have BuddyPress Version 2.6.2

    #258953
    kyla123
    Participant

    Is there a way to remove the “add photo” and “add video” features on BuddyPress Activity Plus? This would leave only the upload Link feature. I already use a plugin for pics and videos and I like Activity Plus better than BP Links. Maybe there is a code I could enter into the Code Snippets Plugin that i have downloaded?

    i have wordpress theme Twenty Fourteen and I have BuddyPress Version 2.6.2

    #258952

    In reply to: BuddyPress Branding

    danbp
    Participant

    Hi,

    you can use BuddyPress in the plugin name, under condition the public can understand clearly that it is an add-on FOR BP and not a part OF BP.

    For the domain name, i presume it’s the same trademark condition as for wordpress: no, you can’t. You can use bp-something[dot]com but not buddypress-something[dot]com

    BuddyPress comes like WordPress under GPLv2 license and has similar terms of use.

    #258950
    jajamoo1
    Participant

    For my company’s buddypress plugin, we have the Achievements plugin as well. The only issue is that in the members section (http://community.copypress.com/members/) it sorts by the most recent member. Instead, we’d like to sort by the members with the most badges and certifications. I’m not sure how to do that. I have a sneaking suspicion that it is in the members-loop.php file or the achievements.php file but I’m not sure as to how to do so. Any help in this regard would be much appreciated.

    Thank you.

    #258949

    Hi,

    I’m developing a new BP plugin (Free & Premium), and I want to know if I am allowed to use “BuddyPress” within the plugin name? I will be creating a site for it, so the domain will be the plugin name, which will include BuddyPress.

    Do I need to get permission for this, or is this allowed?

    Thanks

    #258948

    Hi guys,

    I’m working on adding BuddyPress support to my theme, but I want to load all of the functions and theme template files for BuddyPress in a plugin. Does anyone know how this can be done? Is there a way to change the path in which buddypress searches for the template files?

    Thanks,

    #258947

    In reply to: Lost search function

    danbp
    Participant
    #258946
    eg
    Participant

    Hello,

    I’ve installed buddypress with another plugin. They both require logins. However, when I login with buddypress, it automatically creates an account for the other plugin and vice versa. I would like to restrict this feature as one login is for kids and the other is for adults. We don’t want adults chatting with kids etc.

    You can see this at our site trinikidscorner.com. There’s a kids corner and a parents zone. They each create user accounts for the other plugin, which we don’t want.

    Can you direct me as to how this can be done, please?
    Thanks in advance!

    #258942
    kyla123
    Participant

    is there a way I can enable @mentions to post to a friends wall whenever I write it on my wall? When on Facebook, I can tag people whenever i post anything(status, pics…) and they can choose to allow it on their wall. Currently, from my wall, I can post @someone and it only shows it on my wall and the activity feed and doesn’t give the other user the option to allow it to post on their wall. Any way to alter this? I looked into photo tagging… RtMedia has a photo tagging add-on but it is for $99. (I use rtMedia for my photos/albums). Looking for a free/much cheaper option.

    I have Buddypress Wall and my wordpress site is Twenty Fourteen theme.

    #258941
    danbp
    Participant

    Other related topics:

    restrict by user role

    Status

    restrict by member_type

    Status

    #258940
    danbp
    Participant

    Please, don’t double post ! You have already asked the same question here:

    How to show bp resume view page on home page of buddypress

    Closing this topic as duplicate.

    argoncobalt
    Participant

    I just upgraded BuddyPress on my staging server. Previously it was version 2.4.3, now it’s 2.6.2. WordPress was also automatically upgraded recently to version 4.6.1 (my client and I are using WP Engine, which automatically upgrades every so often).

    However, once I upgraded BP, I began receiving a warning on the member directory portion of the website.

    Here is a link to the staging site, specifically the page giving me a problem, the member directory: https://goo.gl/m6IKrs

    I keep receiving repeats of the following warning, one for every single profile picture: Warning: Invalid argument supplied for foreach() in /nas/content/staging/ltb/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-field.php on line 266

    And then on individual profile pages, I receive the warning once.

    Does anybody know what could be causing this?

    #258929
    Stormn
    Participant

    I am having the same issue. I need members to be able to sign up themselves with a confirmation email rather than me having to approve them manually. This problem also affects my ability to set up a commerce page. I am using BP 2.6.2 with the WP Spirit 01 Theme. I am not using any other Buddy Press plugins other than just BuddyPress.

    #258927
    idichoo
    Participant

    Does anyone here have any idea to remove bbpress notification in activity column.

    I find it irritating and best remove the forum from buddpypress

    I was also given the site below but dont find it useful.

    Installing Group and Sitewide Forums

Viewing 25 results - 13,151 through 13,175 (of 73,985 total)
Skip to toolbar