aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles
diff options
context:
space:
mode:
authorrechosen <rechosen@gmail.com>2013-07-14 21:30:14 +0200
committerrechosen <rechosen@gmail.com>2013-08-02 11:16:02 +0200
commitd7e048da10d17beeda85e67bc6fcf8649716441a (patch)
tree67eb61dcb8cd78e3df4eba0109976c89157fcd62 /phpBB/styles
parent22ba1a0c7e1027af2dbbf65416308a5f8a41dc14 (diff)
downloadforums-d7e048da10d17beeda85e67bc6fcf8649716441a.tar
forums-d7e048da10d17beeda85e67bc6fcf8649716441a.tar.gz
forums-d7e048da10d17beeda85e67bc6fcf8649716441a.tar.bz2
forums-d7e048da10d17beeda85e67bc6fcf8649716441a.tar.xz
forums-d7e048da10d17beeda85e67bc6fcf8649716441a.zip
[ticket/9550] Add template event memberlist_view_user_statistics_before
Adds a template event required for the karma extension. It allows adding entries to the user statistics part of any user profile. Explanation from http://area51.phpbb.com/phpBB/viewtopic.php?f=111&t=44379: Used by the karma extension to add a karma score indication that allows other users to see how respected this user is. Prepend because karma score is often a more meaningful statistic than the bottom statistics (like "Most active topic"), and should therefore be more prominent. PHPBB3-9550
Diffstat (limited to 'phpBB/styles')
-rw-r--r--phpBB/styles/prosilver/template/memberlist_view.html1
-rw-r--r--phpBB/styles/subsilver2/template/memberlist_view.html1
2 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/styles/prosilver/template/memberlist_view.html b/phpBB/styles/prosilver/template/memberlist_view.html
index 57cfcb86d9..b339e07d37 100644
--- a/phpBB/styles/prosilver/template/memberlist_view.html
+++ b/phpBB/styles/prosilver/template/memberlist_view.html
@@ -77,6 +77,7 @@
<div class="column2">
<h3>{L_USER_FORUM}</h3>
<dl class="details">
+ <!-- EVENT memberlist_view_user_statistics_before -->
<dt>{L_JOINED}{L_COLON}</dt> <dd>{JOINED}</dd>
<dt>{L_VISITED}{L_COLON}</dt> <dd>{VISITED}</dd>
<!-- IF S_WARNINGS -->
diff --git a/phpBB/styles/subsilver2/template/memberlist_view.html b/phpBB/styles/subsilver2/template/memberlist_view.html
index 464369a7a8..e097e09565 100644
--- a/phpBB/styles/subsilver2/template/memberlist_view.html
+++ b/phpBB/styles/subsilver2/template/memberlist_view.html
@@ -66,6 +66,7 @@
</td>
<td class="row1">
<table width="100%" cellspacing="1" cellpadding="2" border="0">
+ <!-- EVENT memberlist_view_user_statistics_before -->
<tr>
<td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{L_JOINED}{L_COLON} </td>
<td width="100%"><b class="gen">{JOINED}</b></td>