1 (edited by User33 2008-12-24 18:50)

Topic: [Release] Gravatar

Allows users to use Gravatar.

You can change Gravatar settings on Administration » Settings » Features » User Avatars

Users can enable Gravatar on Profile » Settings

Download Link: http://punbb.informer.com/unofficial/pu … avatar.zip

If you find any bugs or have any tips, please post them here.

Updates

  • 1.1.1: Fixed small bug.

  • 1.1: Fixed bug where Gravatars cache wouldn't update and other minor bugs.

  • 1.0: First release

Re: [Release] Gravatar

Thanks!! smile:):)

Re: [Release] Gravatar

I don't need this extension but it looks fab for those who do.
Good work (again)!

4 (edited by patheticcockroach 2008-12-18 10:01)

Re: [Release] Gravatar

Thanks for this extension.
2 little (minor) bugs, though:

  • when used along with pun_antispam, in the administration panel the Gravatar settings are separated from the avatar settings by the captcha settings

  • I believe it's rather some core misbehavior than a problem with your extension, but if "Allow users to upload avatars for display in posts" isn't checked, the Gravatars won't show up. This is a bit annoying if I want to allow Gravatars but prevent ppl from uploading stuff to my server.

Edit: btw, what's the license for your extensions? GPL v2/3?

Re: [Release] Gravatar

I'm not sure about the license... does it matter?

Re: [Release] Gravatar

Garciat wrote:

I'm not sure about the license... does it matter?

Well, I'd like to use your extension as a work base for another extension under GPL v3. I probably won't need to keep much of the code, probably not more than a few lines of it, but if your extension was already GPL it would spare me the trouble of rewriting these pieces or wondering what's the max length of a portion of code that can be copied without it being copyright violation smile

Re: [Release] Gravatar

Could explain me what differences between GPL v2 and v3 are, and how to add the license to my extensions/projects?

Thanks smile

8 (edited by patheticcockroach 2008-12-18 14:42)

Re: [Release] Gravatar

Garciat wrote:

Could explain me what differences between GPL v2 and v3 are

Well, not really indeed. All I'm sure of is that:
- most GPL projects say they are licensed under GPL "either version X of the License, or (at your option) any later version."
- GPL version 3 adds anti-tivoization measures, as explained much better than I could myself there: http://www.gnu.org/licenses/rms-why-gplv3.html

Garciat wrote:

and how to add the license to my extensions/projects?

Again, better than I could explain myself: http://www.gnu.org/licenses/gpl-howto.html
You can also see how they implemented it in PunBB: http://punbb.informer.com/svn/punbb/tag … 2/post.php
If you need more details, I would strongly advise you not to ask me wink, because I'm not really a specialist on license matters. All I do is put most of the stuff I do under the latest GPL (or GFDL) license because it's usually the best for compatibility with materials I use.

Re: [Release] Gravatar

Updated to 1.1.

10

Re: [Release] Gravatar

Updated to 1.1.1: Fixed small bug. (Recommended to upgrade)

11

Re: [Release] Gravatar

Hi Garciat

After installing this extension the other week I have noticed that the avatars still don't seem to cache correctly.

Sometimes they will just randomly disappear and not return.

http://oldrepublic-mmo.com/forum/topic1-test-post.html

This is my forum where  the avatars don't seem to show up even though the extension is turned on.

Changing the rating from say G to PG also causes this issue.

12

Re: [Release] Gravatar

THe gravatar doesn't show on posts for my account...it *does* show up on my user profile page. The default "G" avatar does show up for other users who are not using gravatar.

http://www.itsallpolitics.com/user3.html (show correctly)
http://www.itsallpolitics.com/topic1-test-post.html ( does not show the gravatar for 'chovy' )

13

Re: [Release] Gravatar

IS there a caching problem with gravatar? I'm thinking my server may not have been able to grab a member's gravatar, so the post or thread gets cached without it...it's odd become one thread will have their gravatar, and another will not.

14

Re: [Release] Gravatar

2 bugs:

  • don't change file in cache, if you change email

  • Not used gravatar if topic starter is guest

fix it please smile

15

Re: [Release] Gravatar

I find general caching issues with punBB, not only with this extension but also the pun_stop_bot seems to have a re-usable cache (could be related?)

16

Re: [Release] Gravatar

Extremely long URLs -- don't know if this is a bug with the extension or gravatar itself:'


h ttp://www.gravatar.com/avatar/xxxxxxxxxxxxxxxx.jpg?r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60

Re: [Release] Gravatar

French translation for the extensions
Download

Re: [Release] Gravatar

chovy wrote:

Extremely long URLs -- don't know if this is a bug with the extension or gravatar itself:'


h ttp://www.gravatar.com/avatar/xxxxxxxxxxxxxxxx.jpg?r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60&r=g&s=60

I was able to fix this by changing the line:

            $output[$cur_user['id']] = 'http://www.gravatar.com/avatar/'.md5(strtolower($cur_user['email'])).'.jpg?'.implode("&", $get_vars);

        }

to:

            $output[$cur_user['id']] = 'http://www.gravatar.com/avatar/'.md5(strtolower($cur_user['email'])).'.jpg?'.implode("&", $get_vars);
            
            unset($get_vars);

        }