#1 2020-04-19 16:48:25

SEO Women Power
Администратор
Здесь с 2020-02-15
Сообщений: 0
Windows 7Chrome 79.0

glx_gravatar - добавление аватарки из сервиса gravatar.com

Производит пользовательский Граватар в комментариях.

Граватар - это аватарка, привязанная к адресу электронной почты на сервисе gravatar.com. Таким образом, если вы общаетесь в комментариях и оставляете там свой электронный адрес, рядом с вашим сообщением будет отображена ваша аватарка.

Код:

Скрытый текст

YToxMTp7czo0OiJuYW1lIjtzOjEyOiJnbHhfZ3JhdmF0YXIiO3M6Njoic3RhdHVzIjtzOjE6IjEiO3M6NjoiYXV0aG9yIjtzOjE3OiJEYXZpZCdzIE5laWdoYm91ciI7czoxMDoiYXV0aG9yX3VyaSI7czo1ODoiaHR0cDovL3BsYXlncm91bmQuZGF2aWRzLW5laWdoYm91ci5jb20vdGV4dHBhdHRlcm4tcGx1Z2lucyI7czo3OiJ2ZXJzaW9uIjtzOjY6IjIwMTEuMSI7czoxMToiZGVzY3JpcHRpb24iO3M6NDM6IkltcGxlbWVudGF0aW9uIG9mIGdyYXZhdGFyIGZvciBUZXh0cGF0dGVybi4iO3M6NDoiaGVscCI7czo2MDQ3OiIJPGgxPmdseF9ncmF2YXRhcjwvaDE+CgoJPHA+VGhpcyB0YWcgcmV0dXJucyBhbiBpbWFnZXRhZyBvciBhbiB1cmwgd2l0aCB0aGUgZ3JhdmF0YXIgZm9yIHRoZSBlbWFpbCBhZGRyZXNzIG9mIHRoZSBjdXJyZW50IGNvbW1lbnQgb3IgYW55IGdpdmVuIGVtYWlsIGFkZHJlc3MuPC9wPgoKCTxoMj5MaW5rczwvaDI+CgoJPHVsPgoJCTxsaT48YSBocmVmPSJodHRwOi8vY29kZS5nb29nbGUuY29tL3AvdGV4dHBhdHRlcm4tcGx1Z2lucy93aWtpL0dseEdyYXZhdGFyIiByZWw9Im5vZm9sbG93Ij5Eb2N1bWVudGF0aW9uIGF0IEdvb2dsZSBDb2RlPC9hPiAobW9yZSBjdXJyZW50KTwvbGk+CgkJP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q9Jy51cmxlbmNvZGUoJGF0dHNbJ2RlZmF1bHQnXSk7Cgl9OwoJaWYgKGNvdW50KCRwYXJhbWV0ZXJzKSl7CgkJJHVybCAuPSAiPyIuIGpvaW4oIiZhbXA7IiwgJHBhcmFtZXRlcnMpOwoJfTsKCWlmICgkZm9ybWF0ID09ICJ1cmwiKXsKCQlyZXR1cm4gJHVybDsKCX07Cgkkb3V0cHV0ID0gJzxpbWcgc3JjPSInLiR1cmwuJyIgY2xhc3M9IicuJGNsYXNzLiciIGFsdD0iJy4kYWx0LiciJzsKCSRvdXRwdXQgLj0gKCFlbXB0eSgkYXR0c1snc2l6ZSddKSkKCSAgID8gJyBzdHlsZT0iaGVpZ2h0OicgLiAkYXR0c1snc2l6ZSddIC4gJ3B4O3dpZHRoOicgLiAkYXR0c1snc2l6ZSddIC4gJ3B4OyInCgkgICA6ICcgc3R5bGU9ImhlaWdodDonIC4gREVGQVVMVF9TSVpFIC4gJ3B4O3dpZHRoOicgLiBERUZBVUxUX1NJWkUgLiAncHg7Iic7Cgkkb3V0cHV0IC49ICcgLz4nOwoJcmV0dXJuICRvdXRwdXQ7Cgp9CgpmdW5jdGlvbiBnaG9fYXV0aG9yX2VtYWlsKCRhdHRzPWZhbHNlKXsKCiAgICBnbG9iYWwgJHRoaXNhcnRpY2xlOwogICAgJGVtYWlsID0gc2FmZV9maWVsZCgiZW1haWwiLCAidHhwX3VzZXJzIiwgIm5hbWU9JyIuJHRoaXNhcnRpY2xlWydhdXRob3JpZCddLiInIik7CiAgICByZXR1cm4gJGVtYWlsOwoKfQoiO3M6ODoiY29kZV9tZDUiO3M6MzI6ImNkZDc0ZTM5NWYwOWZjMzE2OWFmMDZkMmMyNGM3MzM2IjtzOjQ6InR5cGUiO3M6MToiMCI7fQ==

Источник: github.com/1e0heen9/blog/blob/master/tpl/preimport-data/plugins/glx_gravatar.0.plugin

Вне форума

Сейчас в этой теме пользователей: 0, гостей: 1
[Bot] CCBot

Подвал форума

Под управлением FluxBB
Модифицировал Visman

[ Сгенерировано за 0.014 сек, 7 запросов выполнено - Использовано памяти: 631.88 Кбайт (Пик: 675.58 Кбайт) ]