Přejít na obsah
  • Přihlásit se
  • Registrace
WordPress.org

Česko

  • Šablony
  • Pluginy
  • Novinky
  • Podpora
  • O WordPressu
  • Openverse
  • Vzory
  • Komunitní podpora
  • Překlady
  • Kontakt
  • Získejte WordPress
Získejte WordPress

Pluginy

  • Oblíbené
  • Beta testy
  • Vývojáři
Stáhnout

Subscriber Login for YouTube

Autor: Luiz C. M. de Aquino
  • Podrobnosti
  • Hodnocení
  • Instalace
  • Vývojáři
Podpora

Popis

Introduction

Subscriber Login for YouTube is a WordPress plugin for Google OAuth 2.0 authentication with YouTube Google account.

Features

  • Authentication — get the user coming from Google authentication;
  • Get user information — get the user data from their Google account;
  • Refresh token — refresh the user’s access token;
  • Revoke token — revoke the user’s access token;
  • Check if an user is subscribed on a given YouTube channel;

For more information about Google OAuth 2.0, please see Using OAuth 2.0 for Web Server Applications

Requirements

  • PHP 7.0 or later;
  • WordPress 4.4 or later;

Setting

Before using Subscriber Login for YouTube, you need to set up an Google project for web application in Google Console. It’s a Google requirement for users to login! The web application project will provide: GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET, and GOOGLE_REDIRECT_URI.

Activate the „YouTube Data API v3“ in your project and add the scopes openid, email, and https://www.googleapis.com/auth/youtube.readonly for its consent screen. See more details in Setting up OAuth 2.0.

Access Scopes

The scopes are used by Google to limit your application access to the user account data. Read more about YouTube Data API scopes.

Usage

After you activated the plugin, then the plugin will automatically:

  • add the „Sign in with YouTube“ button to the WordPress login page. See screenshot #1.
  • add the „Revoke access“ link to the WordPress profile page. See screenshot #2.

License

Subscriber Login for YouTube is open-sourced software licensed under the GPL v2.0 or later.

Snímky obrazovky

  • "Sign in with YouTube" button on the main WP login page.
  • "Revoke access" link on the WordPress profile page.
  • Subscriber Login for YouTube on the WordPress Settings page.

Instalace

Automatic installation

  1. Open the WordPress admin screen for your site. Navigate to „Plugins > Add New“, and search for Subscriber Login for YouTube.
  2. Click the „Install Now“ button.
  3. Then activate the Subscriber Login for YouTube plugin.
  4. Go to the „Settings > Subscriber Login for YouTube“ to set up your Google OAuth 2.0 client and YouTube channel information.
  5. Test the configuration by clicking the sign in button on WordPress login page.

Manual installation

  1. Download Subscriber Login for YouTube.
  2. Upload Subscriber Login for YouTube through „Plugins > Add New > Upload“ admin screen or upload subscriber-login-for-youtube folder to the /wp-content/plugins/ directory.
  3. Activate the Subscriber Login for YouTube plugin through the ‚Plugins‘ menu in WordPress.
  4. Go to the „Settings > Subscriber Login for YouTube“ to set up your Google OAuth 2.0 client and YouTube channel information.
  5. Test the configuration by clicking the sign in button on WordPress login page.

Recenze

Does what it says on the tin

Tecca 12. 1. 2023
The plugin checks if a user trying to register/login on your site is subscribed to your YouTube channel, via Google OAuth. If not subscribed, the user gets rejected and account is not created, displaying a message to them that they have to be subscribed to your YT account to login or register. This is very handy in cases where your website is subscriber-only, but bear in mind that it doesn't have a setting to turn sub-only "off." That's understandable since the plugin was made specifically for subscribers, but I do think more people can find utility with the plugin as just a YouTube OAuth login (just to simply verify the user is logging in via a YouTube account). Of course, you can use any OAuth plugin for this, but adding additional functionality could turn people toward this one specifically. Google will require manual verification when using the YTv3 scope, and uploading a video is part of the requirement. I was approved within a day, however. 5-stars, plugin works exactly as described.
Přečtěte si 1 recenzi

Autoři

Subscriber Login for YouTube je otevřený software. Následující lidé přispěli k vývoji tohoto pluginu.

Spolupracovníci
  • LCMAquino

Plugin „Subscriber Login for YouTube“ byl přeložen do 1 jazyku. Děkujeme všem překladatelům za jejich pomoc.

Přeložte “Subscriber Login for YouTube” do svého jazyka.

Zajímá vás vývoj?

Prohledejte kód, podívejte se do SVN repozitáře, nebo se přihlaste k odběru protokolu vývoje pomocí RSS.

Přehled změn

1.0.4

  • Code refactoring for PSR-4 compliance.

1.0.3

  • Update version on includes/SlytOption.php.

1.0.2

  • Add assets directory for release on WordPress Plugin Directory.
  • Change plugin license to GPLv2 or later to match with WordPress license.
  • Update readme.txt.

1.0.1

  • Fix issues in WordPress Plugin Review #1.

1.0.0

  • Initial plugin version.

Meta

  • Verze pluginu: 1.0.4
  • Poslední aktualizace: před 1 rokem
  • Aktivních instalací: 10+
  • Verze WordPressu: 4.4 nebo novější
  • Testováno až do WordPressu: 5.9.5
  • Verze PHP: 7.0 nebo novější
  • Jazyky:

    English (US) a Portuguese (Brazil).

    Přeložte do vašeho jazyka

  • Štítky:
    oauth2YouTube API V3
  • Podrobnosti

Hodnocení

Zobrazit vše
  • 5 hvězdiček 1
  • 4 hvězdičky 0
  • 3 hvězdičky 0
  • 2 hvězdičky 0
  • 1 hvězdička 0
Přihlašte se a vytvořte hodnocení

Spolupracovníci

  • LCMAquino

Podpora

Vyřešené problémy během posledních dvou měsíců:

0 z 1

Fórum podpory

Dary

Chtěli byste podpořit vývoj tohoto pluginu?

Přispět na tento plugin

  • O WordPressu
  • Novinky
  • Hosting
  • Podpořit
  • Swag
  • Dokumentace
  • Vývojáři
  • Zapojte se
  • Vzdělávání
  • Příklady
  • Pluginy
  • Šablony
  • Vzory
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Soukromí
  • Veřejný kód
WordPress.org
WordPress.org

Česko

  • Navštivte naši stránku na Facebooku
  • Navštivte náš Twitter účet
  • Navštivte náš Instagram účet
  • Navštivte náš LinkedIn účet
Code is Poetry.