{% if profile.profile_banner %}
{% endif %}
{{ profile.username }}

{{ online_dot(profile) | raw }} {{ zeigename(profile.username) }}

{% if profile.is_owner %} {{ t('profile_owner') }} {% elseif profile.is_banned %} {{ t('profile_gesperrt') }} {% elseif profile.is_admin %} {{ t('profile_admin') }} {% elseif profile.is_mod %} {{ t('profile_mod') }} {% else %} {{ rank_badge(profile.rank, profile.post_count) | raw }} {% endif %}
📝
{{ profile.post_count }} {{ t('profile_beitraege') }}
👍
{{ user_received_reactions(profile.user_id) }} {{ t('profile_reaktionen') }}
🏆
{{ user_achievement_count(profile.user_id) }} {{ t('profile_achievements') }}
⭐
{{ user_total_points(profile.user_id) }} {{ t('profile_punkte') }}
{{ t('profile_dabei_seit') }} {{ profile.registered_at | date(t('datum_format_tag')) }} · 🆔 {{ t('profile_mitglied_nr', profile.user_id) | raw }} {# v0.18.52: last_activity_at (Pageviews+Posts) statt last_login (nur echte Logins). Fallback auf last_login wenn last_activity_at noch nicht befüllt ist. #} {% if profile.last_activity_at %} · {{ t('profile_zuletzt_aktiv', format_date(profile.last_activity_at)) | raw }} {% elseif profile.last_login %} · {{ t('profile_zuletzt_aktiv', format_date(profile.last_login)) | raw }} {% endif %} · {{ extendedStats.activity_level.icon }} {{ extendedStats.activity_level.label }}
{% if currentUser and currentUser.user_id != profile.user_id %} {{ t('profile_pn_senden') }} {% endif %} {% if currentUser and currentUser.user_id == profile.user_id %} {{ t('profile_profil_bearbeiten') }} {% endif %}
{# ─── v0.18.50: Erweiterte Aktivitäts-Übersicht ─── #}
{{ t('profile_aktivitaet') }}
💬 {{ t('profile_threads_erstellt') }} {{ extendedStats.threads_count }}
📝 {{ t('profile_beitraege_gesamt') }} {{ profile.post_count }}
↑ {{ t('profile_reaktionen_erhalten') }} {{ user_received_reactions(profile.user_id) }}
↓ {{ t('profile_reaktionen_vergeben') }} {{ extendedStats.reactions_given }}
📅 {{ t('profile_posts_in_den_letzten') }} {{ extendedStats.posts_last_30d }}
{# ─── v0.18.50: Top-Beiträge ─── #} {% if topThreads %}
{{ t('profile_top_threads') }}
{% for tt in topThreads %} {% endfor %}
{{ t('profile_thread') }} {{ t('profile_reaktionen') }}
{{ tt.title }} {% if tt.reactions_total > 0 %} {{ tt.reactions_total }} {% else %} — {% endif %}
{% endif %} {% set visibleFields = profile_visible_fields(profile, currentUser) %} {% if visibleFields %}
{{ t('profile_ueber_x', zeigename(profile.username)) }}
{% for field in visibleFields %}
{{ field.icon | raw }}
{{ field.label }}
{% if field.type == 'textarea' %} {{ bbcode(field.value) | raw }} {% else %} {{ field.value }} {% endif %}
{% endfor %}
{% endif %} {% if profile.signature %}
{{ t('profile_signatur') }}
{{ bbcode(profile.signature) | raw }}
{% endif %}
{{ t('profile_letzte_beitraege') }}
{% if not latestPosts %} {% endif %} {% for lp in latestPosts %} {% endfor %}
{{ t('profile_thread') }}{{ t('profile_datum') }}
{% if isOwner %} {{ t('profile_du_noch_keine_beitraege') }} {% else %} {{ t('profile_noch_keine_beitraege') }} {% endif %}
{{ lp.thread_title }} {{ format_date(lp.created_at) }}
{% if isMod and ipHistory %}
{{ t('profile_ip_verlauf') }} {{ t('profile_ip_nur_moderatoren', count(ipHistory)) }} ▼
{{ t('profile_registrierungs_ip') }} {{ profile.registration_ip | default('–') }}  ·  Letzte IP: {{ profile.last_ip | default('–') }}
{% for h in ipHistory %} = 10 %}style="display:none"{% endif %}> {% endfor %}
{{ t('profile_ip') }}{{ t('profile_aktion') }}{{ t('profile_zuletzt_gesehen') }}{{ t('profile_anzahl') }}{{ t('profile_aktionen') }}
{{ h.ip }} {% if h.action == 'register' %}Registriert {% elseif h.action == 'login' %}Login {% elseif h.action == 'post' %}Post {% else %}{{ h.action }} {% endif %} {{ format_date(h.last_seen) }} {{ h.hits }} {% if isAdmin %} {{ t('profile_sperren') }} {% endif %}
{% if count(ipHistory) > 10 %}
{% endif %}
{% endif %}