ForumCrafts — plugins, themes, extensions, add-ons & tools for real boards — tools for real boardsDownloads & licences →

Back-to-Top Pill Extension for phpBB

PHPBB ADDON free
Not rated yet Be the first

A floating pill that appears once you scroll, and takes you back to the top in one tap.

A small, single-purpose extension: one button, fixed to the bottom-right corner, that stays out of the way until someone has scrolled a reasonable distance down a page.

What it gives you:

• A gold-edged pill labelled "Top" that fades into view after 340 pixels of scrolling and disappears again at the top.
• Smooth scrolling, using the browser's native smooth behaviour — no library, no jQuery, no external request.
• Scroll handling is registered as a passive listener, so it never blocks the page's own scrolling performance.
• One template event file and one small event subscriber. No database changes, no ACP settings, nothing to configure.

Verified before publishing: the extension's file structure matches phpBB's extension format, every PHP file passes a PHP 8.3 syntax check, and the template hook it uses (overall_footer_body_after) exists in stock phpBB 3.3.15 templates.

What's included

  • Floating "Top" pill in the bottom-right corner
  • Appears after 340px of scrolling, hides again at the top
  • Smooth scroll using the browser's native behaviour
  • Passive scroll listener — no performance cost while scrolling
  • No database changes, no settings, no configuration

At a glance

PlatformphpBB extension
Latest versionv1.0.0
Download size14.2 KB
Released25 Oct 2026
Downloads0
AccessFree — sign in to download
PlatformphpBB 3.2 / 3.3
Extension namedataforums/backtotop
Version1.0.0
PHP7.4 or newer
Template hookoverall_footer_body_after
LicenceGPL-3.0-or-later
Database changesnone

Requirements

  • phpBB 3.2 or 3.3.
  • PHP 7.4 or newer (all PHP files syntax-checked on PHP 8.3).
  • The stock overall_footer template, so the hook is present.
  • No configuration afterwards — enabling it is the whole install.

Checksum

Verify your download before you upload it to your board.

fdc7b85da74592222377147b8d10e51d3e090acd439cf8d0f57b7bbb0bef6f05

Install it

1. Upload the folder dataforums/backtotop into your phpBB ext/ directory, so the path reads ext/dataforums/backtotop.
2. In the Admin Control Panel go to Customise → Manage extensions.
3. Enable DF Floating Back-to-Top Pill and purge the cache.
4. Scroll down any page to see the pill appear.

Questions people ask

Does it load anything from outside my board?

No. The button and its behaviour are entirely local — no external scripts, fonts or requests.

Can I change when the button appears?

Yes, by editing one number in the template file (340 is the scroll distance in pixels). There is no ACP setting.

Does it work on a custom theme?

It attaches to a core template event, so it works on any theme that keeps phpBB's standard footer events.

All releases

VersionReleasedSizeDownloadsChangelog
v1.0.0 latest 25 Oct 2026 14.2 KB 0 1.0.0 — first ForumCrafts release of this phpBB extension.

Ratings & reviews

No ratings yet — the first one will be real, not seeded

More phpBB extensions

All phpBB extensions