Hallo, Gast! (Registrieren)

Letzte Ankündigung: MyBB 1.8.38 veröffentlicht (30.04.24)


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste
MyBB->Gravatar Integration
#1
Eine neue Erweiterung wurde veröffentlicht: MyBB->Gravatar Integration

Zitat:This is a pretty nifty plugin, which makes changes to the frontend of your forum to "integrate" MyBB with Gravatar. If you aren't familiar with Gravatar, it is an avatar hosting service - allowing you to host your avatars, and automatically display them on sites you post on - detecting your unique avatar via your email address. Gravatars also allow you to have multiple "ratings" - like movie classifications, so that good sites will let you see X rated Gravatars, while pathetic sites will only let you see G rated ones.

That was a pretty poor explanation, but meh. This plugin detects whether you have a Gravatar or not and if you do, it displays it as your avatar.

This plugin is in very early development - but I am actually interested in this one, so future releases will ensue.

Added MyBB Settings

1. Maximum Gravatar Rating - The maximum rating for Gravatars that your users are allowed to see - can be G, PG, R or X.
2. Gravatar Size - Gravtars are perfect squares, so their width and height are the same. You can change that with this setting.
3. Default Gravatar - If a user does not have an Avatar or Gravatar, this image is shown instead. By default, it shows no image.

Future Releases

Yes, I actually have features planned. By my own admission, this is relatively poorly coded, and does not utilise MyBB's true flexibility. Template edits could be too much of a hassle for different themes, so I just hooked into places where the avatar is shown - which is a dirty trick.

Next release, I'll change it so that it just detects if you have a Gravatar, and if you do - physically set your avatar to that URL, and cache an expiry date, so the Gravatar updates every now and then. It'll reduce the code a fair bit too.
Zitieren


Möglicherweise verwandte Themen…
Thema Verfasser Antworten Ansichten Letzter Beitrag
  Integration plugin for mybb and 123 flashchat MyBB.de Bot 1 1.987 30.04.2014, 07:45
Letzter Beitrag: MyBB.de Bot
  Gravatar MyBB.de Bot 10 4.829 21.06.2010, 06:12
Letzter Beitrag: borsti67
  MyBB Integration / SDK MyBB.de Bot 0 2.023 11.02.2009, 19:07
Letzter Beitrag: MyBB.de Bot