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.

Resize avatars for phpBB2, CSS code

4 posters

Go down

Solved Resize avatars for phpBB2, CSS code

Post by Yous000 July 3rd 2012, 3: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
avatar
Yous000
Forumember

Posts : 240
Reputation : 4
Language : English

Back to top Go down

Solved Re: Resize avatars for phpBB2, CSS code

Post by kirk July 3rd 2012, 3:56 am

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

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

Back to top Go down

Solved Re: Resize avatars for phpBB2, CSS code

Post by Yous000 July 3rd 2012, 4: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
avatar
Yous000
Forumember

Posts : 240
Reputation : 4
Language : English

Back to top Go down

Solved Re: Resize avatars for phpBB2, CSS code

Post by kirk July 3rd 2012, 4: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.
kirk
kirk
Forumaster

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

Back to top Go down

Solved Re: Resize avatars for phpBB2, CSS code

Post by Yous000 July 3rd 2012, 5: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.
avatar
Yous000
Forumember

Posts : 240
Reputation : 4
Language : English

Back to top Go down

Solved Re: Resize avatars for phpBB2, CSS code

Post by kirk July 3rd 2012, 6:31 am

So then you are setting it too big.

whats your forum link?
kirk
kirk
Forumaster

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

Back to top Go down

Solved Re: Resize avatars for phpBB2, CSS code

Post by Yous000 July 3rd 2012, 4:15 pm

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

whats your forum link?


www.runewish.com
avatar
Yous000
Forumember

Posts : 240
Reputation : 4
Language : English

Back to top Go down

Solved Re: Resize avatars for phpBB2, CSS code

Post by kirk July 3rd 2012, 6: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?
kirk
kirk
Forumaster

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

Back to top Go down

Solved Re: Resize avatars for phpBB2, CSS code

Post by Yous000 July 3rd 2012, 9: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 July 3rd 2012, 9:22 pm; edited 1 time in total
avatar
Yous000
Forumember

Posts : 240
Reputation : 4
Language : English

Back to top Go down

Solved Re: Resize avatars for phpBB2, CSS code

Post by LGforum July 3rd 2012, 9: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
LGforum
LGforum
Hyperactive

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

Back to top Go down

Solved Re: Resize avatars for phpBB2, CSS code

Post by Yous000 July 3rd 2012, 9: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
avatar
Yous000
Forumember

Posts : 240
Reputation : 4
Language : English

Back to top Go down

Solved Re: Resize avatars for phpBB2, CSS code

Post by Nera. July 4th 2012, 12:18 pm

Topic Solved & Locked
Nera.
Nera.
Energetic

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

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum