Back to marketplace
174

Reputation

Buy now

User reputation system based on content creation activity.

Release v1.1.4 03/02/2026

  • Fix: Top 3 medals on Reputation Leaderboard now correctly render as badges wrapping the user profile image
  • Fix: Badge icons now use Font Awesome 4.7-compatible icons (star, trophy, certificate) via HumHub Icon widget
  • Fix: Badges properly display pill style and color classes (text-bg-warning, text-bg-secondary, text-bg-dark)
  • Fix: Pagination and ListView items now correctly calculate rank offsets and show appropriate badge per user position
  • Fix: Badge overlay uses position-absolute and translate-middle to correctly align over profile images
  • Enh: Badge::widget() usage updated to integrate with HumHub v1.18+ Bootstrap 5 styles

Release v1.1.3 03/02/2026

  • Fix: CRITICAL - followersCount (points per follower) missing from Module::loadFromSettings() — admin panel changes to this value were saved to the database but never loaded back on the next request, meaning the class default of 5 was always used regardless of what was configured
  • Fix: CRITICAL - followersCount missing from Module::getCommonConfigValues() defaults check — custom values set in common.php were not detected as overrides, allowing admin panel settings to silently override them
  • Fix: followersCount missing from CLI show-config output — the "Points per Follower" row was absent from the configuration table
  • Fix: followersCount missing from reset-settings and show-config admin panel settings checks — the reputations.followersCount DB key was never inspected or deleted by either command
  • Enh: Added optional pointsPerFriend setting for mutual friendships — awards points per accepted friendship when HumHub's Friendship module is installed and pointsPerFriend > 0 (default: 0, disabled)
  • Enh: Module::isFriendshipScoringEnabled() helper — returns true only when both the Friendship module is present and pointsPerFriend > 0, used as a single gate throughout the codebase
  • Enh: UserReputation — added friends_count column tracking mutual friendship count; score calculation now includes ($friendsCount * $module->pointsPerFriend) when friendship scoring is active
  • Enh: ReputationHistory — added REASON_FRIEND_ADDED and REASON_FRIEND_REMOVED constants with translated labels for history display
  • Enh: Admin config view — pointsPerFriend field is displayed when the Friendship module is enabled; replaced with an informational notice when the module is not installed
  • Enh: CLI show-config — "Points per Friendship" row now shows the current value along with a contextual status note (active / disabled / module not installed)
  • Enh: CLI check-user — friendship section added to debug output, showing live friend count or a clear explanation of why friendship scoring is inactive
  • Enh: CLI recalculate — output line now includes Friends column alongside existing Content / Likes / Comments / Followers columns
  • Doc: common.php configuration table and example updated with pointsPerFriend option
  • Doc: Admin Manual updated with migration note for the friends_count database column

