seljeDrive Document Library for Google Drive

توسط

seljeDrive Document Library for Google Drive lets you publish a Google Drive folder on your WordPress site as a simple file explorer.

Find this free plugin useful? Please support my work on this plugin by sending me a one-time donation (50% of the proceeds go to Ukraine).

Key features:

  • Browse a Google Drive folder (via a shared folder link)
  • Search inside the library
  • Open files in a new tab or download files
  • Create multiple libraries and embed each with a shortcode
  • Control access per library:
    • Public
    • Logged-in users
    • Specific roles

Find this free plugin useful? Please support my work on this plugin by making a donation.

Privacy

This plugin relies on third party services to function.

Google Drive is a trademark of Google LLC. This plugin is not affiliated with or endorsed by Google.

WordPress is a trademark of the WordPress Foundation. This plugin is not affiliated with or sponsored by, the WordPress Foundation.

Third Party Services

Google (Google OAuth + Google Drive API)

What it is used for:

  • Connecting your WordPress site to Google (OAuth)
  • Listing/searching files and folders from Google Drive
  • Opening/downloading files via Google-hosted URLs

When data is sent:

  • When an administrator clicks Connect Google and completes authorization
  • When anyone views a page that contains the [sg_doc_library] shortcode (your WordPress site fetches file/folder metadata from Google to render the library)
  • When a visitor uses Search / Open / Download inside the library
  • When the plugin refreshes an expired access token (if you have connected with offline access)

What data is sent:

  • During OAuth authorization (admin action): client ID, redirect URI, state, requested scope, and an authorization code
  • During API calls to Google Drive: an OAuth access token (in an Authorization header), Google Drive file/folder IDs, and search terms entered by the user (if search is used)
  • During Open/Download (visitor action): your WordPress site returns a redirect URL and the visitor’s browser is sent to a Google-hosted URL containing the file ID (for example docs.google.com export links or drive.google.com download links)

Data flow / conditions:

  • Google Drive API requests are made server-to-server (from your WordPress site to Google) using the OAuth token stored in your WordPress database.
  • The visitor’s browser is only sent directly to Google when the visitor clicks Open or Download.

Endpoints contacted:

  • https://accounts.google.com/o/oauth2/v2/auth
  • https://oauth2.googleapis.com/token
  • https://www.googleapis.com/drive/v3

Visitor browser destinations (when using Open/Download):

  • https://docs.google.com/
  • https://drive.google.com/

OAuth scope:

  • https://www.googleapis.com/auth/drive.readonly

Google Privacy Policy:

  • https://policies.google.com/privacy

Google Terms of Service:

  • https://policies.google.com/terms

Google APIs Terms of Service:

  • https://developers.google.com/terms

Stripe (Donate link)

What it is used for:

  • Optional donations via a Stripe-hosted checkout page

When data is sent:

  • Only when an administrator clicks the Donate button in the plugin admin page

What data is sent:

  • The plugin itself does not send payment details. Clicking Donate opens a Stripe-hosted page in your browser. Stripe then receives the data needed to load and process the checkout (such as your IP address, browser/user agent, and any information you enter on the checkout page).

Stripe Privacy Policy:

  • https://stripe.com/privacy

Stripe Terms / Legal:

  • https://stripe.com/legal

Configuration

Google OAuth

  1. In Google Cloud Console:
  • Enable Google Drive API
  • Create an OAuth 2.0 Client ID (type: Web application)
  1. In WordPress admin:
  • Go to Settings -> seljeDrive Document Library for Google Drive
  • Add your Client ID and Client Secret
  • Copy the Redirect URI shown on the plugin admin page
  1. Back in Google Cloud Console:
  • Add that Redirect URI as an authorized redirect URI
  1. Back in WordPress:
  • Click Connect Google

Create a library

  1. Go to Settings -> seljeDrive Document Library for Google Drive
  2. Under Libraries, add a library:
  • Name
  • Public Folder Share URL
  • Access mode
  1. Save.
  1. In WordPress admin, go to Plugins -> Add New.
  2. Search for seljeDrive Document Library for Google Drive.
  3. Click Install Now and then Activate.

سوالات متداول

How do I embed a library on a page?

Use the shortcode shown in the Libraries list, for example:

[sg_doc_library id="YOUR_LIBRARY_ID"]

What PHP version is required?

Minimum required PHP is 7.4.

Does it support Norwegian language?

Yes. The plugin is translation-ready and includes a Norwegian Bokmål (nb_NO) translation source file.

WordPress typically uses compiled .mo files at runtime.

×
نظری برای این آیتم موجود نیست.
0 0 رای ها
امتیازدهی
اشتراک در
اطلاع از
0 نظرات
قدیمی‌ترین
تازه‌ترین بیشترین رأی
هیچ نسخه‌ای برای این آیتم موجود نیست.
بدون امتیاز

قیمت:

رایگان

نگارش

آخرین انتشار

19 اردیبهشت 1405

آخرین بروزرسانی

3 ماه پیش

نصب های فعال

-

نگارش وردپرس

وردپرس 6.0+

تست شده از نسخه

وردپرس 6.9.4

نگارش PHP

PHP 7.4+

نسخه ها

0 نسخه