Search

bbPress Showcase » plugin Plugins by Others

HOW-TO: Choose between Avatar/Gravatar/Identicon

RSS

  1. exchequer598
    exchequer598

    new member
    Joined: Apr '08
    Posts: 3

    offline

    How do I let the user choose between using a custom uploaded avatar, his Gravatar or Identicon??

    Posted 7 months ago #
  2. _ck_
    _ck_

    senior admin
    Joined: Jul '06
    Posts: 330

    offline

    That's on my "to do" list as well.

    You can see I've attempted to give them that option in your profile section but the function does not work yet.

    Essentially you'd have to download their gravatar and insert it into the "Avatar Upload" file area. This would locally cache the gravatar.

    A quick, lazy way comes to mind where a shell exec could be done and a wget could pull down the image and place it into the avatar upload area in one step.

    This is a demo of the bbPress Signatures plugin!
    If you use my plugins, please considering donating to help continue their development.
    Posted 7 months ago #
  3. timfitz
    timfitz

    new member
    Joined: Mar '08
    Posts: 2

    offline

    Yes, this would be a nice feature and I would love to use it in my website.

    Posted 6 months ago #
  4. _ck_
    _ck_

    senior admin
    Joined: Jul '06
    Posts: 330

    offline

    I've now posted instructions and code to do the gravatar/indenticon/avatar switch on the bbpress.org Avatar Upload thread here:

    http://bbpress.org/plugins/topic/avatar-upload/page/5/#post-1093

    Follow the few posts after that to add delete ability and the three way switch like you see on this site here (if you go into your profile).

    It will download their gravatar upon request and cache it locally so it's faster (and reliable).

    Posted 6 months ago #
  5. annagb
    annagb

    new member
    Joined: Jul '08
    Posts: 1

    offline

    I registered to your forum to try this choice between avatar and gravatar, before trying to modificate the code. But I see that this discussion is "not resolved". Please, may you tell me if it works correctly or not?

    Posted 4 months ago #
  6. _ck_
    _ck_

    senior admin
    Joined: Jul '06
    Posts: 330

    offline

    It works correctly now - you can literally try it here yourself in your profile...

    Posted 4 months ago #

RSS feed for this topic

Post a reply to “HOW-TO: Choose between Avatar/Gravatar/Identicon”

You must log in to post.

keep _ck_ coding >> donate $1 <<     Theme Switcher:
10 users online from  US  HK  NL in the past 30 minutes. 5 bots 5 guests
288 views today 2798 yesterday 3411 ever. Most at once 19 today 24 yesterday 19 ever. Visited today: _ck_
724 posts in 106 topics over 19 months by 146 of 676 members. Latest: nicoosuna, Wish, insightdesigns