Prefix Gate is a lightweight XenForo 2.3 add-on that displays a configurable interstitial to guests before they can view threads containing a selected thread prefix.
It was originally created for forums that want to place a warning in front of threads marked with an NSFW or similar prefix, but it can be used with any thread prefix.
Features
Important: Prefix Gate is a content-warning interstitial, not an age-verification or access-control system. It is intended to gate normal thread viewing and does not guarantee that every alternate XenForo content endpoint is protected.
Development note: This add-on was made with AI assistance and manually reviewed, tested, and refined on a live XenForo installation. Code review, bug reports, and feedback are welcome.
Télécharger V1.0.4 :
Prefix Gate 1.0.5 :
prevents unacknowledged guests from seeing the first-post content of gated threads through XenForo's stock thread hover previews.
Before a guest has acknowledged the Prefix Gate content notice, hovering a gated thread now displays:
Content preview unavailable until you open this thread and acknowledge the content notice.
After the guest clicks Continue, normal thread previews are restored for the remainder of the configured acknowledgment period.
This applies to both standard XenForo thread prefixes and gated prefixes used with Xon's Multi Prefix.
Unchanged behavior:
Version 1.0.6 :
Added :
Télécharger V1.0.6 :
It was originally created for forums that want to place a warning in front of threads marked with an NSFW or similar prefix, but it can be used with any thread prefix.
Features
- Select any existing thread prefix to trigger the interstitial.
- Guests must acknowledge the warning before viewing gated threads.
- Logged-in members are unaffected.
- Acknowledgment applies globally to all gated threads.
- Remember acknowledgment for the browser session, 1 day, 7 days, or 30 days.
- Browser session is the default.
- Supports XenForo's standard single thread prefix system.
- Automatically supports Xon's Multi Prefix when installed, including threads where the gated prefix is one of multiple prefixes.
- Displays the thread title while keeping the thread contents behind the interstitial.
- Warning text and labels are editable XenForo phrases.
- Uses the active XenForo style.
- No database tables, external services, telemetry, callbacks, or visible branding.
Important: Prefix Gate is a content-warning interstitial, not an age-verification or access-control system. It is intended to gate normal thread viewing and does not guarantee that every alternate XenForo content endpoint is protected.
Development note: This add-on was made with AI assistance and manually reviewed, tested, and refined on a live XenForo installation. Code review, bug reports, and feedback are welcome.
Télécharger V1.0.4 :
Pour consulter le contenu, vous devez : Se connecter ou S'inscrire.
Prefix Gate 1.0.5 :
prevents unacknowledged guests from seeing the first-post content of gated threads through XenForo's stock thread hover previews.
Before a guest has acknowledged the Prefix Gate content notice, hovering a gated thread now displays:
Content preview unavailable until you open this thread and acknowledge the content notice.
After the guest clicks Continue, normal thread previews are restored for the remainder of the configured acknowledgment period.
This applies to both standard XenForo thread prefixes and gated prefixes used with Xon's Multi Prefix.
Unchanged behavior:
- Logged-in members receive normal thread previews.
- Guests who have already acknowledged Prefix Gate receive normal previews.
- Non-gated threads are unaffected.
- No new configuration is required.
Pour consulter le contenu, vous devez : Se connecter ou S'inscrire.
Version 1.0.6 :
Added :
- Added a new "Gate users awaiting email confirmation" option, enabled by default.
- When enabled, logged-in users in XenForo's email-confirmation states are required to acknowledge Prefix Gate like guests.
- The new option covers both XenForo email-confirmation states: email_confirm and email_confirm_edit.
- Fully confirmed registered members continue to bypass Prefix Gate.
- Other non-valid user states are not newly gated by this option.
- Disabling the option preserves the previous behavior where any logged-in user bypasses Prefix Gate.
- The same eligibility check applies to both normal gated-thread views and first-post hover previews.
- A successful acknowledgment continues to use the existing global browser cookie and selected acknowledgment duration.
Télécharger V1.0.6 :
Pour consulter le contenu, vous devez : Se connecter ou S'inscrire.
Version 1.0.7 - Expanded Media Exposure Protection
Added:- Added lightweight alternate-media protection for gated threads before acknowledgment.
- Added centralized gate-decision logic so thread views and alternate output paths use the same guest/unconfirmed-user, prefix, and acknowledgment checks.
- Protected direct post "show" rendering and thread new-posts AJAX rendering.
- Prevented gated post/thread embeds from rendering before acknowledgment, including a gated thread/post embedded inside otherwise ungated content and XenForo's external embed renderer.
- Suppressed gated media in BB-code-based alternate views while leaving readable text available. This covers expanded New Threads/Search Forum widgets and provides a safety net for other stock post renderings, including custom BB code that could otherwise render media.
- Suppressed attached-image thumbnails in What's New / Latest activity and member Latest activity for gated content.
- Converted gated Forum RSS and Search Forum RSS entry bodies to text-only snippets before acknowledgment.
- Suppressed article/trending thread cover images and featured-thread images, including custom featured-content images, until acknowledgment.
- Thread titles and text-only snippets may remain visible outside the thread. Version 1.0.7 targets actual rendered media rather than hiding ordinary text references.
- Acknowledging Prefix Gate restores normal media rendering for that browser for the configured acknowledgment duration.
- Fully confirmed registered members continue to bypass Prefix Gate.
- Users awaiting email confirmation follow the existing 1.0.6 option.
- Direct attachment/media URLs are intentionally not gated.
- No new database tables, queries dedicated to logging, background jobs, JavaScript scanning, or external requests were added.
- Visitor eligibility, acknowledgment state, and configured prefix ID are cached in memory for the duration of the request.
- Media-specific checks run only on relevant public rendering paths.
- Implemented against XenForo 2.3.13 stock controller, news-feed, template, RSS, embed, widget, article, featured-content, and trending-content behavior.
- Xon Multi Prefix compatibility is retained through the existing sv_prefix_ids detection.
Pour consulter le contenu, vous devez : Se connecter ou S'inscrire.

