Blatchy SnipIt
Featured content snippets, finally with formatting.
What it does
XenForo's featured-content widget takes your best threads and flattens them into an unformatted blob of text. Headings disappear. Paragraph breaks become spaces. Lists turn into run-on sentences. Every featured post looks identical — a gray slab of characters with no structure.
SnipIt fixes this. Featured snippets now render with the original BBCode intact — real
headings, real paragraph breaks, bullet lists, bold, italic, and links. The snippet still respects the length limit you configured in the widget, and the rest of the system is completely untouched.
Features
- One toggle. Turn it on (default) or off via a single option under Options → SnipIt. Off restores core XenForo behavior exactly.
- Length-aware. Respects the snippet length limit configured on the featured-content widget.
- Works everywhere. Covers both the article view and carousel view of featured content.
- Word count safe. Thread word counts used by search indexing still strip BBCode correctly — SnipIt only affects how snippets are displayed, not how they're measured.
- Defensive install. If another add-on or a XenForo update has already modified the target template in a way that would break SnipIt, the install is blocked before any database changes with a clear error explaining which modification failed and why. No stuck states, no uninstall required to recover, just fix the conflict and retry.
How it works
SnipIt extends XenForo's
FeaturedContent\ThreadHandler and adds two template modifications to
featured_content_item that route the snippet through
bb_code_snippet() instead of the plain-text
snippet() function. That's it. No new tables, no cron jobs, no AJAX endpoints, no stored state. Uninstalling is instant and removes every trace.
Requirements
- XenForo 2.3.0 or later
- PHP 8.1 or later