The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
4 posters

    Resize avatars for phpBB2, CSS code

    avatar
    Yous000
    Forumember


    Posts : 240
    Reputation : 4
    Language : English

    Solved Resize avatars for phpBB2, CSS code

    Post by Yous000 Tue Jul 03, 2012 2:53 am

    When my forum was using phpBB3 this code worked fine for me, this code was given to me by c3vietk.

    Code:
    .postprofile a img {max-width:150px}

    Now that I have changed my forum to phpBB2 the code does not work anymore Sad. How can I make avatars automatically re size to a set px?

    All replies and help are greatly appreciated Very Happy
    kirk
    kirk
    Forumaster


    Male Posts : 11037
    Reputation : 653
    Language : English,Vulcan,Klingon, Romulan,& Gorn

    Solved Re: Resize avatars for phpBB2, CSS code

    Post by kirk Tue Jul 03, 2012 2:56 am

    why use css?
    You can set this in your avatar options?
    avatar
    Yous000
    Forumember


    Posts : 240
    Reputation : 4
    Language : English

    Solved Re: Resize avatars for phpBB2, CSS code

    Post by Yous000 Tue Jul 03, 2012 3:24 am

    kirk wrote:why use css?
    You can set this in your avatar options?

    How so I remember that not working when I used phpBB3 so I used CSS
    kirk
    kirk
    Forumaster


    Male Posts : 11037
    Reputation : 653
    Language : English,Vulcan,Klingon, Romulan,& Gorn

    Solved Re: Resize avatars for phpBB2, CSS code

    Post by kirk Tue Jul 03, 2012 3:46 am

    I dont know what you mean?

    do you have css for it now, if not just set in your admin panel and be done with it.

    Or give your forum link and let me see if i can get the proper css for it.
    I just think it's silly to use css or any other coding for things that there is no need for, you already have this option Smile

    all you do is go to.

    Admin panel>display>Avatars>Personal Avatars.

    set for Personal Avatars gallery to what you want and hit save.
    it works for the whole forum not only the gallery.
    avatar
    Yous000
    Forumember


    Posts : 240
    Reputation : 4
    Language : English

    Solved Re: Resize avatars for phpBB2, CSS code

    Post by Yous000 Tue Jul 03, 2012 4:13 am

    kirk wrote:I dont know what you mean?

    do you have css for it now, if not just set in your admin panel and be done with it.

    Or give your forum link and let me see if i can get the proper css for it.
    I just think it's silly to use css or any other coding for things that there is no need for, you already have this option Smile

    all you do is go to.

    Admin panel>display>Avatars>Personal Avatars.

    set for Personal Avatars gallery to what you want and hit save.
    it works for the whole forum not only the gallery.

    I have it set to a good size but yet when one of my members have a huge avatar it pushes everything aside and stays giant. This same thing happened to me last time on phpBB3 so I had to use CSS.
    kirk
    kirk
    Forumaster


    Male Posts : 11037
    Reputation : 653
    Language : English,Vulcan,Klingon, Romulan,& Gorn

    Solved Re: Resize avatars for phpBB2, CSS code

    Post by kirk Tue Jul 03, 2012 5:31 am

    So then you are setting it too big.

    whats your forum link?
    avatar
    Yous000
    Forumember


    Posts : 240
    Reputation : 4
    Language : English

    Solved Re: Resize avatars for phpBB2, CSS code

    Post by Yous000 Tue Jul 03, 2012 3:15 pm

    kirk wrote:So then you are setting it too big.

    whats your forum link?


    www.runewish.com
    kirk
    kirk
    Forumaster


    Male Posts : 11037
    Reputation : 653
    Language : English,Vulcan,Klingon, Romulan,& Gorn

    Solved Re: Resize avatars for phpBB2, CSS code

    Post by kirk Tue Jul 03, 2012 5:19 pm

    Yous000 wrote:
    kirk wrote:So then you are setting it too big.

    whats your forum link?


    www.runewish.com

    i dont seem to see any css to chang the dimensions so i am unsure of the css for this as of now.
    You should just go and delete the members avatar and tell him to re-upload it, or you can re-up to the size you want. keep in mind you can still change the dimensions in your avatar settings, it's just any members avatars that may be too big now will have to re-upload them for it to take effect to the new dimensions.

    Other then that we will have to wait and see if another staff or member knows the css for phpbb2?
    avatar
    Yous000
    Forumember


    Posts : 240
    Reputation : 4
    Language : English

    Solved Re: Resize avatars for phpBB2, CSS code

    Post by Yous000 Tue Jul 03, 2012 8:06 pm

    kirk wrote:
    Yous000 wrote:
    kirk wrote:So then you are setting it too big.

    whats your forum link?


    www.runewish.com

    i dont seem to see any css to chang the dimensions so i am unsure of the css for this as of now.
    You should just go and delete the members avatar and tell him to re-upload it, or you can re-up to the size you want. keep in mind you can still change the dimensions in your avatar settings, it's just any members avatars that may be too big now will have to re-upload them for it to take effect to the new dimensions.

    Other then that we will have to wait and see if another staff or member knows the css for phpbb2?

    All my forum members currently are friends so I am having them use small avatars. I had this same problem using phpBB3 but the CSS worked fine last time. Now that I am using phpBB2 that code is not working so I am hoping for a working one Wink

    I really appreciate all your help on my threads


    Last edited by Yous000 on Tue Jul 03, 2012 8:22 pm; edited 1 time in total
    LGforum
    LGforum
    Hyperactive


    Male Posts : 2265
    Reputation : 264
    Language : English
    Location : UK

    Solved Re: Resize avatars for phpBB2, CSS code

    Post by LGforum Tue Jul 03, 2012 8:08 pm

    You can just change it to:
    Code:
    .poster-profile > a img {max-width:150px}

    The automatic re-sizing tool isn't great. Its much better just setting a max-height in the css.

    Curious as to why anyone would choose to downgrade their forum. To something version 3, to something version 2 lol... there was a reason 3 was made and now 4 is being made, because 2 sucked. Razz
    avatar
    Yous000
    Forumember


    Posts : 240
    Reputation : 4
    Language : English

    Solved Re: Resize avatars for phpBB2, CSS code

    Post by Yous000 Tue Jul 03, 2012 8:31 pm

    LGforum wrote:You can just change it to:
    Code:
    .poster-profile > a img {max-width:150px}

    The automatic re-sizing tool isn't great. Its much better just setting a max-height in the css.

    Curious as to why anyone would choose to downgrade their forum. To something version 3, to something version 2 lol... there was a reason 3 was made and now 4 is being made, because 2 sucked. Razz

    Works 100% thank you so much.

    I switched to 2 because there is so much I don't like about 3 and 2 has the theme I want Smile
    Nera.
    Nera.
    Energetic


    Female Posts : 7078
    Reputation : 2017
    Language : English
    Location : -

    Solved Re: Resize avatars for phpBB2, CSS code

    Post by Nera. Wed Jul 04, 2012 11:18 am

    Topic Solved & Locked

      Current date/time is Mon Sep 23, 2024 1:22 pm