- Compatible XF 2.x versions
- 2.3
- Additional requirements
- Component Version
XenForo 2.3.7+
Media Gallery (XFMG) 2.3.7+
PHP 8.0+
- Updates duration
- 1 Year - $5.00 ($2.50 renewal)
- Visible branding
- No
⚠ Notes
- This add-on does NOT modify permissions
- Does NOT affect registered users
- Does NOT block thumbnails or gallery index display
- Designed for performance and simplicity
- This addon has no permissions or options
AIXF Guest Media Gate
For XenForo 2.3.7+ & XFMG 2.3.7+
Description
AIXF Guest Media Gate allows guests to browse the Media Gallery index (/media/) while preventing direct access to media items.Guests can:
When a guest clicks a media item, they are automatically redirected to the login/register page.
This improves:
- User registrations
- Content protection
- SEO indexing of gallery listings
- Bandwidth control
- Content exclusivity
Features
- Gates
/media/{id}media view pages - Gates
/media/{id}/full(lightbox / full-size access) - Blocks direct image URLs
- Works with lightbox overlays (no broken preview bug)
- Redirects guests to login with return URL
- No template edits required
- Lightweight controller-only extension
- Compatible with XenForo 2.3.7+
- Compatible with XFMG 2.3.7+
⚙ Installation
Method 1 — Admin Panel (Recommended)
- Upload the add-on ZIP
- Go to ACP → Add-ons
- Click Install Add-on
- Select AIXF GuestMediaGate
- Click Install
Method 2 — Manual Upload
Upload files to:
Code:
/src/addons/AIXF/GuestMediaGate/
ACP → Add-ons → Install
Requirements
| Component | Version |
|---|---|
| XenForo | 2.3.7+ |
| Media Gallery (XFMG) | 2.3.7+ |
| PHP | 8.0+ |
Tested Behavior
| Action | Guest Result |
|---|---|
| /media/ | Allowed |
| /media/category | Allowed |
| /media/image-id | Redirect to login |
| /media/image-id/full | Redirect to login |
| Lightbox open | Redirect to login |
| Direct image URL | Redirect to login |
| After login | Returns to original media |