Release v1.1.2 03/01/2026

  • Fix: CRITICAL - Likes from other users not counted until content author liked their own post due to like being a MySQL reserved keyword — Like::find() now uses .alias('lk') with corrected join condition using aliased table reference
  • Fix: CRITICAL - onLikeCreated/onLikeDeleted event handlers incorrectly guarding on $like->object_model === Content::class which is always false — handlers now resolve content owner via direct Content table lookup by object_model + object_id, with Comment fallback for likes on comments
  • Fix: CRITICAL - onContentCreated/onContentDeleted event handlers not guarding against SYSTEM_CONTENT_TYPES, causing comments to be attributed to the post owner's content_count instead of the commenter
  • Fix: CRITICAL - Commenters receiving no reputation points for commenting on other users' content — onCommentCreated/onCommentDeleted now recalculate both the post owner and the commenter, and content_count now includes a separate commentsMadeCount query for comments made on other people's content
  • Fix: object_pk property does not exist on Like model — corrected to object_id
  • Fix: Self-likes no longer contribute to reputation score (lk.created_by != userId exclusion added to likes query)
  • Fix: Self-comments no longer contribute to reputation score (comment.created_by != userId exclusion added to comments query), preventing users from artificially inflating their score by commenting on their own content
  • Fix: Likes on comments not being counted — added dedicated likesOnComments query joining directly against the comment table since comments have no state/archived flags on a Content record
  • Fix: Avatar images misaligned/not centered in ReputationLeaderboard widget — replaced fixed-size overflow:hidden container with flexbox centering (display:flex; align-items:center; justify-content:center) to correctly handle Image::widget() wrapping markup (<span><a><img></a></span>)
  • Fix: Community Reputation Leaderboard page displaying users horizontally instead of vertically — list-group and flex-direction:column style moved to options array on ListView::widget()
  • Enh: Likes received split into two separate queries — likesOnContent for primary content and likesOnComments for comments — summed into a single likes_received value
  • Enh: Content count split into primaryContentCount (posts, wiki pages, etc.) and commentsMadeCount (comments on others' content) — summed into single content_count value so commenters are rewarded for engagement without double-counting

Release v1.1.1 02/19/2026

  • Fix: Back button in admin configuration view incorrectly using primary styling
  • Fix: CRITICAL - Reputation scores not reflecting configured point values due to full recalculation running on every admin index page load
  • Fix: CRITICAL - Comment and Like records being counted as primary content, inflating content_count and producing incorrect scores regardless of configured point values
  • Fix: History view inaccessible via the UI (knock-on effect of index recalculation bug)
  • Fix: Wrong module ID reputations in UserController::actionProfile() causing null module and broken profile page
  • Enh: Excluded users now automatically hide the reputation panel on their profile page
  • Enh: SYSTEM_CONTENT_TYPES constant introduced on UserReputation model for maintainable content exclusion list
  • Enh: Content exclusion list now consistently applied across all three reputation queries (content count, likes received, comments received)
  • Enh: Recalculation only runs when admin explicitly triggers it via "Recalculate All"
  • Enh: Bootstrap 5 / HumHub 1.18 migration - updated all badge classes (badge-infotext-bg-accent, badge-defaulttext-bg-secondary, etc.)
  • Enh: Bootstrap 5 / HumHub 1.18 migration - updated float classes (pull-leftfloat-start, pull-rightfloat-end)
  • Enh: Bootstrap 5 / HumHub 1.18 migration - updated image classes (img-circlerounded-circle)
  • Enh: Bootstrap 5 / HumHub 1.18 migration - updated form wrapper class (form-groupmb-3)
  • Enh: Bootstrap 5 / HumHub 1.18 migration - ActiveForm namespace updated to humhub\widgets\form\ActiveForm
  • Enh: Bootstrap 5 / HumHub 1.18 migration - all Button and Badge usages converted to fluent API (Button::back(), Button::save()->submit(), Badge::instance(), etc.)
  • Enh: Removed data-method="post" from navigation-only buttons throughout all views

Release v1.1.0 02/15/2026

  • Fix: CRITICAL - Content counting logic completely rewritten for HumHub 1.18+
  • Fix: Now properly excludes archived content using archived field (not non-existent STATE_ARCHIVED)
  • Fix: CRITICAL - System activities (registration, profile updates) no longer counted as content
  • Fix: Only counts published content (state = STATE_PUBLISHED)
  • Fix: Excludes drafts, scheduled, and deleted content from reputation calculations
  • Enh: Added excludedContentTypes configuration option (defaults: Activity, Notification)
  • Enh: More accurate reputation scores reflecting actual user-created content
  • Doc: Added debug command check-user to diagnose content counting issues

Release v1.0.9 02/15/2026

  • Fix: CRITICAL - Console verbose mode causing "Getting unknown property: verbose" error
  • Enh: Simplified console output - always shows detailed progress without flags
  • Enh: Improved readability of recalculation output

Release v1.0.8 02/15/2026

  • Fix: CRITICAL - Undefined constant Content::STATE_ARCHIVED error on older HumHub versions
  • Fix: CRITICAL - Console commands not recognized - proper event-based registration
  • Enh: Added version compatibility check for STATE_ARCHIVED constant
  • Enh: Fallback to visibility-based filtering for older HumHub versions
  • Enh: Console commands now registered via Application::EVENT_ON_INIT event
  • Fix: Corrected config.php structure to match HumHub conventions

Release v1.0.7 02/15/2026

  • Enh: Merged console controller commands into main ReputationController
  • Enh: Enhanced console output with color-coded messages and better formatting
  • Enh: Added verbose mode support for recalculate command (-v flag)
  • Enh: Added admin settings detection in show-config command
  • Enh: Improved error handling in recalculation with detailed error reporting
  • Enh: Added index action to display all available commands and examples
  • Enh: Better user feedback with progress indicators and summary statistics
  • Fix: Console commands now use proper controller namespace
  • Doc: Updated documentation to reflect new command structure

Release v1.0.6 02/14/2026

  • Fix: Module configuration from common.php not being properly loaded
  • Fix: CRITICAL - Content counting includes archived/deleted content causing inflated scores
  • Fix: Configuration priority - common.php now takes precedence over admin panel settings
  • Enh: Improved module initialization with clearer settings loading priority
  • Enh: Added content state filtering to exclude archived items from reputation calculations
  • Enh: Added support for countedContentTypes filtering in all reputation queries
  • Enh: Added console commands for resetting settings and recalculating reputation
  • Enh: Added comprehensive configuration documentation
  • Fix: Configuration type casting for boolean and integer values

Release v1.0.5 02/09/2026

  • Fix: Medal badges incorrectly displaying on pagination pages beyond page 1

Release v1.0.4 11/23/2025

  • Fix: Mobile design
  • Enh: Add Mobile Detection

Release v1.0.3 10/24/2025

  • Fix: excludeUsers array

Release v1.0.1 10/18/2025

  • Enh: Add missing text to translatable.

Module Information

Price:
13 €
Latest version release:
1.1.4 - March 2, 2026
Publisher:
Author(s):
Compatibility:
HumHub 1.18.0-beta.4 - 1.18.1