Re: [3.1] [3.2] Top Posters
Verfasst: 09.11.2019 16:21
Dazu müsstes du dir diese Erweiterung installieren.
Danach machst du folgendes:
Öffne:
Finde:
Davor einfügen:
Beachte das beim Top-Poster ACP Modul bei "Position der Top-Poster" das hier "Unterhalb der Forumlist" ausgewählt sein muss.
Damit du nicht 2x die Anzeige bekommst, müsstest die Datei Namens
Danach den Foren und Browser Cache leeren!
Das Portal selbst zu installieren wäre wohl keine Altenative?
Danach machst du folgendes:
Öffne:
root/ext/kirk/sidebar/styles/prosilver/template/sidebar.html
Finde:
Code: Alles auswählen
<!-- This is the start of the first sidebar box -->
Code: Alles auswählen
<!-- IF TOPPOSTERS_ENABLE and TOPPOSTERS_POSITION eq 2 -->
<!-- IF TOPPOSTERS_TESTMODE and U_ACP or not TOPPOSTERS_TESTMODE -->
<a class="category<!-- IF S_TOPPOSTERS_HIDDEN --> hidden-category<!-- ENDIF -->" style="display: none; height: 0"></a>
<!-- IF TOPPOSTERS_ENABLE_HOURS and .topposters_hours -->
<div class="forabg">
<div class="inner">
<ul class="topiclist">
<li class="header">
<dl class="row-item">
<dt>{L_TOP_POSTERS} {TOPPOSTERS_HOURS}</dt>
<dd></dd>
</dl>
<a href="{U_TOPPOSTERS_COLLAPSE_URL}" class="collapse-btn collapse-<!-- IF S_TOPPOSTERS_HIDDEN -->show<!-- ELSE -->hide<!-- ENDIF -->" data-hidden="{S_TOPPOSTERS_HIDDEN}" data-ajax="phpbb_collapse" data-overlay="true" title="{L_COLLAPSIBLE_CATEGORIES_TITLE}" style="display: none; line-height: 0;"></a>
</li>
</ul>
<ul class="topiclist forums collapsible">
<li class="row topposter">
<!-- BEGIN topposters_hours --><!-- IF topposters_hours.S_ROW_COUNT > 0 -->{L_COMMA_SEPARATOR}<!-- ENDIF --> {topposters_hours.USERNAME_FULL} <!-- IF S_DISPLAY_SEARCH --><a class="poster-posts" href="{topposters_hours.S_SEARCH_ACTION}">({topposters_hours.POSTER_POSTS})</a><!-- ELSE -->({topposters_hours.POSTER_POSTS})<!-- ENDIF --><!-- END topposters_hours -->
</li>
</ul>
</div>
</div>
<!-- ELSEIF not TOPPOSTERS_ENABLE_HOURS -->
<div class="forabg">
<div class="inner">
<ul class="topiclist">
<li class="header">
<dl class="row-item">
<dt>{OUR_TOPPOSTERS}</dt>
<dd></dd>
</dl>
<a href="{U_TOPPOSTERS_COLLAPSE_URL}" class="collapse-btn collapse-<!-- IF S_TOPPOSTERS_HIDDEN -->show<!-- ELSE -->hide<!-- ENDIF -->" data-hidden="{S_TOPPOSTERS_HIDDEN}" data-ajax="phpbb_collapse" data-overlay="true" title="{L_COLLAPSIBLE_CATEGORIES_TITLE}" style="display: none; line-height: 0;"></a>
</li>
</ul>
<ul class="topiclist forums collapsible">
<li class="row topposter">
<!-- IF not TOPPOSTERS_ENABLE_HOURS and TOPPOSTERS_ALL -->
<!-- BEGIN topposters_total --><!-- IF topposters_total.S_ROW_COUNT > 0 -->{L_COMMA_SEPARATOR}<!-- ENDIF --> {topposters_total.USERNAME_FULL} <!-- IF S_DISPLAY_SEARCH --><a class="poster-posts" href="{topposters_total.S_SEARCH_ACTION}">({topposters_total.POSTER_POSTS})</a><!-- ELSE -->({topposters_total.POSTER_POSTS})<!-- ENDIF --><!-- END topposters_total -->
<!-- ENDIF -->
<!-- IF not TOPPOSTERS_ENABLE_HOURS and not TOPPOSTERS_ALL -->
<!-- BEGIN topposters_total --><!-- IF topposters_total.S_ROW_COUNT > 0 -->{L_COMMA_SEPARATOR}<!-- ENDIF --> {topposters_total.USERNAME_FULL} <!-- IF S_DISPLAY_SEARCH --><a class="poster-posts" href="{topposters_total.S_SEARCH_ACTION}">({topposters_total.POSTER_POSTS})</a><!-- ELSE -->({topposters_total.POSTER_POSTS})<!-- ENDIF --><!-- END topposters_total -->
<!-- ELSEIF .topposters_hours -->
<div class="topposter-hours">
{L_TOP_POSTERS} {TOPPOSTERS_HOURS}{L_COLON}<!-- BEGIN topposters_hours --><!-- IF topposters_hours.S_ROW_COUNT > 0 -->{L_COMMA_SEPARATOR}<!-- ENDIF --> {topposters_hours.USERNAME_FULL} <!-- IF S_DISPLAY_SEARCH --><a class="poster-posts" href="{topposters_hours.S_SEARCH_ACTION}">({topposters_hours.POSTER_POSTS})</a><!-- ELSE -->({topposters_hours.POSTER_POSTS})<!-- ENDIF --><!-- END topposters_hours -->
</div>
<!-- ENDIF -->
</li>
</ul>
</div>
</div>
<!-- ENDIF -->
<!-- ENDIF -->
<!-- ENDIF -->
Damit du nicht 2x die Anzeige bekommst, müsstest die Datei Namens
index_body_forumlist_body_after.html
im Verzeichnis root/ext/kirk/topposters/styles/prosilver/template/event/
löschen.Danach den Foren und Browser Cache leeren!
Das Portal selbst zu installieren wäre wohl keine Altenative?