Post & Thread Highlight Pro

Post & Thread Highlight Pro [Paid] v1.7.2

No permission to buy ($16.00)
I dont manually highlight any posts - so its not a problem for me. Only use automatic based on reaction score. As per my prior screenshots it did not remove highlighted posts below the minimum reaction score.
Okay, I'll look at it
 
Request, do you think it's possible to have a usergroup based post highlighter that can be enabled or disabled? Ideal for admin or Moderator notices. Would need separate styling settings though.
 
there is still a phrase missing when running Rebuild User Post Highlight Cache.

Is there supposed to be a cron job that runs to highlight the posts when the minimum reaction score is reached for auto highlight? It certainly doesnt do that. Is the intention to rebuild the cache each time to highlight it?

Example this post is not highlighted.
Screenshot 2025-02-22 at 6.00.02 pm.webp

9 Likes = 9 Reaction Score
+ 7 Love = 21 Reaction Score
= 30 Reaction Score

My settings are as follows:
Screenshot 2025-02-22 at 6.00.41 pm.webp

The auto highlight by reaction score feature is pretty unusable as per my previous messages/screenshots on how random posts not even meeting the criteria are highlighted after rebuilding the cache.
 
Is there supposed to be a cron job that runs to highlight the posts when the minimum reaction score is reached for auto highlight
Yes, it runs hourly.
The auto highlight by reaction score feature is pretty unusable as per my previous
Yeah, I probably should have put off attempting this update to the addon so hastily. I almost rolled back the update when I got to 90% complete realizing it had some unforeseen headaches that I alluded to in earlier posts.

For now, until I have a chance to review your gripes with it, I'd suggest leaving it disabled if it's causing issues/frustrations.
 
Yes, it runs hourly.
Got a name for what that cron job is? i dont actually seem to have any cron jobs for the addon listed. That post i screenshotted surpassed the minimum reaction count for auto highlight a few days ago.
 
Good eye, thanks to your insight I just realized the cron was associated to XF, and not the this add-on, meaning it would be missing from the addon.zip when built. I doubt this is going to fix your other issues, but I'll fix this one issue immediately.

Specifically, you saying that "random posts" get autohighlighted. I didn't come across this in testing, but part of the issue I didn't realize when attempting to do this for you was the fact that it's actually quite hard to test thoroughly without a known subset of test posts/reactions/data.
 
Is there any rhyme or reason to these "random post highlights" that you can articulate to me? I have a small bit of time to look at this now.
 
Is there any rhyme or reason to these "random post highlights" that you can articulate to me? I have a small bit of time to look at this now.
Sure.

I set minimum reaction count to 1 so that all posts with 1 reaction score or more would get highlighted. I did this so the rebuild cache tool woukd take a bit of time rather than quick flash so i could take a screenshot for the missing phrase i reported.

I then put minimum reaction score to 16, and rebuild the caches (with the flag set to delete all existing post highlights). What i noticed after all that was that there were posts still highlighted under that minimum reaction score ie 5 reaction score etc. It was very random.

I have since fixed that manually by making all xf_post records with wu_post_highlight to 0.
 
hmmm.... as if the "delete" didn't delete everything like it should have. I'm releasing an update that addresses some of these issues. Perhaps try with a clean slate and zero highlighted posts, use your 25 or whatever reaction score, and with the auto highlight cron properly included in this next release, so how it goes?
 
Wutime updated Post & Thread Highlight Pro with a new update entry:

v1.6.2

  • ADD: Tweak auto-highlighting SQL and logic for reaction based highlighting
  • FIX: Duplication of post highlight CSS injection
  • FIX: XF 2.3.6 oddity with extra.less requiring a full line break or else it tries to autoclose a non-existent curly brace
  • FIX: Add missing reference for hourly cron for reaction based highlighting
  • FIX: Add missing phrase for "rebuild_highlight_reactions"
  • FIX: Add missing phrase for "rebuilding_highlighted_post_and_thread_counts"

Read the rest of this update entry...
 
hmmm.... as if the "delete" didn't delete everything like it should have. I'm releasing an update that addresses some of these issues. Perhaps try with a clean slate and zero highlighted posts, use your 25 or whatever reaction score, and with the auto highlight cron properly included in this next release, so how it goes?
Thank you. Installed it and ill do some checks tomorrow :)
 
When trying to upgrade from 1.61 to 1.6.2, I receive the below errors on a blank page after the upgrade runs a few moments:

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 40960 bytes) in /home/caraudio/public_html/src/XF/Template/Compiler.php on line 556

Fatal error
: Allowed memory size of 134217728 bytes exhausted (tried to allocate 131072 bytes) in /home/caraudio/public_html/src/addons/SV/RedisCache/Traits/Cm_Cache_Backend_Redis.php on line 533
 
128mb seems a bit stringent.
  • The default PHP memory_limit is often set to 128 MB on many hosting environments, but this can be insufficient for XenForo, especially with larger forums or when processing resource-intensive tasks like image resizing, search indexing, or running multiple add-ons.
You could try 192mb or 256mb for the rebuild?
 
I think XF 2.3.6 has done something with the template engine in this release. Could be why it takes a little more memory. Not sure, but I noticed at least one change from previous versions.
 
128mb seems a bit stringent.
  • The default PHP memory_limit is often set to 128 MB on many hosting environments, but this can be insufficient for XenForo, especially with larger forums or when processing resource-intensive tasks like image resizing, search indexing, or running multiple add-ons.
You could try 192mb or 256mb for the rebuild?
Thanks, fixed! It was only set to 32MB for some odd reason…
 
Wutime updated Post & Thread Highlight Pro with a new update entry:

v1.7.0

  • ADD: Special highlight feature
    • Can be added to any usergroup but likely to be reserved to admins/mods
    • Special highlights do NOT contribute to user highlight totals
    • Primarily used to highlight offences, notices, or important admin/mod posts
  • ADD: Custom "Special highlight" style properties for a completely different look
  • ADD: Special highlight checkbox to posts forms (if users has permission)
  • ADD: New phrases for moderator log for special highlights...

Read the rest of this update entry...
 
Feature suggestions:
  • Possible to add a 'highlighted' badge on these highlighted posts/thread
  • Alert user if their post/thread gets highlighted
  • the rebuild reactions for highlighted threads phrase is missing
  • ability to only show highlighted posts in a thread for users (use case, long thread, users only want to see highlighted posts) etc.
Possible to add these please
 
Back
Top Bottom