Google Drive Attachments

v1.2.0 · XenForo 2.2.0+ · Updated

by D.C Style · Add-ons

Offload your forum's attachments to Google Drive — save server storage, reduce costs, and gain cloud reliability.

  • v1.2.0
  • XenForo 2.2.0+
  • Updated
  • 1.5 MB
$25.00 one-time

Includes 12 months of updates. Renew for $25.00 if you want more — never automatic.

  • Licence key and download right after payment
  • Not working as described? See the refund policy

At checkout you can add 24 months of updates (+$18.75) or we install it (+$25.00).

Pay with PayPal or crypto Ask before buying
Better together Save 22%

One more add-on for $14 more

Advanced Download Pro in Download Hub.

$39.00 regular price $50.00 View bundle

Licence & help

  • Use on one XenForo installation
  • Updates and support for 12 months
  • Optional renewal at $25.00 for another 12 months of updates & support. Never charged automatically.
  • Keeps working after updates end
View Documentation View License Agreement Get support

What your licence covers

1XenForo install
12 moof updates
12 moof support

Keeps working after updates end. Renew for $25.00 for another 12 months, never charged automatically.

More in Add-ons

You May Also Like

View more in Add-ons →
From the blog Free up XenForo disk space by moving attachments off the server · 6 min read

From the blog

Screenshots

2 images · tapclick to enlarge

Description

Seamlessly replaces XenForo's local attachment storage with Google Drive. Once enabled, all new uploads go directly to Google Drive via the official API. Existing attachments can be migrated with a single click. Your users notice nothing — uploads, downloads, and thumbnails work exactly as before.

Key benefits:

  • Reclaim server storage — attachments live in Google Drive, not on your disk
  • Scale without limits — Google Drive offers up to 5TB per account on business plans
  • Cloud reliability — Google's infrastructure handles redundancy, backups, and uptime
  • Zero user friction — completely transparent; the forum experience is unchanged
  • Choose your latency — direct upload, or write-behind caching that keeps posting instant
  • Migrate at real speed — concurrent uploads and resumable state make a large back-catalogue practical instead of theoretical
  • Store only what matters — an extension filter keeps large archives on Drive and small files local

Two storage modes. Direct mode sends every upload straight to Google Drive as it happens. Local cache mode writes to your server first so posting stays instant, then moves files to Drive on a schedule and deletes the local copy. Pick whichever matches your server: direct if you want nothing on local disk, cached if you want uploads to feel native and are happy for Drive to catch up in the background.

Google Drive Attachments guides

1 guide in the Knowledge Base
  1. Set up Google Drive Attachments: connect Google and move your files Connect your forum to Google Drive, choose direct or cache mode, and move existing attachments across safely. Intermediate 4 min · Add-on Guides
Open Google Drive Attachments docs
Need Google Drive Attachments to work differently? We can extend it for your forum, built on the same code and kept compatible with updates.

Add at checkout

24 months of updates instead of 12 +$18.75
We install it for you +$25.00

You can pick these in the cart.

No reviews yet. Only customers who bought it can review.

Questions 5

Answered by the D.C Style team.

Sign in to ask a question

You need XenForo 2.2.0 or later, and PHP 8.1 or newer. The add-on bundles Google's own API libraries, and those check the PHP version on every page load, so on PHP 8.0 or older your whole forum stops with an error mentioning "Composer detected issues in your platform". Check your PHP version before you install, not after.

Answered by D.C Style ·

Create a project in the Google Cloud Console, enable the Google Drive API, then create OAuth 2.0 credentials of the Web application type and add https://yourforum.com/admin.php?dc-gda/callback as an authorized redirect URI, using your own domain. Copy the Client ID and Client Secret into Setup > Options > Google Drive Attachments, then open the add-on in the admin menu and click Authorize with Google. When it says "Connected to Google Drive as" your account and Token auto-refresh is Active, click Test connection. Most of the work is in the Google Cloud part, and the setup guide walks through it step by step.

Answered by D.C Style ·

You choose. Direct mode sends every upload straight to Google Drive as it happens, so nothing is stored on your disk, but posting waits for the transfer. Local cache mode writes to your server first and returns instantly, then a cron job every three hours moves the files to Drive and deletes the local copies, with reads trying local first and falling back to Drive during the handover. Pick direct if you want an empty local disk, or cached if you want uploads to feel native.

Answered by D.C Style ·

What do I need before installing Google Drive Attachments?

You need XenForo 2.2.0 or later, and PHP 8.1 or newer.

The add-on bundles Google's own API libraries, and those check the PHP version on every page load, so on PHP 8.0 or older your whole forum stops with an error mentioning "Composer detected issues in your platform". Check your PHP version before you install, not after.

Answered by D.C Style ·

Still unsure? Ask us →

Google Drive Attachments

$25.00
View cart