Tarea #972 -> Listar amigos en la columna derecha del perfil

git-svn-id: https://192.168.0.254/svn/Proyectos.ASong2U_Web/trunk@96 cd1a4ea2-8c7f-e448-aada-19d1fee9e1d6
This commit is contained in:
David Arranz 2012-08-09 17:18:08 +00:00
parent 37e51a1e03
commit 235df2b365

View File

@ -6,9 +6,9 @@ Version: 1.0
Requires at least: BuddyPress 1.2
Tested up to: BuddyPress 1.2 + wp 2.9.1
License: GNU General Public License 2.0 (GPL) http://www.gnu.org/licenses/gpl.html
Author: Sarah Gooding
Author URI: http://untame.net/
Plugin URI:http://untame.net/
Author:
Author URI:
Plugin URI:
Site Wide Only: true
/
@ -49,7 +49,7 @@ if ( !function_exists( 'bp_core_install' ) ) {
. 'My Friends'
. $after_title; ?>
<?php if ( bp_has_members( 'type=newest&max=20&user_id=' . bp_loggedin_user_id() ) & is_user_logged_in() ) : ?>
<?php if ( bp_has_members( 'type=newest&max=8&user_id=' . bp_loggedin_user_id() ) & is_user_logged_in() ) : ?>
<div class="avatar-block">
<?php while ( bp_members() ) : bp_the_member(); ?>
<div class="item-avatar">
@ -80,12 +80,15 @@ if ( !function_exists( 'bp_core_install' ) ) {
extract( $args );
$before_title = $before_title . "<a href=" . bp_get_members_directory_permalink() . " title='Show all my friends'>";
$after_title = "</a>" . $after_title;
echo $before_widget;
echo $before_title
. 'My Friends'
. $after_title; ?>
<?php if ( bp_has_members( 'type=newest&max=10&user_id=' . bp_loggedin_user_id() ) & is_user_logged_in() ) : ?>
<?php if ( bp_has_members( 'type=newest&max=4&user_id=' . bp_loggedin_user_id() ) & is_user_logged_in() ) : ?>
<div class="avatar-block">
<?php while ( bp_members() ) : bp_the_member(); ?>
@ -93,7 +96,6 @@ if ( !function_exists( 'bp_core_install' ) ) {
<?php endwhile; ?>
</div>
<?php else: ?>
<div class="widget-error">