Post & Thread Highlight Pro

Post & Thread Highlight Pro v2.1.1

No permission to buy ($30.00)
  • FIX: Prevent "First post could not be pinned" errors on highlight-only pages by preserving XenForo's separate pinned-post and solution-post fetches.
  • FIX: Keep highlight cursor filtering limited to the main post list, including when a highlighted first post is outside the current page.
  • FIX: Retain native visibility checks for separately fetched posts.
  • PERFORMANCE: Eliminate full-thread highlight count scans on ordinary thread pages by maintaining the count as highlights change, improving performance on very large threads.
  • PERFORMANCE: Load highlighted posts from a dedicated indexed lookup with Previous/Next pagination, keeping each page bounded even when a thread has many highlights.
  • FIX: Count posts with both normal and special highlights only once in the thread's highlighted-post total.
  • FIX: Preserve XenForo's normal post rendering, attachments and moderation controls on highlight-only pages.
  • FIX: Keep lookup context and thread counts aligned during highlighting, moderation, deletion, post moves, post merges, thread merges and forum moves.
  • FIX: Preserve both normal and special highlights when changed together or imported from legacy flags; preserve historical source/actor/date during repair and merges.
  • FIX: Make the ledger CLI command compatible with XenForo 2.2 and PHP 7.4.
  • PERFORMANCE: Discover legacy highlights once using narrow index scans; upgrade batches process only highlighted posts/threads and affected or stale count caches.
  • PERFORMANCE: Bound reaction rebuild input rows before filtering or aggregation.
  • UPGRADE: Automatically create the lookup, import existing highlights, repair context and rebuild thread/user counts during the normal upgrade.
  • REPAIR: Optional maintenance command: php cmd.php wutime-posthighlight:rebuild-ledger --batch-size=1000
  • RESUME: Add --resume to continue an interrupted CLI rebuild from its last completed batch.
For large forums, upload the addon in the GUI and run:

Bash:
# Recommended for large forums after upgrade:
php cmd.php wutime-posthighlight:rebuild-ledger --batch-size=1000
  • NEW: Add highlight ledger table as the source of truth for post, special, thread, curated, manual, and reaction-based highlights.
  • NEW: Store highlight source, actor, recipient, thread/forum context, migration state, and highlight timestamp for all new highlights.
  • NEW: Add CLI rebuild command: php cmd.php wutime-posthighlight:rebuild-ledger
  • NEW: Add XF 2.3+ option to feature threads in XenForo Featured content when a thread highlight is applied.
  • UPGRADE: Import existing post/thread highlight flags into the ledger as legacy records with unknown actor/date metadata.
  • FIX: Search highlights now reads the ledger and applies visible content/forum visibility restrictions.
  • FIX: Prevent unhighlighted post inserts, including approval-queue posts, from leaving stale user highlight counts.
  • FIX: Keep cached highlight counts aligned when highlighted posts or threads move into or out of moderated/deleted/redirect visibility states.
  • CHANGE: Member highlight-count links now render a dedicated Highlights by user page instead of creating fake search result pages.
  • CHANGE: What's new highlights now displays highlighted threads as preview cards and highlighted posts as compact rows instead of ful post bodies.
  • FIX: Fixed visibility leak on highlight pages by restricting results to forums the visitor can view.
  • FIX: Fixed permission checks to be forum-specific using node-level hasNodePermission instead of global checks.
  • FIX: Fixed reaction rebuild overcount bug so counts only increase by newly highlighted posts.
  • FIX: Fixed curation counter sync so user highlight totals update correctly when thread-starter curation changes.
  • FIX: Fixed phrase/i18n issues by adding missing phrases and removing hardcoded UI text fallbacks.
  • FIX: Fixed reaction option validation to require at least one reaction and clean/dedupe reaction IDs.
  • FIX: Fixed quick reply UI permission check to use node-level permissions for the current thread.
  • FIX: Removed cross-addon residue by deleting wutc_member_noable modification and unused phrase.
  • NEW: Added option to apply prefix restrictions to thread starters only or to everyone
  • NEW: Added highlight count to the “Show highlights” button (e.g. Show highlights (3))
  • NEW: Special (staff) highlights are now included in highlight counts and filters
  • FIX: “Show highlights” toggle now only appears when highlighted posts actually exist
  • FIX: Fixed Special Highlight styling not rendering in XenForo 2.2 due to legacy CSS build inconsistencies.

