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.

PunBB Resize Avatar in Forum Posts Not in Blogs!

View previous topic View next topic Go down

PunBB Resize Avatar in Forum Posts Not in Blogs!

Post by Rukiafan on March 16th 2012, 8:37 pm

Okay first off my cpu can't use the CSS tool so Javascript or Html is preferred to remedy my issues.

Problem 1- My members keep using absurdly small or large avatars on my forum and I would like to automatically resize them to 100x100 px which I already did for my blog posts.

Problem 2- how can I disable images in the signatures? Too many are bogging my site down, and making it look unprofessional.

Problem 3- How can I limit signature sizes to only 350 symbols?

My website is here. http://www.wiiwarewave.com


Last edited by Rukiafan on March 28th 2012, 8:33 am; edited 4 times in total (Reason for editing : Lol I keep editing the wrong thing.)

Rukiafan
Forumember

Posts : 255
Reputation : 8
Language : English

Back to top Go down

Re: PunBB Resize Avatar in Forum Posts Not in Blogs!

Post by Guest on March 16th 2012, 8:40 pm

1. Go to Administration Panel => Display => Avatars => Avatar gallery => Personal avatars => Personal gallery => Maximum Avatar File Size;

2. I need your forum url.

3. http://help.forumotion.com/t88670-users-tuesday-tips-add-a-counter-to-the-quick-reply-extended-reply-pm-s-the-signature-by-darren

Guest
Guest


Back to top Go down

Re: PunBB Resize Avatar in Forum Posts Not in Blogs!

Post by Rukiafan on March 16th 2012, 8:47 pm

I don't want to restrict my members to finding different avatars, plus it won't stop them from using tiny avatars so I want the site to automatically resize the avatars to a set 100x100 px size. Wink

Problem 3 should be solved with your link though. Wink

I still need to disable pics in signatures though. :|

My url is in my first post http://www.wiiwarewave.com

Rukiafan
Forumember

Posts : 255
Reputation : 8
Language : English

Back to top Go down

Re: PunBB Resize Avatar in Forum Posts Not in Blogs!

Post by Sir Chivas™ on March 16th 2012, 9:02 pm

Avatars: http://help.forumotion.com/t35092-how-to-setup-members-avatar-s-sizes

Signatures: ACP>>General>>Messages &Emails >>Configurations>>Display to guest signature from: your option.

Acp>>Users & Groups>>Users Options>>Users Settings>>allow signature: your option.



Attention!
- Please provide your forum URL at all times.
- When the issue is solved, please mark it as solved.



Sir Chivas™
Support Moderator
Support Moderator

Male Posts : 6756
Reputation : 428
Language : English, Spanish, and French
Location : || CSS || HTML || Graphics Designs || Support ||

Back to top Go down

Re: PunBB Resize Avatar in Forum Posts Not in Blogs!

Post by Rukiafan on March 16th 2012, 9:08 pm

Problem 1 should be solved.

@Sir Chivas I want to disable images in the sig not remove the sigs completely.

Rukiafan
Forumember

Posts : 255
Reputation : 8
Language : English

Back to top Go down

Re: PunBB Resize Avatar in Forum Posts Not in Blogs!

Post by Guest on March 16th 2012, 9:15 pm

Add this to your CSS Stylesheet:
Code:
.sig-content img{
display: none !important;
}

Guest
Guest


Back to top Go down

Re: PunBB Resize Avatar in Forum Posts Not in Blogs!

Post by Rukiafan on March 16th 2012, 9:25 pm

Okay I'll try that. Wink

problem 1 isn't solved I want to resize all avatars to 100x100 px not merely limit the maximum size.

Rukiafan
Forumember

Posts : 255
Reputation : 8
Language : English

Back to top Go down

Re: PunBB Resize Avatar in Forum Posts Not in Blogs!

Post by Rukiafan on March 16th 2012, 9:44 pm

Okay problem 2 and 3 are solved, but I still need help with a code that resizes avatars to 100x100 px in the forums only, as I already have a code for the blogs.

Rukiafan
Forumember

Posts : 255
Reputation : 8
Language : English

Back to top Go down

Re: PunBB Resize Avatar in Forum Posts Not in Blogs!

Post by SLGray on March 17th 2012, 1:55 am

Please don't double/triple post. Your post need to be separated by 24 hours before bumping, replying or adding more information. Please use the edit button instead!




When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35629
Reputation : 2372
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Re: PunBB Resize Avatar in Forum Posts Not in Blogs!

Post by Rukiafan on March 17th 2012, 2:34 am

Sorry. Sad

Rukiafan
Forumember

Posts : 255
Reputation : 8
Language : English

Back to top Go down

Re: PunBB Resize Avatar in Forum Posts Not in Blogs!

Post by Rukiafan on March 20th 2012, 10:07 pm

Does anyone have an answer to my problem regarding avatar sizes in the forums?

Rukiafan
Forumember

Posts : 255
Reputation : 8
Language : English

Back to top Go down

Re: PunBB Resize Avatar in Forum Posts Not in Blogs!

Post by Jophy on March 21st 2012, 4:19 am

You can set the maximum avatar file size on your forum here:
Admin Panel > Display > Avatar Gallery > personal avatars > 'Maximum avatar file size' : change it there > save

Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

Back to top Go down

Re: PunBB Resize Avatar in Forum Posts Not in Blogs!

Post by Rukiafan on March 21st 2012, 7:37 am

That only sets a maximum size, but what I want is my forum to automatically resize all avatars to 100x100 px no bigger no smaller regardless of their original size, because it looks more professional then having various avatar shapes and sizes. Wink
Does anyone have CSS, or Javascript codes that will do what I want done?

Rukiafan
Forumember

Posts : 255
Reputation : 8
Language : English

Back to top Go down

Re: PunBB Resize Avatar in Forum Posts Not in Blogs!

Post by Rukiafan on March 28th 2012, 8:44 am

All my questions except the one regarding resizing forum avatars using Javascript or CSS were answered long ago.

Does anyone have a code to force Avatars in the Forum Topic Body to be a set size by automatically resizing them to all be the same size? I want all avatars to be uniform and flow well which can't happen by merely setting a maximum size.

By the way I think 125x125 px would be a good size for the forum avatars. BTW I already have a code to resize all blog avatars to 100x100 px, so I just need a code for the Avatar's shown on user messages in the forum. lol sorry for the rant. Laughing

Rukiafan
Forumember

Posts : 255
Reputation : 8
Language : English

Back to top Go down

Re: PunBB Resize Avatar in Forum Posts Not in Blogs!

Post by E-Mark on March 29th 2012, 1:01 pm

Go to ACP > Display > Templates > General > viewtopic_body:

Find:
Code:

{postrow.displayed.POSTER_AVATAR}

Replaced it with this:
Code:

<div class="aresize">{postrow.displayed.POSTER_AVATAR}</div>

Then Go to ACP > Display > Pictures and Colors > Colors > CSS Stylesheet:

Add:
Code:

.aresize {
overflow: hidden;
width: 150px;
height: 150px;
}

E-Mark
Active Poster

Male Posts : 1389
Reputation : 164
Language : English, Tagalog
Location : Republic of the Philippines

http://coding-spot.darkbb.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