WordPress.org

Ready to get started?Download WordPress

Forums

amr users
[resolved] avatar disappears (8 posts)

  1. M Szatkowski
    Member
    Posted 10 months ago #

    Hi
    I've got two lists configured in the same way.
    One has avatar at the user and the other has none.

    How can I set it up the config to show the avatar in the list?

    http://wordpress.org/plugins/amr-users/

  2. anmari
    Member
    Plugin Author

    Posted 10 months ago #

    Hi Mariusz,

    See the 'configure' section:

    http://wpusersplugin.com/3221/getting-started-with-amr-users/

    scroll down till you see the avatar field - enter a number in the 'display order' field. Click UPdate.

  3. Andrew W
    Member
    Posted 9 months ago #

    I wonder if Mariusz is describing my problem as well. I have a list where the avatars appear only as small dots:
    http://cmsw.mit.edu/people/lecturers/

    The settings are exactly the same as another list that shows up right:
    http://cmsw.mit.edu/people/faculty/

    There are a lot of quirks with this case. The full images don't show up in Chrome and Safari but do in Firefox. They always show up correctly in the amr users back-end after rebuilding the cache. The small dots are for users who have avatars; the ones without dots are correctly displayed as nothing (I've set the default avatar to a 1x1 transparent block.

  4. anmari
    Member
    Plugin Author

    Posted 9 months ago #

    Hi Andrew,

    Sounds like a html validation issue (sometimes thats what different results in different browsers means ) - or a css problem?

    Generally it is well worth ensuring that your html validates to remove these anomalies.
    http://validator.w3.org/check?uri=http%3A%2F%2Fcmsw.mit.edu%2Fpeople%2Flecturers%2F&charset=%28detect+automatically%29&doctype=Inline&group=0

    There are a lot of html errors.

    Looking at your two lists in chrome, the image links are there and the links are correct (ie they seem to work)
    ALSo
    When I do a firebug 'inspect element' it says at the bottom of the css of

    The results here may be inaccurate because some stylesheets could not be loaded due to access restrictions.

  5. anmari
    Member
    Plugin Author

    Posted 9 months ago #

    Basically looks like you added a span element without a closing span?

  6. Andrew W
    Member
    Posted 9 months ago #

    Hm, still stumped. Validation does say there's an unclosed span:

    …n style="display: block; width: 200px">Atissa Banuazizi

    But it's indeed closed...

    <span style="display: block; width: 200px">Atissa Banuazizi
    Lecturer

    atissa@mit.edu</span>

    ...and though it still doesn't validate, there are no other spans on the page besides what's in the User Lists fields.

    The other thing is how everything shows up correctly in the User List preview but not the live page. For example, compare these two:
    http://www.flickr.com/photos/fungibleconvictions/10498401925/
    http://cmsw.mit.edu/people/lecturers/

    Any other thoughts as I go through and re-validate and check some other css files?

  7. anmari
    Member
    Plugin Author

    Posted 9 months ago #

  8. Andrew W
    Member
    Posted 9 months ago #

    That did the trick! I went ahead and went deep into the selectors, so my CSS is...

    td.avatar.td.td2 > img {
    	max-width: none;
    }

    ...which'll help make sure it only applies to images in the second column (specific to my table's structure).

    What was curious to me is why this only happened on one User List page -- everything was fine with the original CSS for images in the second column on other User List pages. But hey, the tweak works and doesn't affect the others, so I'm happy. :)

    Thanks for the help.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.