Adds an OP label next to the original poster's name on their posts in a discussion.

Maintainers

Package info

github.com/linkrobins/OP

Language:JavaScript

Type:flarum-extension

pkg:composer/linkrobins/op

Statistics

Installs: 33

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.1 2026-05-12 01:12 UTC

This package is auto-updated.

Last update: 2026-05-12 01:12:45 UTC


README

A Flarum 2.0 extension that adds a small OP label next to the original poster's name whenever they reply in their own discussion. Makes it easy to spot the discussion author across long threads.

This is a Flarum 2.0 port of dem13n/topic-starter-label (Flarum 1.x), with the label changed to "OP" and adapted for Flarum 2.0's component registry.

Install

composer require linkrobins/op
php flarum cache:clear

Then enable it in Admin → Extensions.

How it works

When viewing a discussion, every reply by the original poster gets a small green OP badge added to its author byline. The first post (which is by definition by the OP) is excluded — the badge is only useful for telling the OP's replies apart from everyone else's.

Requirements

  • Flarum 2.0+
  • PHP 8.2+

License

MIT. Credit to Dem13n for the original implementation.