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:
parent
37e51a1e03
commit
235df2b365
@ -6,9 +6,9 @@ Version: 1.0
|
|||||||
Requires at least: BuddyPress 1.2
|
Requires at least: BuddyPress 1.2
|
||||||
Tested up to: BuddyPress 1.2 + wp 2.9.1
|
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
|
License: GNU General Public License 2.0 (GPL) http://www.gnu.org/licenses/gpl.html
|
||||||
Author: Sarah Gooding
|
Author:
|
||||||
Author URI: http://untame.net/
|
Author URI:
|
||||||
Plugin URI:http://untame.net/
|
Plugin URI:
|
||||||
Site Wide Only: true
|
Site Wide Only: true
|
||||||
/
|
/
|
||||||
|
|
||||||
@ -49,7 +49,7 @@ if ( !function_exists( 'bp_core_install' ) ) {
|
|||||||
. 'My Friends'
|
. 'My Friends'
|
||||||
. $after_title; ?>
|
. $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">
|
<div class="avatar-block">
|
||||||
<?php while ( bp_members() ) : bp_the_member(); ?>
|
<?php while ( bp_members() ) : bp_the_member(); ?>
|
||||||
<div class="item-avatar">
|
<div class="item-avatar">
|
||||||
@ -80,12 +80,15 @@ if ( !function_exists( 'bp_core_install' ) ) {
|
|||||||
|
|
||||||
extract( $args );
|
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_widget;
|
||||||
echo $before_title
|
echo $before_title
|
||||||
. 'My Friends'
|
. 'My Friends'
|
||||||
. $after_title; ?>
|
. $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">
|
<div class="avatar-block">
|
||||||
<?php while ( bp_members() ) : bp_the_member(); ?>
|
<?php while ( bp_members() ) : bp_the_member(); ?>
|
||||||
|
|
||||||
@ -93,7 +96,6 @@ if ( !function_exists( 'bp_core_install' ) ) {
|
|||||||
|
|
||||||
<?php endwhile; ?>
|
<?php endwhile; ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
|
|
||||||
<div class="widget-error">
|
<div class="widget-error">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user