Ejemplo n.º 1
1
bbp_displayed_user_field('user_login', 'edit');
?>
" disabled="disabled" class="regular-text" tabindex="<?php 
bbp_tab_index();
?>
" />
		</div>

		<div>
			<label for="email"><?php 
_e('Email', 'bbpress');
?>
</label>

			<input type="text" name="email" id="email" value="<?php 
bbp_displayed_user_field('user_email', 'edit');
?>
" class="regular-text" tabindex="<?php 
bbp_tab_index();
?>
" />

			<?php 
// Handle address change requests
$new_email = get_option(bbp_get_displayed_user_id() . '_new_email');
if (!empty($new_email) && $new_email !== bbp_get_displayed_user_field('user_email', 'edit')) {
    ?>

				<span class="updated inline">

					<?php 
Ejemplo n.º 2
0
do_action('bbp_template_before_user_profile');
?>

	<div id="bbp-user-profile" class="bbp-user-profile">
		<h2 class="entry-title"><?php 
_e('Profile', 'bbpress');
?>
</h2>
		<div class="bbp-user-section">

			<?php 
if (bbp_get_displayed_user_field('description')) {
    ?>

				<p class="bbp-user-description"><?php 
    bbp_displayed_user_field('description');
    ?>
</p>

			<?php 
}
?>

			<p class="bbp-user-forum-role"><span class="bold"><?php 
printf(__('Forum Role:', 'corporative'));
?>
 </span><?php 
printf(bbp_get_user_display_role());
?>
</p>
			<p class="bbp-user-topic-count"><span class="bold"><?php 
Ejemplo n.º 3
0
 */
?>

	<?php 
do_action('bbp_template_before_user_details');
?>

	<div id="bbp-single-user-details">
		<div id="bbp-user-avatar">

			<span class='vcard'>
				<a class="url fn n" href="<?php 
bbp_user_profile_url();
?>
" title="<?php 
bbp_displayed_user_field('display_name');
?>
" rel="me">
					<?php 
echo get_avatar(bbp_get_displayed_user_field('user_email', 'raw'), apply_filters('bbp_single_user_details_avatar_size', 150));
?>
				</a>
			</span>

		</div><!-- #author-avatar -->

		<div id="bbp-user-navigation">
			<ul>
				<li class="<?php 
if (bbp_is_single_user_profile()) {
    ?>
Ejemplo n.º 4
0
 */
?>

	<?php 
do_action('bbp_template_before_user_details');
?>

	<div id="bbp-single-user-details">
		<div id="bbp-user-avatar">

			<span class='vcard'>
				<a class="url fn n" href="<?php 
bbp_user_profile_url();
?>
" title="<?php 
esc_attr(bbp_displayed_user_field('display_name'));
?>
" rel="me">
					<?php 
echo get_avatar(bbp_get_displayed_user_field('user_email', 'raw'), apply_filters('bbp_single_user_details_avatar_size', 150));
?>
				</a>
			</span>

		</div><!-- #author-avatar -->

		<div id="bbp-user-navigation" class="btn-group">
			<ul>
				<li class="btn btn-default <?php 
if (bbp_is_single_user_profile()) {
    ?>
Ejemplo n.º 5
0
bbp_displayed_user_field('display_name');
?>
" rel="me">
					<?php 
echo get_avatar(bbp_get_displayed_user_field('user_email', 'raw'), apply_filters('bbp_single_user_details_avatar_size', 150));
?>
				</a>
			</span>
			
			<div class="email">
				<a href="<?php 
bbp_displayed_user_field('user_email');
?>
">
					<?php 
bbp_displayed_user_field('user_email');
?>
				</a>
			</div>

		</div><!-- #author-avatar -->
		
		<?php 
if (false) {
    ?>
		
		<div id="bbp-user-navigation">
			<ul>
				<li class="<?php 
    if (bbp_is_single_user_profile()) {
        ?>
				<p class="bbp-user-description"><?php 
    bbp_displayed_user_field('description');
    ?>
</p>

			<?php 
}
?>
			
			
			<p class="bbp-user-forum-role"><?php 
printf(__('Forum Role: %s', 'bbpress'), bbp_get_user_display_role());
?>
Boom!</p>
			<p class="bbp-user-topic-count"><?php 
printf(__('Topics Started: %s', 'bbpress'), bbp_get_user_topic_count_raw());
?>
</p>
			<p class="bbp-user-reply-count"><?php 
printf(__('Replies Created: %s', 'bbpress'), bbp_get_user_reply_count_raw());
?>
</p>
			<p>Website: <?php 
bbp_displayed_user_field('user_url');
?>
</p>
		</div>
	</div><!-- #bbp-author-topics-started -->

	<?php 
do_action('bbp_template_after_user_profile');
Ejemplo n.º 7
0
/**
 * User Details
 *
 * @package bbPress
 * @subpackage Theme
 */

?>

	<?php do_action( 'bbp_template_before_user_details' ); ?>

	<div id="bbp-single-user-details">
		<div id="bbp-user-avatar">

			<span class='vcard'>
				<a class="url fn n" href="<?php bbp_user_profile_url(); ?>" title="<?php bbp_displayed_user_field( 'display_name' ); ?>" rel="me">
					<?php echo get_avatar( bbp_get_displayed_user_field( 'user_email' ), apply_filters( 'bbp_single_user_details_avatar_size', 150 ) ); ?>
				</a>
			</span>

		</div><!-- #author-avatar -->

		<div id="bbp-user-navigation">
			<ul>
				<li class="<?php if ( bbp_is_single_user_profile() ) :?>current<?php endif; ?>">
					<span class="vcard bbp-user-profile-link">
						<a class="url fn n" href="<?php bbp_user_profile_url(); ?>" title="<?php printf( __( "%s's Profile", 'bbpress' ), esc_attr( bbp_get_displayed_user_field( 'display_name' ) ) ); ?>" rel="me"><?php _e( 'Profile', 'bbpress' ); ?></a>
					</span>
				</li>

				<li class="<?php if ( bbp_is_single_user_topics() ) :?>current<?php endif; ?>">