Add a simple heart/like button to posts with AJAX toggle. Originally developed by Stanislav Atanasov (anavaro). Now maintained by Avathar.be.
2.2.3
- phpBB 3.3.0 or higher
- PHP 8.1 or higher
- Heart button under every post with AJAX toggle (no page reload)
- Outline heart for "not liked", filled heart for "liked"
- Tooltip showing who liked the post, updated live via AJAX
- Like count per topic on the forum topic list (viewforum)
- Like counts (given/received) in user mini profile (configurable)
- Summary of most liked posts by day/week/month/year/ever on index and forum views (configurable)
- Notification when a post is liked (respects UCP notification preferences)
- Permission system (
u_postlove) to control who can like posts per user/group - Permission system (
u_postlove_summary) to control who can see the most liked posts summary - Configurable summary position (above or below the forum list on the index page)
- ACP settings for CSS, mini profile counters, summary display and cache time
- Import tool for migrating data from the Thanks for Posts extension
- Bulgarian, Czech, Dutch, English, French, German, Polish, Portuguese (BR), Spanish, Turkish
- 2.2.3
- Fixed heart button displaying as a blue rectangle in pbTech and other styles that override
.buttonstyling (#34) - Heart icon and like count in post buttons now inherit theme-appropriate colours
- Fixed heart button displaying as a blue rectangle in pbTech and other styles that override
- 2.2.2
- Added
avathar.postlove.topic_likesservice for cross-extension integration (#33) - Other extensions can consume like counts via optional DI without querying the posts_likes table directly
- Added
- 2.2.1
- Added
is_enableable()check to enforce PHP 8.1+ and phpBB 3.3+ requirements before enabling (#29)
- Added
- 2.2.0
- UX aligned with Meta Threads conventions (heart icon before count, removed "x" separators)
- Improved ACP option labels and descriptions across all 10 languages
- ACP settings grouped into "Like behaviour" and "Most liked posts summary" fieldsets
- Added
u_postlove_summarypermission to gate visibility of the most liked posts summary per user group - Added configurable summary position on the index page (above or below the forum list)
- Blocked like permission for guests — anonymous users can no longer like posts (defence-in-depth)
- Migration to fix notification type service name after namespace rename
- 2.1.0
- Namespace changed from
anavaro/postlovetoavathar/postlove - Migrated CI from Travis to GitHub Actions (PHP 8.1-8.4, MySQL, MariaDB, PostgreSQL, SQLite)
- Updated requirements to PHP 8.1+ and phpBB 3.3+
- PHP 8.2+ compatibility: declared all class properties
- Fixed N+1 query problem in viewtopic (75+ queries reduced to 3)
- Added heart count to topic list (viewforum)
- Added
u_postlovepermission (per user/group, guests excluded by default) - Fixed notification deduplication (swapped item_id/parent_id)
- Fixed heart icon states (outline=not liked, filled=liked)
- Fixed AJAX tooltip updates after like/unlike
- Fixed lovelist URL path traversal (uses
append_sid()now) - Fixed
var_dump()in ACP,define()at file scope, missingreturnin notification - ACP module refactored to use DI container instead of globals
- All language files fully translated (were partially English)
- Fixed German notification placeholder bug
- Fixed Cyrillic character in HTML closing tags
- Standardized all file headers with proper copyright attribution
- Updated tests for PHPUnit 9 compatibility
- Namespace changed from
- Download the latest release and unzip it.
- Copy the entire contents from the unzipped folder to
/ext/avathar/postlove/. - Navigate in the ACP to
Customise -> Manage extensions. - Find
Post Loveunder "Disabled Extensions" and clickEnable.
- Navigate to
ACP -> Extensions -> Post Love -> Post Love. - Configure display options (mini profile counters, button mode, summary periods).
- To manage who can like posts, go to
ACP -> Permissions -> User/Group permissionsand look forCan like postsunder Misc.
See contrib/TESTING.md for details on running the test suite.
- Navigate in the ACP to
Customise -> Manage extensions. - Click the
Disablelink forPost Love. - To permanently uninstall, click
Delete Data, then delete thepostlovefolder from/ext/avathar/.
© 2015 - 2019 Stanislav Atanasov (anavaro) © 2026 - Avathar.be (Andy Vandenberghe)