Forum: search, muting members, archived topics, the public threads in the sitemap
- Search (/forum/kereses, the magnifier in the forum bar): thread titles
and posts the viewer may read, Hungarian stems and word beginnings
without accents ("alvas" finds "alvásban"), one result per thread with
the matching words marked.
- Muting a member (post menu, profile; the list in the settings): their
threads leave the lists, their posts fold up, their replies and mentions
no longer count or send e-mails. They are not told.
- The admin archives a topic (Moderálás → Témák): it stays readable but
takes no new threads or replies, and folds away on the front page.
- The public topics and threads are in the sitemap; the forum's own pages
are kept from robots.
- A reply e-mail goes to the one answered, also on the second level.
- Migration 0043 also prepares charts attached to a forum question.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
@@ -60,13 +60,24 @@ export default async function TopicPageView({ params, searchParams }: Props) {
|
||||
: "Zárt kör: ezt a témát csak a jóváhagyott tagjai látják."}
|
||||
</p>
|
||||
)}
|
||||
{topic.archived && (
|
||||
<p className="ftopic-private">
|
||||
<svg viewBox="0 0 24 24" aria-hidden="true">
|
||||
<rect x="3.5" y="4.5" width="17" height="4.5" rx="1" />
|
||||
<path d="M5 9v9.5a1.5 1.5 0 0 0 1.5 1.5h11a1.5 1.5 0 0 0 1.5-1.5V9M10 13h4" />
|
||||
</svg>
|
||||
Archivált téma: a szálak olvashatók, de új szál és hozzászólás már nem írható.
|
||||
</p>
|
||||
)}
|
||||
</div>
|
||||
<Link
|
||||
href={viewer.logged_in ? `/forum/uj?tema=${topic.slug}` : `/belepes?vissza=/forum/uj?tema=${topic.slug}`}
|
||||
className="btn btn-primary"
|
||||
>
|
||||
Új szál
|
||||
</Link>
|
||||
{!topic.archived && (
|
||||
<Link
|
||||
href={viewer.logged_in ? `/forum/uj?tema=${topic.slug}` : `/belepes?vissza=/forum/uj?tema=${topic.slug}`}
|
||||
className="btn btn-primary"
|
||||
>
|
||||
Új szál
|
||||
</Link>
|
||||
)}
|
||||
</header>
|
||||
{threads.length === 0 ? (
|
||||
<p className="fh-card fh-empty">Ebben a témában még nincs szál. Nyisd meg te az elsőt!</p>
|
||||
|
||||
Reference in New Issue
Block a user