From 50334dac6e9b7373ae6c078727e33bbe79e45e6b Mon Sep 17 00:00:00 2001 From: NIU Administrator Date: Thu, 3 Dec 2020 14:52:03 +0900 Subject: [PATCH] remove avater image. --- style.css | 22 ++++++++++++++++++++++ wpforo/layouts/2/post.php | 22 ++++------------------ wpforo/layouts/2/topic.php | 4 +--- 3 files changed, 27 insertions(+), 21 deletions(-) diff --git a/style.css b/style.css index b3a44b9..6de898b 100644 --- a/style.css +++ b/style.css @@ -323,6 +323,21 @@ form#searchform input#searchsubmit { #wpforo #wpforo-wrap .wpfl-2 .wpforo-topic-stat-views { 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 { font-size: 13px !important; } @@ -335,3 +350,10 @@ form#searchform input#searchsubmit { #wpforo #wpforo-wrap .wpfl-2 .wpforo-topic-custom_fields .label::after { 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; +} + diff --git a/wpforo/layouts/2/post.php b/wpforo/layouts/2/post.php index 05c1d2f..46f37ba 100644 --- a/wpforo/layouts/2/post.php +++ b/wpforo/layouts/2/post.php @@ -26,21 +26,6 @@
- perm->usergroup_can('va') && wpforo_feature('avatars') ): ?> -
member->avatar($member, 'alt="'.esc_attr($member['display_name']).'"', 110) ?>
- -
-
member->show_online_indicator($member['userid']) ?> 
- -
- tpl->member_buttons($member) ?> -
-
- -
- -
-
@@ -73,9 +58,10 @@
-
: - -
+
+ : - + +
diff --git a/wpforo/layouts/2/topic.php b/wpforo/layouts/2/topic.php index 45e95e8..4cbeeac 100644 --- a/wpforo/layouts/2/topic.php +++ b/wpforo/layouts/2/topic.php @@ -35,9 +35,7 @@ $topic_custom_fields = cbsonline_wpforo_get_topic_custom_fields($topic['first_po
- perm->usergroup_can('va') && wpforo_feature('avatars') ): ?> -
member->avatar($member, 'alt="'.esc_attr($member['display_name']).'"', 48) ?>
- +