Skip to:
Content
Pages
Categories
Search
Top
Bottom

Plugin – Avatars (requires small core file change)


  • ardentfrost
    Member

    @ardentfrost

    Sorry about having to make a change in functions.php, I just don’t know how else to do it.

    You can see it in action at http://www.rayd.org/forums2/

    You can download the file at http://faq.rayd.org/bbpress_avatar/ (link goes to readme which has link to file).

    Don’t forget to change your css file in the described fashion. By default (which, I like this) anything that goes beyond the bounds of the author box is hidden.

Viewing 5 replies - 1 through 5 (of 5 total)

  • circuit
    Member

    @circuit

    this is working great; however, the CSS doesn’t seem to work in IE6? i think the images aren’t being trimmed horizontally, so anything that’s too tall just overlaps the picture for the user below it.


    ardentfrost
    Member

    @ardentfrost

    Yeah, IE6 kinda screws the pooch with css. I suggest adding in a commented out section after the original section that just doesn’t show the avatars. IE6 will read what’s in the commented out section, but firefox will not. This will mean that people with IE6 cannot view avatars, of course, but that browser sucks anyway ;)

    The problems are fixed in ie7.


    suleiman
    Member

    @suleiman

    how difficult would it be to have the avatar work in wordpress too?


    circuit
    Member

    @circuit

    this css works in IE6.

    .post {

    min-height: 150px;

    height:auto !important;

    height:150px;

    }

    .threadauthor {

    margin-left: -100px;

    overflow: hidden;

    position: absolute;

    max-height: 150px;

    height:auto !important;

    height:150px;

    width: 100px;

    }

    obviously change the sizes to fit.


    ardentfrost
    Member

    @ardentfrost

    Suleiman: I’ve never done plugins for wordpress, but I imagine that it shouldn’t be too bad.

    Circuit: thanks for the css fix :)

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Skip to toolbar