img in user profile

Creating and modifying plugins.
Post Reply
francistill
Regular
Posts: 30
Joined: Mon Apr 17, 2006 4:45 am
Location: Wellington New Zealand

img in user profile

Post by francistill »

Hi, thanks in advance for your help. I can get a gravatar to show in my user profiles but not a local image. I'm wondering if this is a permissions problem. The plugin is 755 - does it need write permissions for the group/universe?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: img in user profile

Post by garvinhicking »

Hi!

No, you don't need write permissions on the plugin. Just make sure the profile image file you uploaded uses the proper authorname, with all special charactes replaced, like described in the plugin'S config.

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
francistill
Regular
Posts: 30
Joined: Mon Apr 17, 2006 4:45 am
Location: Wellington New Zealand

Post by francistill »

hmmn. i'm trying - for author "admin" - admin.jpg in the template img file. is that not right? the only image i can get to load at all is a gravatar.com hosted gravatar. when i try to locally host a default gravatar under the gravatar-yes option, it doesn't show, either.
francistill
Regular
Posts: 30
Joined: Mon Apr 17, 2006 4:45 am
Location: Wellington New Zealand

odder

Post by francistill »

actually, i was wrong. the only gravatar.com-hosted gravatar i can get to display is the basic gravatar icon, not one I've associated with an email address. even then, i need to have both the 'use image' and 'use gravatar' radio buttons marked yes in the setup panel.

By putting an image in my root directory and naming it with a full URL in the field that asks for the location of a default gravatar, I can get that to show - but it shows in the "hobby" field, not on its own. If the user profile has "hobby" deselected, no image shows.

If I were the only user, I could just flow with this as a workaround, but there will be over 100 users when the site gets put to its intended use, as a social networking site for Youth MPs coming to Parliament next month. I can run the user profiles without pictures, but it would be so much better if I could figure out how to get the page to display an image.

Here's the draft - www.youthmp.co.nz

I'd really appreciate your help!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: odder

Post by garvinhicking »

Hi!

Hm, can you show me the page where you see the gravatar exactly in the hobby field?

As I read the code of the plugin, this can't be :)

Actually the plugin only takes care to insert an author picture in the area where one leaves a comment to an entry. It is not displayed in the userprofiles section at all!

If I could see your result, maybe I could be able to change it so that it does what you need/want. Do you maybe simply want another field where you enter an URL to an image that is shown in the userprofile of an author, like on this page:

http://youthmp.co.nz/index.php?/authors/1-admin

?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
francistill
Regular
Posts: 30
Joined: Mon Apr 17, 2006 4:45 am
Location: Wellington New Zealand

Post by francistill »

I am perhaps, then, asking too much of this plugin! I'll just add a static page for each of their profiles and put author links on the sidebar. Thanks for your help, Gavin!
Post Reply