From 3c46aeb0055d88919e1438941c34b97445a17878 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 6 Feb 2014 16:32:25 +0100 Subject: [ticket/12169] Allow displaying profile fields on memberlist We can not sort by profile field values atm. And also I'm not sure whether this is possible at all. PHPBB3-12169 --- phpBB/styles/prosilver/template/memberlist_body.html | 19 ++++++++++++++++--- .../styles/prosilver/template/ucp_pm_viewmessage.html | 1 - phpBB/styles/prosilver/template/viewtopic_body.html | 1 - phpBB/styles/subsilver2/template/viewtopic_body.html | 1 - 4 files changed, 16 insertions(+), 6 deletions(-) (limited to 'phpBB/styles') diff --git a/phpBB/styles/prosilver/template/memberlist_body.html b/phpBB/styles/prosilver/template/memberlist_body.html index 606314f9d0..c155d431fa 100644 --- a/phpBB/styles/prosilver/template/memberlist_body.html +++ b/phpBB/styles/prosilver/template/memberlist_body.html @@ -60,7 +60,10 @@ {L_RANK}{L_GROUP_LEADER}{L_USERNAME} {L_POSTS} - {L_WEBSITE}{L_COMMA_SEPARATOR}{L_LOCATION} + + {L_WEBSITE} + {L_COMMA_SEPARATOR} {custom_fields.PROFILE_FIELD_NAME} + {L_JOINED} {L_LAST_ACTIVE} @@ -91,7 +94,10 @@ {L_RANK}{L_GROUP_MEMBERS}{L_USERNAME} {L_POSTS} - {L_WEBSITE}{L_COMMA_SEPARATOR}{L_LOCATION} + + {L_WEBSITE} + {L_COMMA_SEPARATOR} {custom_fields.PROFILE_FIELD_NAME} + {L_JOINED} {L_LAST_ACTIVE} @@ -111,7 +117,14 @@ {memberrow.RANK_IMG}{memberrow.RANK_TITLE} {memberrow.USERNAME_FULL}
{L_SELECT} ] {memberrow.POSTS}{memberrow.POSTS} -
{memberrow.U_SHORT_WWW}
{memberrow.LOCATION}
  + + +
{memberrow.U_SHORT_WWW}
+
{memberrow.custom_fields.PROFILE_FIELD_VALUE}
+ +   + + {memberrow.JOINED} {memberrow.VISITED}  diff --git a/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html b/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html index 208aeb9399..3623489ccf 100644 --- a/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html +++ b/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html @@ -24,7 +24,6 @@
{L_POSTS}{L_COLON} {AUTHOR_POSTS}
{L_JOINED}{L_COLON} {AUTHOR_JOINED}
-
{L_LOCATION}{L_COLON} {AUTHOR_FROM}
diff --git a/phpBB/styles/prosilver/template/viewtopic_body.html b/phpBB/styles/prosilver/template/viewtopic_body.html index 338c67dd33..1818f9c3d8 100644 --- a/phpBB/styles/prosilver/template/viewtopic_body.html +++ b/phpBB/styles/prosilver/template/viewtopic_body.html @@ -129,7 +129,6 @@
{L_POSTS}{L_COLON} {postrow.POSTER_POSTS}
{L_JOINED}{L_COLON} {postrow.POSTER_JOINED}
-
{L_LOCATION}{L_COLON} {postrow.POSTER_FROM}
diff --git a/phpBB/styles/subsilver2/template/viewtopic_body.html b/phpBB/styles/subsilver2/template/viewtopic_body.html index c3f8bf205b..141a38a138 100644 --- a/phpBB/styles/subsilver2/template/viewtopic_body.html +++ b/phpBB/styles/subsilver2/template/viewtopic_body.html @@ -201,7 +201,6 @@
{L_JOINED}{L_COLON} {postrow.POSTER_JOINED}
{L_POSTS}{L_COLON} {postrow.POSTER_POSTS} -
{L_LOCATION}{L_COLON} {postrow.POSTER_FROM} -- cgit v1.2.1