Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 17,826 through 17,850 (of 68,987 total)
  • Author
    Search Results
  • #176397
    Shmoo
    Participant

    I think I’ve got it..

    
    <div class="three columns">
    	<?php bp_get_template_part( 'members/single/messages/messages-loop' ); ?>
    </div>
    
    <div class="five columns">
    	<div class="msg-content-wrap">
    	<?php
    	switch ( bp_current_action() ) :
    	
    	// Single Message View
    	case 'view' :
    		bp_get_template_part( 'members/single/messages/single' );
    	break;
    		
    	// Compose
    	case 'compose' :
    		bp_get_template_part( 'members/single/messages/compose' );
    	break;
    		
    	// Sitewide Notices
    	case 'notices' :
    		do_action( 'bp_before_member_messages_content' ); ?>
    		<?php bp_get_template_part( 'members/single/messages/notices-loop' ); ?>
    		<?php do_action( 'bp_after_member_messages_content' );
    	break;	
    	// Any other
    	default :
    		bp_get_template_part( 'members/single/plugins' );
    	break;
    	endswitch; ?>
    </div>
    

    The only thing I still have to do is protect the column 3 – messages-loop.php from showing to the public or all logged_in users.

    !Please do not use this code on Live BuddyPress sites!

    #176394
    modemlooper
    Moderator

    I created a version without BuddyPress that you can try
    https://github.com/modemlooper/Buddy-Default

    #176392
    julianprice
    Participant

    Thanks for sharing @modernlooper — I will check it out on how to contribute.
    I think there could be room made at Make.Wordpress.org to encourage BuddyPress Community Engagement & Exposure because I see discussion merely on metadata group or other adhoc groups.

    #176391
    blastblast
    Participant

    Pretty gutted by this decision to not support bp-default as it seems to support bbpress and for my site personally, like the emphasis on forums, members activity stream.

    https://wordpress.org/themes/tags/buddypress
    Looking through the handful of buddypress/bbpress focused theme, there doesnt seem to be one thats quite barebones-functional like the Bp-default. Blog-post on the left-center and members/log-in widgets on the right.

    Does buddypress have any plans to release a new “bp-default”?

    thanks

    #176389
    modemlooper
    Moderator

    If you have bp-default active it will still show when upgrading. If you deactivate bp-default it will not show.

    Please consider moving your site to a new theme. There may not be fixes for any new features in the future.

    The define listed above is for sites that do not want to upgrade theme right away. It was created as a fix to give sites time to move away from bp-default. Contact the theme developer and have them remove BuddyPress from your theme so it can use theme compatibility.

    #176387
    blastblast
    Participant

    hi all


    @mdpane
    The BP-Default theme is critical to my site. I am running wordpress and bbpress along with buddypress 1.9

    A couple questions:

    1- Does this mean if I update to buddypress 1.9.1, my bp-default theme will disappear?

    2- Regarding the solution you posted, of adding the code, what exactly does that do? Does it activate the BP-Default theme should you install BP 1.9 or latter?

    3- Will/Is my current installed BP-Default theme in risk of not working in the future?

    Thanks

    #176386
    modemlooper
    Moderator

    There are not enough contributors to BuddyPress to do something as extensive as the make.wordpress

    Here is the current options to get involved https://codex.buddypress.org/participate-and-contribute/

    #176383
    TPdaking#7782
    Participant

    it was a bp default line that was to be taking out…here is the thread https://buddypress.org/support/topic/notifications-tab-seems-to-break-site/

    #176376
    mdpane
    Participant

    BP Default Theme – moving forward with BP 1.9

    As of BuddyPress 1.9, bp-default has been retired, so it won’t show up in your themes. However, you can create a file called “bp-custom.php” in your plugins folder which will force WP to load it. Add these lines to it:

    <?php
    
    add_filter( 'bp_do_register_theme_directory', '__return_true' );
    
    ?>

    That should fix it for you.

    #176363
    Tully5150
    Participant

    @johnjamesjacoby – thanks for your reply.

    Mate, I have no other Plugins active only Buddypress and am using theme twenty fourteen. I have re-installed wordpress, buddypress (twice now) – enabled the ‘anyone can register’ in the settings. I’m just dumbfounded.

    It must be something ridiculously obvious that I’m missing – or something to do with my local development environment with MAMP. But hey, I’m guessing.

    #176357
    Ben Hansen
    Participant

    it’s in the menu screen there should be a buddypress section with the links.

    #176356

    Hello Hugo, I am using BuddyPress1.9 and I can not find “BP account screen link” in BP setting? could Hugo/anyone tell me where to find the link? I would like add dynamic profile Link to my main menu item. please help!!!

    #176351
    Birdseye
    Participant

    Okay now. The fix I used.
    FTP and renamed the offending plugin.
    Dashboard came back. Deleted the offending plugin and files, which worked surprisingly
    Activated new BuddyPress version.
    Members, Grouyps, Activity back…Whew!
    Now to re back up the site..
    wp 3.8

    #176340

    In reply to: DO NOT FORCE SIGN UP

    Right. This doesn’t seem directly related to BuddyPress, but rather some privacy setting on the page itself.

    #176336
    Tully5150
    Participant

    PLEASE HELP!!!!! I’ve been at this for 2 days now and I still can’t get Buddypress to register a single User…I have re-installed WordPress, Re-installed Buddypress – all I need to do to get going is just create 1 User!!!!!

    #176326
    lz430
    Participant

    Still kind of confused. Sorry for the delay between responses. I’ll be more responsive now.

    Where should I use the type=alphabetical now?
    Here’s my code again:

    <?php
    /*
    Template Name: Buddypress Leadership Template
    */
    ?>
    
    <?php get_header(); ?>
    <?php if ( bp_has_members() ) : ?>
     
        <h4 id="executive-header">Executive Board</h4>
        <div class="leadership-list">
            <ul class="members-list executives leadership item-list" role="main">
           <?php while ( bp_members() ) : bp_the_member(); ?>
            <?php 
                global $current_site; 
                $user_id = bp_get_member_user_id(); 
                $memberOf = xprofile_get_field_data( 'Member of' ,bp_get_member_user_id(), $multi_format = 'array');
                $jobTitle = xprofile_get_field_data( 'Job Title' ,bp_get_member_user_id());
                $companyName = xprofile_get_field_data( 'Company' ,bp_get_member_user_id());
                $lastName = xprofile_get_field_data( 'Last Name' ,bp_get_member_user_id());
                if ($memberOf != '') {
                    foreach($memberOf as $key => $value){
                ?>
            <?php 
            if($value == "Executive Board") {?>
            
               <li class="member-dir-member">
                    <div class="column-first">
                        <div class="item-avatar">
                            <a href="<?php bp_member_permalink(); ?>"><?php bp_member_avatar(); ?></a>
                         </div>
                     </div>
                    <!-- end column-first -->
                    <div class="column">
                        <div class="item">
                            <div class="item-title">
                                <a href="<?php bp_member_permalink(); ?>" class="member-name"><?php bp_member_name(); ?> <?php echo $lastName ?></a>  
                                <div class="job-title"> <?php echo $jobTitle; ?> of </div>
                                <div class="company-name"> <?php echo $companyName ?></div>
                            </div>  
                        </div>
                    </div>
                    <!-- end column -->
                    <div class="clear"></div>
                </li>
           
    
        <?php } ?>
        <?php     }
                } endwhile; ?>
     
         </ul>
        </div>
    
        <h4 id="steering-header">Steering Committee</h4>
        <div class="leadership-list">
            <ul class="members-list executives leadership item-list" role="main">
           <?php while ( bp_members() ) : bp_the_member(); ?>
            <?php 
                global $current_site; 
                $user_id = bp_get_member_user_id(); 
                $memberOf = xprofile_get_field_data( 'Member of' ,bp_get_member_user_id(), $multi_format = 'array');
                $jobTitle = xprofile_get_field_data( 'Job Title' ,bp_get_member_user_id());
                $companyName = xprofile_get_field_data( 'Company' ,bp_get_member_user_id());
                $lastName = xprofile_get_field_data( 'Last Name' ,bp_get_member_user_id());
                if ($memberOf != '') {
                    foreach($memberOf as $key => $value){
                ?>
            <?php 
            if($value == "Steering Committee") {?>
               <li class="member-dir-member">
                    <div class="column-first">
                        <div class="item-avatar">
                            <a href="<?php bp_member_permalink(); ?>"><?php bp_member_avatar(); ?></a>
                         </div>
                     </div>
                    <!-- end column-first -->
                    <div class="column">
                        <div class="item">
                            <div class="item-title">
                                <a href="<?php bp_member_permalink(); ?>" class="member-name"><?php bp_member_name(); ?> <?php echo $lastName ?></a>  
                                <div class="job-title"> <?php echo $jobTitle; ?> of </div>
                                <div class="company-name"> <?php echo $companyName ?></div>
                            </div>  
                        </div>
                    </div>
                    <!-- end column -->
                    <div class="clear"></div>
                </li>
          
    
        <?php } ?>
        <?php     }
                } endwhile; ?>
     
          </ul>
        </div>
        <?php do_action( 'bp_after_directory_members_list' ); ?>
    
     <?php else: ?>
       <div id="message" class="info">
         <p><?php _e( "Sorry, no members were found.", 'buddypress' ); ?></p>
       </div>
    
    <?php endif; ?>
    <?php get_footer(); ?>
    
    #176301
    modemlooper
    Moderator

    If you have a properly coded WordPress theme you do not need to copy the BuddyPress folder unless you want to customize a template.

    #176296
    Matt McFarland
    Participant

    I am having the same issue. intuition tells me this is a JS issue. Currently tested on Chrome.

    Have left this issue (forgot about it) until I read this.

    Here’s a few troubleshooting things you could try:

    First the mundane things that should always be done when something isnt working right (lol):

    0. Try in all browsers – see if this is a browser issue or not, clear cache etc
    1. Try using buddypress default theme, see if it stops there then you know its something to do with your theme. (then we go from there)
    2. If still having the problem, try without all other plugins disabled – if it works now then you know it has something to do with a plugin.

    Haven’t really dug into this (too many other irons in the fire!!) but am curious about it, hope you get it resolved and will follow this thread.

    #176295
    Matt McFarland
    Participant

    Hi there,

    I created my own theme and had to manually bp into it to get everything functioning properly.

    What you do is make a subfolder called buddypress in your theme directory.

    THen you want to copy /template/bp-legacy/* over to buddypress recursively.

    To change the CSS, you’ll want to copy or create a buddypress.css file and put it in the buddypress folder you made.

    hth

    #176286
    modemlooper
    Moderator

    You do not need to “integrate” BuddyPress with a theme in the current version. What theme are you using?

    #176284
    modemlooper
    Moderator

    What an exhaustive way to get “post to someone’s profile functionality”. This could have easily been done using the core activity stream without the need to remove and then replace with almost identical code.

    You can add customized activity items with a custom post form. As for changing Activity text to Wall that is simple to edit as well. Adding custom template files for the activity isn’t a good idea as they can be altered in a theme.

    Create custom activity using this function https://codex.buddypress.org/developer/function-examples/bp_activity_add.

    #176279
    rianhall
    Participant

    I am still having this problem and REALLY need a solution. I’m not a developer so ca anyone walk me through what I need to do?

    so far I have added this to my functions.php

    // to exclude only defined roles in the Buddypress Members LOOP
    
    function exclude_by_role($exclude_roles) {
    
    $memberArray = array();
    
    if (bp_has_members()) :
    while (bp_members()) : bp_the_member();
    $user = new WP_User( bp_get_member_user_id() );
    $user_role = $user->roles[0];
    foreach ($exclude_roles as $exclude_role) {
    if ($exclude_role==$user_role) {
    array_push($memberArray, $user->ID);
    break;
    }
    }
    endwhile;
    endif;
    
    $theExcludeString=implode(",",$memberArray);
    
    return $theExcludeString;
    }
    

    Then added this to my member-loop.php

     
    $excluded_roles = array ('administrator', 'author', 'subscriber'); // this can be any roles you have set up
    	if (bp_has_members( 'exclude=' . exclude_by_role($excluded_roles) . '&' . bp_ajax_querystring( 'members' ) ) ) : 
    

    Unfortunately, no luck. It is not excluding any of the three roles noted above.

    #176278
    davidassange
    Participant

    Oh, and am using the latest WordPress and BuddyPress.

    #176276
    sundev
    Participant

    happy new year everybody.

    Congratulations to us @mfmsw2youth. to get this solved.

    @hnla
    . thanks for your contribution.


    @buddypress
    newbies: Please ensure to put the code in your theme-child to keep the changes in the feature update.

    And of cause finally the BOSS himself 🙂 @henrywright-1. Thank you very, very much for the great code. It worked greatly.

    #176273
    johnnymestizo
    Participant

    I couldn’t get it working with the latest buddypress – just whitescreened my buddypress pages. (header still loaded.) will get back to you with some debug info…

Viewing 25 results - 17,826 through 17,850 (of 68,987 total)
Skip to toolbar