Skip to:
Content
Pages
Categories
Search
Top
Bottom

BuddyPress 2.6.0 “Espejo” is now available

Viewing 11 replies - 1 through 11 (of 11 total)

  • Rogelio
    Participant

    @jise

    Great news! Thanks to all the people that make this possible. 🙂

    This might be the first BuddyPress release, where in contributors we can see both husband and wife!
    Me and @oksankaa 🙂

    Thanks to everyone for contributing so much!


    randrcomputers
    Participant

    @randrcomputers

    Looking forward to trying the new version!


    eroguguli
    Participant

    @eroguguli

    Hello Buddypress,

    today on 23.06.2016 , there was a new update of (version 2.6.0) and here are the translations of notifications, messeges and friends on the tab were in german forgotten. can you please make it?


    d8vjork
    Participant

    @d8vjork

    “Espejo” as a mirror (in Spanish).

    Great news! I’m testing and upgrading my production BP site 😛


    m1000
    Participant

    @m1000

    After upgrade the custom loop with notifications doesn’t work anymore:

    if ( is_user_logged_in() ) {
       if ( function_exists( 'bp_is_active' ) ) {
    	if ( $notifications = bp_notifications_get_notifications_for_user( bp_loggedin_user_id(), $format = 'string' ) ) { ?>
    	<div class="notif-container">
    	<?php
    	}
    
    	if ( $notifications ) {
    		$counter = 0;
    		for ( $i = 0, $count = count( $notifications ); $i < $count; ++$i ) {
    			$alt = ( 0 == $counter % 2 ) ? ' alt' : ''; ?>
    			<div class="my-notification<?php echo $alt ?>"><?php echo $notifications[$i] ?></div>
    
    			<?php
    			 $counter++;
    			} ?>
    	</div><!-- notif-container -->
    	<?php
    	} else {}
       }
    }

    It returns ‘Array’


    r-a-y
    Keymaster

    @r-a-y

    @m1000 – Nice catch!

    We’ll address this for v2.6.1. In the meantime, here’s the fix:
    https://buddypress.trac.wordpress.org/attachment/ticket/7141/7141.01.patch


    m1000
    Participant

    @m1000

    Thanks, but how to fix it not touching buddypress files, I tried use remove_filter in functions.php of theme but it doesn’t work – http://pastebin.com/mgRe4e2Q


    r-a-y
    Keymaster

    @r-a-y

    @m1000 – I don’t think you can fix this without patching that one core file.

    If you don’t feel comfortable patching /bp-notifications/bp-notifications-functions.php, here’s the complete, patched file:
    http://pastebin.com/raw/RMrQiNAV

    Overwrite the code in that file with the code I linked to.


    randrcomputers
    Participant

    @randrcomputers

    People have said on our site that everything seems to be running faster after 2.6 so good job! seems good and only getting better!

Viewing 11 replies - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.
Skip to toolbar