From 40f0a1ea153e4acd46b04b7f43a2ffb962b866eb Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sat, 18 Nov 2006 10:05:58 +0000 Subject: [PATCH] - do not cache the activity queries, this is only a lot of overhead (haven't noticed the forums also get included) - back to our known poster name display on viewtopic/topic review. :) git-svn-id: file:///svn/phpbb/trunk@6599 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_display.php | 4 ++-- phpBB/styles/subSilver/template/memberlist_view.html | 2 +- phpBB/styles/subSilver/template/posting_body.html | 2 +- phpBB/styles/subSilver/template/posting_topic_review.html | 4 ++-- phpBB/styles/subSilver/template/viewtopic_body.html | 5 ++++- 5 files changed, 10 insertions(+), 7 deletions(-) diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php index 5521829dda..056af5c84a 100644 --- a/phpBB/includes/functions_display.php +++ b/phpBB/includes/functions_display.php @@ -1047,7 +1047,7 @@ function display_user_activity(&$userdata) $forum_sql GROUP BY forum_id ORDER BY num_posts DESC"; - $result = $db->sql_query_limit($sql, 1, 0, 3600); + $result = $db->sql_query_limit($sql, 1); $active_f_row = $db->sql_fetchrow($result); $db->sql_freeresult($result); @@ -1069,7 +1069,7 @@ function display_user_activity(&$userdata) $forum_sql GROUP BY topic_id ORDER BY num_posts DESC"; - $result = $db->sql_query_limit($sql, 1, 0, 3600); + $result = $db->sql_query_limit($sql, 1); $active_t_row = $db->sql_fetchrow($result); $db->sql_freeresult($result); diff --git a/phpBB/styles/subSilver/template/memberlist_view.html b/phpBB/styles/subSilver/template/memberlist_view.html index 5ed1c8818e..9461186364 100644 --- a/phpBB/styles/subSilver/template/memberlist_view.html +++ b/phpBB/styles/subSilver/template/memberlist_view.html @@ -64,7 +64,7 @@ {L_WARNINGS}: - {WARNINGS}
[ {L_VIEW_NOTES} | {L_WARN_USER} ] + {WARNINGS}
[ {L_VIEW_NOTES} | {L_WARN_USER} ] diff --git a/phpBB/styles/subSilver/template/posting_body.html b/phpBB/styles/subSilver/template/posting_body.html index 3d24e2c3b7..6ce895595d 100644 --- a/phpBB/styles/subSilver/template/posting_body.html +++ b/phpBB/styles/subSilver/template/posting_body.html @@ -195,6 +195,7 @@ function checkForm() {L_TO}: + {S_HIDDEN_ADDRESS_FIELD} style="color:#{to_recipient.COLOUR}" class="blue">{to_recipient.NAME}   @@ -214,7 +215,6 @@ function checkForm() - {S_HIDDEN_ADDRESS_FIELD} diff --git a/phpBB/styles/subSilver/template/posting_topic_review.html b/phpBB/styles/subSilver/template/posting_topic_review.html index d5ed8044d1..d54d581003 100644 --- a/phpBB/styles/subSilver/template/posting_topic_review.html +++ b/phpBB/styles/subSilver/template/posting_topic_review.html @@ -15,10 +15,10 @@ - + - +
diff --git a/phpBB/styles/subSilver/template/viewtopic_body.html b/phpBB/styles/subSilver/template/viewtopic_body.html index 8cb8e0b041..bee02f94ee 100644 --- a/phpBB/styles/subSilver/template/viewtopic_body.html +++ b/phpBB/styles/subSilver/template/viewtopic_body.html @@ -133,7 +133,10 @@ {postrow.L_IGNORE_POST} - + + + +