A very problem with avatar, please!!
-
I want the users profile tab disappears but the option to change avatar aparezca en otra pagina distinta del perfil de usuario. In profile form of the “theme my login plugin”.
<?php
$GLOBALS = $current_user = wp_get_current_user();
$GLOBALS = $profileuser = get_user_to_edit( $current_user->ID );$user_can_edit = false;
foreach ( array( ‘posts’, ‘pages’ ) as $post_cap )
$user_can_edit |= current_user_can( “edit_$post_cap” );
?><div class="login profile" id="theme-my-loginthe_instance(); ?>”>
the_action_template_message( ‘profile’ ); ?>
the_errors(); ?>This code has to work in the code above:
<?php _e( 'Your avatar will be used on your profile and throughout the site. If there is a Gravatar associated with your account email we will use that, or you can upload an image from your computer.’, ‘buddypress’) ?>
<?php _e( 'Your avatar will be used on your profile and throughout the site. To change your avatar, please create an account with Gravatar using the same email address as you used to register with this site.’, ‘buddypress’ ) ?>
How?
- The topic ‘A very problem with avatar, please!!’ is closed to new replies.