Denpa
Chevereto Member

Русская версия ниже, под английской.
Hi! Long time no see.
I decided to share something small that I created for my friend's pet project.
This will probably be mostly interesting for Russian part of community but I'll also write this description in English just in case.
Introduction
Yandex(https://yandex.ru) is most popular search engine and second most used email provider in Russia and this mod allows your users to login in to chevereto using their Yandex account.
It supports full range of chevereto's social login features such as registering new user, logging in, binding account to already existing user, user avatar and admin dashboard settings.
This mod uses Yandex API full documentation for which is available at https://tech.yandex.com/oauth/ and Yandex PHP Library available at https://github.com/nixsolutions/yandex-php-library.
Demo
You can check out fully-functioning version at https://corgi.party/
Download
Sadly the file was too big for attachement, so here's link:
https://github.com/denpamusic/cheve...oad/v3.8.6/chevereto-yandex-oauth-3.8.6-3.zip
Installation
1. Carefully read README.TXT! (don't worry it's short)
2. Copy contents of chevereto directory from mod archive to your chevereto installation, replacing existing files.
3. Login as admin and go to http://yoursite.com/yandex-install (don't forget to change yoursite.com to your actual website address) - this is needed to create required settings in DB.
4. Create new application on https://oauth.yandex.com/client/new. Please see yandex-oauth-en.png file in mod archive for required permissions.
5. Enable Yandex in Social Networks section of chevereto's Dashboard and paste Client ID and Secret that you got on previous step.
6. Enjoy!
License:
Licensed under BSD, MIT and Chevereto Licenses.
=========================================================================
Russian version:
Введение
Данный мод реализует социальный вход через Яндекс.
Доступна регистрация через Яндекс(имя пользователя, полное имя, email без необходимости подтверждения и аватар получаются из Яндекса), вход через Яндекс, привязка аккаунта Яндекс к имеющемуся пользователю и настройки в Панели управления chevereto.
Мод использует библиотеку Yandex PHP Library https://github.com/nixsolutions/yandex-php-library и Яндекс.Паспорт API, описание которого можно посмотреть на https://tech.yandex.ru/oauth/.
Демонстрация
Посмотреть рабочую версию можно на https://corgi.party/
Скачать
Файл получился слишком большой для вложения, поэтому вот ссылка:
https://github.com/denpamusic/chevereto-yandex-oauth/releases
Установка
1. Внимательно прочитайте README.TXT. (он короткий)
2. Скопируйте содержимое папки chevereto из архива мода в корень сайта на вашем сервере.
3. Войдите на сайт, как администратор и перейдите по адресу http://вашсайт.ru/yandex-install, заменив вашсайт.ru на адрес вашего сайта. Это необходимо, чтобы внести необходимые для работы плагина изменения в БД.
4. Создайте новое приложение по адресу https://oauth.yandex.ru/client/new. Необходимые настройки смотрите в файле yandex-oauth-ru.png в архиве мода.
5. Включите Яндекс в разделе Социальные сети в Панели управления сайтом и внесите туда полученные на предыдущем шаге ID и пароль.
6. Готово!
Лицензия
Комбинация лицензий BSD, MIT и Chevereto.
Last edited: