MyBBCoder | Die deutsche MyBB-Mod-Community
http://www.mybbcoder.info

Antwort schreiben 
 
Themabewertung:
  • 0 Bewertungen - 0 im Durchschnitt
  • 1
  • 2
  • 3
  • 4
  • 5
MyBB->Gravatar Integration 1

Download-Informationen

Titel: MyBB->Gravatar Integration
Version: 1 (19.10.2008)
Typ: Plugin
Hochgeladen: 31.10.2008
Downloads: 1

Herunterladen

MyBB->Gravatar Integration 1
Beitrag: #1
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.

Quelle: http://mods.mybboard.net/archive/view/mybb-gravatar-integration
Diese Nachricht in einer Antwort zitieren

Verfasser

Benutzer

Benutzer:
-

Antwort schreiben 


Möglicherweise verwandte Themen...
Thema: Verfasser Antworten: Ansichten: Letzter Beitrag
  [MyBB 1.4] - Benutzernamensüberischt 1.6 Manuel 6 810 05.12.2008 22:46
Letzter Beitrag: Manuel