The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Resize avatars for phpBB2, CSS code

View previous topic View next topic Go down

Solved Resize avatars for phpBB2, CSS code

Post by Yous000 on 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

Yous000
Forumember

Posts : 240
Reputation : 4
Language : English

Back to top Go down

Solved Re: Resize avatars for phpBB2, CSS code

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

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

kirk
Forumaster

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

Back to top Go down

Solved Re: Resize avatars for phpBB2, CSS code

Post by Yous000 on 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

Yous000
Forumember

Posts : 240
Reputation : 4
Language : English

Back to top Go down

Solved Re: Resize avatars for phpBB2, CSS code

Post by kirk on 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
Forumaster

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

Back to top Go down

Solved Re: Resize avatars for phpBB2, CSS code

Post by Yous000 on 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.

Yous000
Forumember

Posts : 240
Reputation : 4
Language : English

Back to top Go down

Solved Re: Resize avatars for phpBB2, CSS code

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

So then you are setting it too big.

whats your forum link?

kirk
Forumaster

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

Back to top Go down

Solved Re: Resize avatars for phpBB2, CSS code

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

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

whats your forum link?


www.runewish.com

Yous000
Forumember

Posts : 240
Reputation : 4
Language : English

Back to top Go down

Solved Re: Resize avatars for phpBB2, CSS code

Post by kirk on 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
Forumaster

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

Back to top Go down

Solved Re: Resize avatars for phpBB2, CSS code

Post by Yous000 on 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

Yous000
Forumember

Posts : 240
Reputation : 4
Language : English

Back to top Go down

Solved Re: Resize avatars for phpBB2, CSS code

Post by LGforum on 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
Hyperactive

Male Posts : 2254
Reputation : 254
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: Resize avatars for phpBB2, CSS code

Post by Yous000 on 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

Yous000
Forumember

Posts : 240
Reputation : 4
Language : English

Back to top Go down

Solved Re: Resize avatars for phpBB2, CSS code

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

Topic Solved & Locked

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

View previous topic View next topic Back to top


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