[TylerAustin] Game Thread Starter: Display Game Poster In Search Results - XF2

XF2 [TylerAustin] Game Thread Starter: Display Game Poster In Search Results - XF2 1.0.1

No permission to download
Add game poster instead of avatar in search results and tag results
Thank you for your support and helping me to improve this add-ons even better than before. This version includes fixing several bugs add-on in the XF2 Add-on!

Full Changelog:
  • Fixed fatal template error: "Accessed unknown getter 'title' on Snog\Games:Game"
  • Updated `tyleraustin_game_search_result_thread_poster` to use `game_title` instead of undefined `title`
  • Added fallback alt/title values for image accessibility
  • Hardened image template with conditional check for `$thread.Game`
  • Added `installStep1()` to `Setup.php` to auto-create XF option `game_thread_replaceSearchTemplate`
  • Introduced `createOptionIfMissing()` helper to avoid reinstall conflicts
  • Added null checks for `$thread.Forum` and `$thread.Game` in templates
  • Improved template accessibility with proper closing tags and alt/title attributes
  • Initial implementation of add-on logic for replacing thread search result template
  • Used XFCP to extend `XF\Search\Data\Thread`
Back
Top
Cart