Start free trial

Docs / Design and themes / Custom Templates

Outlet snippets

Updated 5 December 2026

A snippet is a small piece of HTML that ForumSpark places at a fixed spot on your board, called an outlet. Use it to add something without rewriting a whole template: a badge under every avatar, a line under each topic title, a link at the bottom of the profile card.

Where Admin panel, Appearance, then Custom templates, Snippets tab

Plans Every plan

Who Admins

yourboard.forumspark.net/admin/custom-templates?tab=snippets

The Snippets tab with a list of snippets

The Snippets tab.

Add a snippet

  1. Open the Snippets tab and click Add snippet.

  2. Give it a Snippet name, so you recognise it in the list.

  3. Pick the Outlet: where it goes. You can't change this later.

  4. Write the HTML. The placeholders for that spot are listed next to the editor, like {{ user.username }} or {{ topic.title }}.

  5. Save. It shows on the board straight away.

The outlets

OutletWhere
post-rail:below-avatarUnder the avatar next to a post
post-rail:after-groupAfter the member's group
post-rail:after-metaAfter the member's details
topic-row:after-titleAfter a topic's title in a list
topic-row:after-metaAfter the author and time
topic-row:after-statsAfter the reply and view counts
profile-card:after-nameAfter the name on a profile
profile-card:after-statsAfter the profile stats
profile-card:footerAt the bottom of the profile card

Managing snippets

  • Several snippets can share one outlet. Move up and Move down in the ⋯ menu set their order.

  • The switch in the On column turns a snippet on or off without deleting it.

  • Remove deletes it for good.

  • Snippets that an extension added show its name under Added by. You can't edit those, but Make my own copy gives you one you can. The copy starts switched off.

An example

A help board wants members to see who is around to answer. The admin adds a snippet at post-rail:below-avatar with {{#if user.is_online}}<span class="online">Online now</span>{{/if}}, so an "Online now" tag shows under the avatar of everyone who is online.

Good to know

  • Snippets show inside the standard designs. If you customise the Topic row, its snippets stop showing. With a customised Post rail, only post-rail:after-meta still shows.

  • Post rail snippets only show when your theme uses the rail layout for posts.

  • A snippet with an error is skipped, and the Custom templates page tells you which one.

Was this guide helpful?