Search by

teddan / dislikes

tttteddan

Allow users to dislike posts.

Package info

github.com/tttteddan/dislikes

Type:flarum-extension

pkg:composer/teddan/dislikes

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.1.0 2026-09-06 23:43 UTC

This package is auto-updated.

Last update: 2026-09-06 23:46:03 UTC


README

License Latest Stable Version Total Downloads

A Flarum extension. Allow users to dislike posts — the mirror image of the bundled flarum/likes extension.

It can be enabled alongside flarum/likes: dislikes are stored in their own post_dislikes table with their own discussion.dislikePosts permission and their own notification type, so the two extensions never touch each other's data.

Features

  • "Dislike" / "Undislike" button under each post, respecting a discussion.dislikePosts permission
  • "X dislike this" summary line under a post, with a modal listing every disliker
  • Optional notification to the post's author when their post is disliked
  • A Dislikes tab on user profiles (/u/<name>/dislikes) listing posts that user disliked
  • dislikedBy: search gambit / filter[dislikedBy] and filter[disliked] API filters
  • Admin setting: allow / disallow disliking your own posts
  • Admin setting: override the icon (defaults to far fa-thumbs-down, the mirror of the Likes thumbs-up)
  • Optional flarum/realtime integration (live stream refresh on dis/undislike)

Installation

composer require teddan/dislikes:"*"
php flarum migrate
php flarum cache:clear

Updating

composer update teddan/dislikes:"*"
php flarum migrate
php flarum cache:clear

Migrating from nodeloc/dislikes

This package keeps the same post_dislikes table schema, so existing dislike data is preserved. Replace the requirement and re-migrate:

composer require teddan/dislikes:"*"
php flarum migrate
php flarum cache:clear

The create-table migration uses createTableIfNotExists, so it is a no-op when the table already exists.

Links

Credits

Derived from flarum/likes by the Flarum team, MIT licensed. Upgraded to Flarum 2.0 and rebranded from nodeloc/dislikes.