mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[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
This commit is contained in:
parent
22ba1a0c7e
commit
d7e048da10
2 changed files with 2 additions and 0 deletions
|
@ -77,6 +77,7 @@
|
||||||
<div class="column2">
|
<div class="column2">
|
||||||
<h3>{L_USER_FORUM}</h3>
|
<h3>{L_USER_FORUM}</h3>
|
||||||
<dl class="details">
|
<dl class="details">
|
||||||
|
<!-- EVENT memberlist_view_user_statistics_before -->
|
||||||
<dt>{L_JOINED}{L_COLON}</dt> <dd>{JOINED}</dd>
|
<dt>{L_JOINED}{L_COLON}</dt> <dd>{JOINED}</dd>
|
||||||
<dt>{L_VISITED}{L_COLON}</dt> <dd>{VISITED}</dd>
|
<dt>{L_VISITED}{L_COLON}</dt> <dd>{VISITED}</dd>
|
||||||
<!-- IF S_WARNINGS -->
|
<!-- IF S_WARNINGS -->
|
||||||
|
|
|
@ -66,6 +66,7 @@
|
||||||
</td>
|
</td>
|
||||||
<td class="row1">
|
<td class="row1">
|
||||||
<table width="100%" cellspacing="1" cellpadding="2" border="0">
|
<table width="100%" cellspacing="1" cellpadding="2" border="0">
|
||||||
|
<!-- EVENT memberlist_view_user_statistics_before -->
|
||||||
<tr>
|
<tr>
|
||||||
<td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{L_JOINED}{L_COLON} </td>
|
<td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{L_JOINED}{L_COLON} </td>
|
||||||
<td width="100%"><b class="gen">{JOINED}</b></td>
|
<td width="100%"><b class="gen">{JOINED}</b></td>
|
||||||
|
|
Loading…
Add table
Reference in a new issue