Header And Footer Pro 1.1.0
Global content blocks for SMF 2.1, with no file edits
Header And Footer Pro lets you place your own content on every page of your forum: banners, notices, announcements, analytics, verification tags, chat widgets and anything else. It runs entirely on SMF 2.1 integration hooks and template layers, so no forum files are edited. It survives SMF upgrades and works with any theme.
This mod is a brand-new, enhanced take on the classic Global Headers and Footers. It is written from scratch and uses none of the original's code.
Five positions- Page head: meta tags, site verification, analytics, stylesheets and scripts
- Top of page: above the forum header, ideal for site-wide banners
- Above content: below the linktree, ideal for notices and announcements
- Below content: after the page content, above the footer
- Bottom of page: below the footer, ideal for scripts and chat widgets
The block list includes a small page map, so you can see at a glance where each block will appear.
Blocks- As many blocks as you like, each with its own title, position and order
- Content as HTML, BBCode, plain text, CSS or JavaScript
- Drag-and-drop ordering, one-click enable/disable, and duplicate
- Preview before saving. Head, CSS and JavaScript blocks show the exact code that will be output
- 18 variables, including {username}, {forum_name}, {total_members}, {board_name} and {year}. Each is made safe for the block's content type
Who sees it, where and when- Membergroups: show to or hide from any group, guests included
- Pages: only on or never on the board index, boards, topics, any action, or a sub-page such as [tt]profile:summary[/tt]
- Boards: only in or never in chosen boards
- Themes and languages: limit a block to particular themes or languages
- Devices: all screens, desktop only or mobile only
- Scheduling: start and end times, with each block marked Live, Scheduled, Expired or Disabled
- Dismissible notices: members can close a block, and it stays closed without flashing on page load. Edit the block and it shows to everyone again
New in 1.1.0: the Style panel- 8 designs: card, callout, banner, outline, gradient, frosted glass, ribbon and minimal. Your theme's own boxes are still available too
- Colours: background, gradient end, text, accent and links, each with a colour picker
- Background images: with fit, position, and a light or dark overlay to keep text readable
- Border, corners, spacing and shadow: including an accent-coloured glow
- Text: alignment, size, font and bold
- Width: full, match forum width, narrow or custom, placed left, centre or right
- Icons: 14 built-in icons in the accent colour, or any emoji
- Display modes: in the page, sticky on scroll, a fixed bar at the top or bottom of the screen, or a floating corner popup
- Entrance effects: fade, slide, pop or pulse. These turn off for visitors who prefer reduced motion
- Custom CSS per block: [tt]&[/tt] stands for the block, e.g. [tt]& a { color: gold; }[/tt]
- Quick presets: Announcement, Note, Promo, Warning, Success, Event, Bottom bar, Corner popup and Glass
- Live preview: updates as you type, on your theme's background or a light or dark one
Also included- Import and export of your blocks as JSON, with options for moving blocks between forums
- Blocks are cached through SMF's cache API
- Attachments, AJAX requests, popups, print pages and SSI are skipped automatically, and you can add your own actions to skip
- A disabled example block (a welcome notice for guests) shows how targeting works
RequirementsInstallingInstall through the Package Manager, then go to
Admin → Configuration → Header And Footer Pro.
Uninstalling keeps your blocks unless you tick
Remove all data associated with this modification.
LicenceISC
Header And Footer Pro © 2026 BoredSkull (https://boredskull.net)