Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
  #1  
Old 10-01-2010, 01:41 PM
Pro-eSports.com Pro-eSports.com is offline
 
Join Date: Jan 2010
Location: Germany
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Avatar Size Problem

I gave Admins the permission to upload 250x250 avatars but for some reason the avatars are always smaller as the limit. Straight after upload it shows the proper size but in the postbit it's way too small.

http://i107.photobucket.com/albums/m...1Oct011638.gif
http://i107.photobucket.com/albums/m...2Oct011639.gif
Reply With Quote
  #2  
Old 10-01-2010, 01:50 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Stylevars > Postbit > postbitlegacy_userinfo_width

Postbitlegacy Userinfo
Units px
Size CHANGE to 250 or 260 so it has 5px side margins etc.

If you buy more grain, you must buy a bigger bucket basically so in essence you enlarged the size of the Avatar yes but not the size of the container it was displayed in .
Reply With Quote
  #3  
Old 10-01-2010, 02:18 PM
Pro-eSports.com Pro-eSports.com is offline
 
Join Date: Jan 2010
Location: Germany
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why does the image appear like 18px smaller (width) in the postbit info?

Anyways, in order to have the avatar 250px width I had to change the "postbitlegacy_userinfo_width" to 278px.
Reply With Quote
  #4  
Old 01-12-2012, 08:24 PM
jefferis jefferis is offline
 
Join Date: Dec 2006
Location: Butler, PA
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We have large avatars loaded in profiles up to 600 px wide, but when seen in the posts they are only 60px wide. We set the stylevar above to 250 px but it isn't changing things. I uploaded a new avatar just to make sure it wasn't a legacy issue. We are using a theme based upon vB default theme and just upgrade to 4.1.9.1

http://www.igotaevo.com/vBforum/imag...667&type=thumb

60px ? 40px
Reply With Quote
  #5  
Old 01-12-2012, 08:28 PM
betts02's Avatar
betts02 betts02 is offline
 
Join Date: Jun 2009
Posts: 910
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why would anyone want an avatar 600px wide ?

Thats usually the same size for sigs
Reply With Quote
  #6  
Old 01-12-2012, 08:30 PM
I.G.O.T.A.'s Avatar
I.G.O.T.A. I.G.O.T.A. is offline
 
Join Date: Mar 2011
Location: USA
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by betts02 View Post
Why would anyone want an avatar 600px wide ?

Thats usually the same size for sigs
It's not its 200x200 he got confused. The profile pic is 600x600.

We upgraded and all the avatars are super small. I checked all settings in the user groups and they are good. I'm lost on this one.
Reply With Quote
  #7  
Old 01-12-2012, 08:34 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jefferis View Post
We have large avatars loaded in profiles up to 600 px wide, but when seen in the posts they are only 60px wide. We set the stylevar above to 250 px but it isn't changing things. I uploaded a new avatar just to make sure it wasn't a legacy issue. We are using a theme based upon vB default theme and just upgrade to 4.1.9.1

http://www.igotaevo.com/vBforum/imag...667&type=thumb

60px ? 40px
I think it's because it has "&type=thumb" on the end of the url. I'm not sure if there's a setting to remove that.
Reply With Quote
  #8  
Old 01-12-2012, 08:35 PM
betts02's Avatar
betts02 betts02 is offline
 
Join Date: Jun 2009
Posts: 910
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As above, You can see by taking it off an getting ;

http://www.igotaevo.com/vBforum/imag...ine=1326402667
Reply With Quote
  #9  
Old 01-12-2012, 08:39 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In the postbit code there's this:

Code:
$usethumb = (($this->template_prefix == 'vbcms_') 
	OR ($this->registry->userinfo['styleid'] == $this->registry->options['mobilestyleid_advanced']
	OR $this->registry->userinfo['styleid'] == $this->registry->options['mobilestyleid_basic']));

so it looks like it could have to do with settings for mobile styles (like a style id for basic and advanced mobile styles)? I don't know anything about that stuff.

Edit: Under Style & Language Settings, makes sure Default Style for Old Mobile Browsers and Default Style for Modern Mobile Browsers are "None".
Reply With Quote
  #10  
Old 01-12-2012, 09:24 PM
I.G.O.T.A.'s Avatar
I.G.O.T.A. I.G.O.T.A. is offline
 
Join Date: Mar 2011
Location: USA
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It worked! Thank you.
Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump


All times are GMT. The time now is 11:50 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05772 seconds
  • Memory Usage 2,245KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete