Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 07 Jan 2016, 22:08
shibby2 shibby2 is offline
 
Join Date: Jul 2005
How to force avatar size in threads?

Hi, can someone tell me how to make all avatars a specific pixel size in threads? Like if I wanted all avatars to be 100x100.. how can I do this?

Thanks!
Reply With Quote
  #2  
Old 08 Jan 2016, 00:07
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Real name: Tim
Avatar size is set in usergroup settings, make all usergroup avatar size to same to solve your issue.
__________________
LONG LIVE 3.8 SERIES
National Arcade Competition Club- NACC All arcade edits will work on vb4.
Check out my heavily modified ibproarcade with over 50,000 games for you, free of charge!
Exclusive arcade addons, edits and skins were made by stangger5 owner of Next Level Arcade
Reply With Quote
  #3  
Old 08 Jan 2016, 00:24
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
I suspect you are interested in making them all the same width, but would rather preserve the aspect ratio. If that's the case then...

Create a new plugin as follows:

Product: vBulletin

Hook Location: showthread_complete

Title: Set Avatar Size

Execution Order: 5

Plugin PHP Code:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Plugin is Active: Yes

Click "Save."
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #4  
Old 08 Jan 2016, 01:36
shibby2 shibby2 is offline
 
Join Date: Jul 2005
Originally Posted by MarkFL View Post
I suspect you are interested in making them all the same width, but would rather preserve the aspect ratio. If that's the case then...

Create a new plugin as follows:

Product: vBulletin

Hook Location: showthread_complete

Title: Set Avatar Size

Execution Order: 5

Plugin PHP Code:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Plugin is Active: Yes

Click "Save."

Thanks! However, it does not seem to have worked. Would this only work for all future avatars uploaded? Maybe that's why my current avatar didn't change size?

Thanks again for the help!
Reply With Quote
  #5  
Old 08 Jan 2016, 01:45
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Real name: Tim
Rebuild your Rebuild Custom Avatar Thumbnails and Avatar Thumbnails via ACP/Maintenance/Update Counters and see if that helps.
__________________
LONG LIVE 3.8 SERIES
National Arcade Competition Club- NACC All arcade edits will work on vb4.
Check out my heavily modified ibproarcade with over 50,000 games for you, free of charge!
Exclusive arcade addons, edits and skins were made by stangger5 owner of Next Level Arcade
Reply With Quote
  #6  
Old 08 Jan 2016, 01:52
shibby2 shibby2 is offline
 
Join Date: Jul 2005
Ok tried that, but it still didn't change the current avatar sizes.

I uploaded a new avatar, and it makes it 90x90.. however, I have the new plugin set to make avatars 80x80. lol Weird.
Reply With Quote
  #7  
Old 08 Jan 2016, 03:04
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by shibby2 View Post
Thanks! However, it does not seem to have worked. Would this only work for all future avatars uploaded? Maybe that's why my current avatar didn't change size?

Thanks again for the help!
Would you mind posting a link to a page on your site showing an avatar in a thread? Perhaps the HTML is a bit different than on my vB 3.8.9 site.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 17:23.

Layout Options | Width: Wide Color: