Back-to-Top Pill Extension for phpBB
PHPBB
ADDON
free
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 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
| Platform | phpBB extension |
|---|---|
| Latest version | v1.0.0 |
| Download size | 14.2 KB |
| Released | 25 Oct 2026 |
| Downloads | 0 |
| Access | Free — sign in to download |
| Platform | phpBB 3.2 / 3.3 |
| Extension name | dataforums/backtotop |
| Version | 1.0.0 |
| PHP | 7.4 or newer |
| Template hook | overall_footer_body_after |
| Licence | GPL-3.0-or-later |
| Database changes | none |
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.
fdc7b85da74592222377147b8d10e51d3e090acd439cf8d0f57b7bbb0bef6f05Install 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.
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
| Version | Released | Size | Downloads | Changelog |
|---|---|---|---|---|
| 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
Ratings come from registered members only — that is the whole point.
Sign in to rateFree account, 20 seconds. Create one
More phpBB extensions
Dark Mode Toggle Add-on for phpBB
A one-file dark-mode switch for phpBB 3.2/3.3: paste before , purge cache, done.
One-Click Post Thanks Add-on for phpBB
A thanks button on every post, as a proper phpBB 3.2/3.3 extension.
Best-Answer Topic Solved Add-on for phpBB
Mark a topic solved from the topic title bar — an extension, not a template edit.
Topic Share Bar Add-on for phpBB
A share strip under the topic title — links out to the networks your members actually use.