remove avater image.

This commit is contained in:
CBS Information System 2020-12-03 14:52:03 +09:00
parent 656800c92f
commit 50334dac6e
3 changed files with 27 additions and 21 deletions

View File

@ -323,6 +323,21 @@ form#searchform input#searchsubmit {
#wpforo #wpforo-wrap .wpfl-2 .wpforo-topic-stat-views { #wpforo #wpforo-wrap .wpfl-2 .wpforo-topic-stat-views {
width:14% !important; width:14% !important;
} }
#wpforo #wpforo-wrap .wpfl-2 .wpforo-topic-avatar .featured-image {
background-color: #fcfcfc;
margin: 5px 8px;
width: 80px;
height: 55px;
line-height: 55px;
vertical-align: middle;
}
#wpforo #wpforo-wrap .wpfl-2 .wpforo-topic-avatar .featured-image a,
#wpforo #wpforo-wrap .wpfl-2 .wpforo-topic-avatar .featured-image a img {
vertical-align: middle;
}
#wpforo #wpforo-wrap .wpfl-2 .wpforo-topic-custom_fields .label {
color: #ff812d;
}
#wpforo #wpforo-wrap .wpfl-2 .wpforo-topic-stat-views { #wpforo #wpforo-wrap .wpfl-2 .wpforo-topic-stat-views {
font-size: 13px !important; font-size: 13px !important;
} }
@ -335,3 +350,10 @@ form#searchform input#searchsubmit {
#wpforo #wpforo-wrap .wpfl-2 .wpforo-topic-custom_fields .label::after { #wpforo #wpforo-wrap .wpfl-2 .wpforo-topic-custom_fields .label::after {
content: ': '; content: ': ';
} }
#wpforo #wpforo-wrap .wpfl-2 .wpforo-post .wpf-left {
display: none;
}
#wpforo #wpforo-wrap .wpfl-2 .wpforo-post .wpf-right {
margin-left: 0 !important;
}

View File

@ -26,21 +26,6 @@
<?php wpforo_share_toggle($post_url, $post['body']); ?> <?php wpforo_share_toggle($post_url, $post['body']); ?>
<div class="wpforo-post wpfcl-1"> <div class="wpforo-post wpfcl-1">
<div class="wpf-left"> <div class="wpf-left">
<?php if( WPF()->perm->usergroup_can('va') && wpforo_feature('avatars') ): ?>
<div class="author-avatar"><?php echo WPF()->member->avatar($member, 'alt="'.esc_attr($member['display_name']).'"', 110) ?></div>
<?php endif; ?>
<div class="author-data">
<div class="author-name"><span><?php WPF()->member->show_online_indicator($member['userid']) ?></span>&nbsp;<?php wpforo_member_link($member); ?></div>
<?php wpforo_member_nicename($member, '@'); ?>
<div class="wpf-member-profile-buttons">
<?php WPF()->tpl->member_buttons($member) ?>
</div>
<div class="author-title">
<?php wpforo_member_title($member) ?>
</div>
<?php wpforo_member_badge($member) ?>
</div>
<div class="wpf-clear"></div>
</div><!-- left --> </div><!-- left -->
<div class="wpf-right"> <div class="wpf-right">
<div class="wpforo-post-content-top"> <div class="wpforo-post-content-top">
@ -73,7 +58,8 @@
</div> </div>
</div> </div>
<div class="wpforo-post-content-bottom"> <div class="wpforo-post-content-bottom">
<div class="cbleft wpfcl-0"><?php wpforo_phrase('Posted') ?> : <?php wpforo_date($post['created'], 'd/m/Y g:i a') ?> <div class="cbright wpfcl-0">
<?php wpforo_phrase('Posted') ?>: <?php wpforo_member_link($member, ''); ?> - <?php wpforo_date($post['created'], 'd/m/Y g:i a') ?>
<?php wpforo_post_likers($post['postid']); ?> <?php wpforo_post_likers($post['postid']); ?>
</div> </div>
<div class="wpf-clear"></div> <div class="wpf-clear"></div>

View File

@ -35,9 +35,7 @@ $topic_custom_fields = cbsonline_wpforo_get_topic_custom_fields($topic['first_po
<div class="topic-wrap <?php wpforo_unread($topic['topicid'], 'topic'); ?>"> <div class="topic-wrap <?php wpforo_unread($topic['topicid'], 'topic'); ?>">
<div class="wpforo-topic"> <div class="wpforo-topic">
<?php if( WPF()->perm->usergroup_can('va') && wpforo_feature('avatars') ): ?> <div class="wpforo-topic-avatar"><div class="featured-image"><?php echo $topic_custom_fields['featured_image']; ?></div></div>
<div class="wpforo-topic-avatar"><?php echo WPF()->member->avatar($member, 'alt="'.esc_attr($member['display_name']).'"', 48) ?></div>
<?php endif; ?>
<div class="wpforo-topic-info"> <div class="wpforo-topic-info">
<p class="wpforo-topic-title"><a href="<?php wpforo_unread_url( $topic['topicid'], $topic_url ) ?>"><?php wpforo_topic_icon($topic); ?><?php echo esc_html($topic['title']) ?></a> <?php wpforo_unread_button($topic['topicid'], $topic_url); ?> <?php wpforo_viewing( $topic ); ?></p> <p class="wpforo-topic-title"><a href="<?php wpforo_unread_url( $topic['topicid'], $topic_url ) ?>"><?php wpforo_topic_icon($topic); ?><?php echo esc_html($topic['title']) ?></a> <?php wpforo_unread_button($topic['topicid'], $topic_url); ?> <?php wpforo_viewing( $topic ); ?></p>
<p class="wpforo-topic-custom_fields spearker"> <p class="wpforo-topic-custom_fields spearker">