Zu Punkt 1:
Öffne includes/hooks/hook_topic_statistics.php
Finde: (nur falls du die MOD auch für viewforum verwendest)
Code: Alles auswählen
function mod_statistics_add_to_viewforum()
{
global $db, $template;
Ersetze mit:
Code: Alles auswählen
function mod_statistics_add_to_viewforum()
{
global $db, $template, $auth;
Finde:
Code: Alles auswählen
// Get userrs and the number of subscriptions for the current topic
if ($config_statistics['forums_display_followers_users']
)
Ersetze mit:
Code: Alles auswählen
// Get userrs and the number of subscriptions for the current topic
if ($config_statistics['forums_display_followers_users'] && $auth->acl_get('u_viewprofile'))
Diese Änderungen bewirken, dass nur noch Benutzer mit der Berechtigung die Mitgliederliste, Profile und die Wer-ist-online-Liste zu sehen, die erweiterte Information der Foren-Statistiken ausklappen können.
Finde:
Code: Alles auswählen
function mod_statistics_add_to_viewtopic()
{
global $db, $template, $config;
Ersetze mit:
Code: Alles auswählen
function mod_statistics_add_to_viewtopic()
{
global $db, $template, $config, $auth;
Finde:
Code: Alles auswählen
// Get users and the number of bookmarks for the current topic
if ($config['topics_display_bookmarks_users'])
Ersetze mit:
Code: Alles auswählen
// Get users and the number of bookmarks for the current topic
if ($config['topics_display_bookmarks_users'] && $auth->acl_get('u_viewprofile'))
Finde:
Code: Alles auswählen
// Get userrs and the number of subscriptions for the current topic
if ($config['topics_display_followers_users'])
Ersetze mit:
Code: Alles auswählen
// Get userrs and the number of subscriptions for the current topic
if ($config['topics_display_followers_users'] && $auth->acl_get('u_viewprofile'))
Diese Änderungen bewirken, dass nur noch Benutzer mit der Berechtigung die Mitgliederliste, Profile und die Wer-ist-online-Liste zu sehen, die erweiterten Informationen der Themen-Statistiken ausklappen können.
Zu Punkt 2:
Öffne styles/prosilver/template/overall_footer.html
Finde:
Code: Alles auswählen
<ul class="linklist">
<li class="icon-home"><!-- IF U_PORTAL --><a href="{U_PORTAL}">{L_PORTAL}</a> » <!-- ENDIF --><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a></li>
<!-- IF not S_IS_BOT -->
<!-- IF S_WATCH_FORUM_LINK --><li <!-- IF S_WATCHING_FORUM -->class="icon-unsubscribe"<!-- ELSE -->class="icon-subscribe"<!-- ENDIF -->><a href="{S_WATCH_FORUM_LINK}" title="{S_WATCH_FORUM_TITLE}">{S_WATCH_FORUM_TITLE}</a></li><!-- ENDIF -->
<!-- IF U_WATCH_TOPIC --><li <!-- IF S_WATCHING_TOPIC -->class="icon-unsubscribe"<!-- ELSE -->class="icon-subscribe"<!-- ENDIF -->><a href="{U_WATCH_TOPIC}" title="{L_WATCH_TOPIC}">{L_WATCH_TOPIC}</a></li><!-- ENDIF -->
<!-- IF U_BOOKMARK_TOPIC --><li class="icon-bookmark"><a href="{U_BOOKMARK_TOPIC}" title="{L_BOOKMARK_TOPIC}">{L_BOOKMARK_TOPIC}</a></li><!-- ENDIF -->
<!-- IF U_BUMP_TOPIC --><li class="icon-bump"><a href="{U_BUMP_TOPIC}" title="{L_BUMP_TOPIC}">{L_BUMP_TOPIC}</a></li><!-- ENDIF -->
<!-- ENDIF -->
<li class="rightside"><!-- IF U_TEAM and S_USER_LOGGED_IN --><a href="{U_TEAM}">{L_THE_TEAM}</a> • <!-- ENDIF --><!-- IF not S_IS_BOT --><a href="{U_DELETE_COOKIES}">{L_DELETE_COOKIES}</a> • <!-- ENDIF -->{S_TIMEZONE}</li>
</ul>
Ersetze mit:
Code: Alles auswählen
<ul class="linklist">
<li class="icon-home"><!-- IF U_PORTAL --><a href="{U_PORTAL}">{L_PORTAL}</a> » <!-- ENDIF --><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a></li>
<!--
<!-- IF not S_IS_BOT -->
<!-- IF S_WATCH_FORUM_LINK --><li <!-- IF S_WATCHING_FORUM -->class="icon-unsubscribe"<!-- ELSE -->class="icon-subscribe"<!-- ENDIF -->><a href="{S_WATCH_FORUM_LINK}" title="{S_WATCH_FORUM_TITLE}">{S_WATCH_FORUM_TITLE}</a></li><!-- ENDIF -->
<!-- IF U_WATCH_TOPIC --><li <!-- IF S_WATCHING_TOPIC -->class="icon-unsubscribe"<!-- ELSE -->class="icon-subscribe"<!-- ENDIF -->><a href="{U_WATCH_TOPIC}" title="{L_WATCH_TOPIC}">{L_WATCH_TOPIC}</a></li><!-- ENDIF -->
<!-- IF U_BOOKMARK_TOPIC --><li class="icon-bookmark"><a href="{U_BOOKMARK_TOPIC}" title="{L_BOOKMARK_TOPIC}">{L_BOOKMARK_TOPIC}</a></li><!-- ENDIF -->
<!-- IF U_BUMP_TOPIC --><li class="icon-bump"><a href="{U_BUMP_TOPIC}" title="{L_BUMP_TOPIC}">{L_BUMP_TOPIC}</a></li><!-- ENDIF -->
<!-- ENDIF -->
-->
<li class="rightside"><!-- IF U_TEAM and S_USER_LOGGED_IN --><a href="{U_TEAM}">{L_THE_TEAM}</a> • <!-- ENDIF --><!-- IF not S_IS_BOT --><a href="{U_DELETE_COOKIES}">{L_DELETE_COOKIES}</a> • <!-- ENDIF -->{S_TIMEZONE}</li>
</ul>
Nach dem Auführen dieser Änderung sollten die Links nicht mehr angezeigt werden