{{ $stats['total_threads'] }}
Threads
{{ $stats['total_posts'] }}
Posts
{{ $stats['total_categories'] }}
Categories
Start a new discussion
No category
@foreach(($categories ?? $forum->categories) as $cat)
{{ $cat->name }}
@endforeach
Post
@php($cats = isset($categories) ? $categories : $forum->categories) @if($cats->count() > 0)
Categories
@foreach($cats as $index => $category)
@if($category->icon)
{{ $category->icon }}
@else
@endif
{{ $category->name }}
{{ $category->threads_count ?? $category->threads()->where('is_approved', true)->count() }}
@if($category->description)
{{ $category->description }}
@endif
@endforeach
@endif @if($recentThreads->count() > 0)
Recent Discussions
@foreach($recentThreads as $thread)
@if($thread->is_pinned)
📌
@endif @if($thread->category)
{{ $thread->category->name }}
@endif
{{ $thread->title }}
{{ $thread->excerpt }}
{{ substr($thread->author_name, 0, 1) }}
{{ $thread->author_name }}
{{ $thread->created_at->diffForHumans() }}
{{ $thread->replies_count }}
@if($forum->voting_enabled)
{{ $thread->votes_count }}
@endif
Open full thread
Reply
@endforeach
@else
No discussions yet
Be the first to start a conversation!
@endif