Attachments

  • Screenshot 2026-01-21 at 12.52.42 PM.webp
    Screenshot 2026-01-21 at 12.52.42 PM.webp
    25 KB · Views: 72
  • Like
Reactions: woody
  • NEW: Quick highlight toggle beside “Report” for thread-starter curated highlighting
  • NEW: Permission: Allow thread starters to curate highlighted posts
  • NEW: Option: Restrict thread-starter highlight curation to specific thread prefix IDs
  • NEW: Option: Maximum curated highlights per thread
  • ADD: Add-on–specific permissions interface group
  • FIX: Improved permission names for clarity and consistency

NOTE: Thread-starter curation allows highlighting any post within their own thread, without requiring post edit permissions

Attachments

  • Screenshot 2026-01-21 at 1.20.43 AM.webp
    Screenshot 2026-01-21 at 1.20.43 AM.webp
    16.6 KB · Views: 65
  • Screenshot 2026-01-21 at 1.19.48 AM.webp
    Screenshot 2026-01-21 at 1.19.48 AM.webp
    20.5 KB · Views: 56
  • Screenshot 2026-01-21 at 1.18.05 AM.webp
    Screenshot 2026-01-21 at 1.18.05 AM.webp
    32.5 KB · Views: 54
  • Screenshot 2026-01-21 at 1.17.45 AM.webp
    Screenshot 2026-01-21 at 1.17.45 AM.webp
    12.6 KB · Views: 53
  • Like
Reactions: woody
  • ADD: Performance update to prevent slow query
  • ADD: Index for WhatsNew::actionHighlights (xf_post)
  • FIX: Remove database indexes on uninstall() prior to dropping columns
  • FIX: Checks instanceof Reply\View before calling getTemplateName()
  • Like
Reactions: javakhir
  • NEW: Option to add a toggle button on thread pages for ["Show Highlights" / "All Posts"]
  • NEW: Option to add link to forum pages to "View Highlights": /highlighted-posts/:forum_id
  • NEW: Forum Nav + Page: Highlighted threads
  • NEW: Whats New + Page: Highlighted posts
  • NOTE: Thread "Show Highlights" button is enabled by default
  • NOTE: Forum "View Highlights" button is disabled by default
  • FIX: Add event listener hint to be more performant
  • FIX: Reactions bar bgcolor for highlighted posts now blends properly

Attachments

  • Screenshot 2025-07-21 at 9.30.18 PM.webp
    Screenshot 2025-07-21 at 9.30.18 PM.webp
    33.6 KB · Views: 113
  • Screenshot 2025-07-21 at 9.30.43 PM.webp
    Screenshot 2025-07-21 at 9.30.43 PM.webp
    28.3 KB · Views: 116
  • Screenshot 2025-07-21 at 10.59.24 PM.webp
    Screenshot 2025-07-21 at 10.59.24 PM.webp
    30.9 KB · Views: 104
  • Screenshot 2025-07-21 at 11.01.54 PM.webp
    Screenshot 2025-07-21 at 11.01.54 PM.webp
    3.9 KB · Views: 111
  • Screenshot 2025-07-21 at 11.01.49 PM.webp
    Screenshot 2025-07-21 at 11.01.49 PM.webp
    4.6 KB · Views: 102
  • Like
Reactions: Tamer
  • FIX: Small inconsistency with CSS
  • FIX: Remove custom option_value on uninstall()
  • FIX: Remove custom permission entries on uninstall()
Back
Top Bottom