Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 04-07-2008, 04:44 PM
bloodychunk bloodychunk is offline
 
Join Date: Feb 2008
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Avatar Size Problem...

Hi,

When I upload an avatar from my PC... even if its bigger that the size specified on my admin cp... it gets resized to the specified size, but when I put a link to an image from internet even if the size of the image is 1000x1000 it will stay like that on the avatar...

How can I fix this?

Thanks
Reply With Quote
  #2  
Old 04-07-2008, 04:50 PM
Bradley_Wint Bradley_Wint is offline
 
Join Date: Jul 2007
Posts: 543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yea that's how it is I would believe. The same applies for signatures, If you upload, the size limit restricts images but if you link, you can put any size.
Reply With Quote
  #3  
Old 04-07-2008, 04:53 PM
bloodychunk bloodychunk is offline
 
Join Date: Feb 2008
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So there is no way to fix this?

are there any mods wich can fix it?
Reply With Quote
  #4  
Old 04-07-2008, 07:18 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You could do <img src="path/to/avatar" width=xxx heigh=xxx> in the code. That will make it that size when you view it, although the person will still end up downloading the entire large avatar.
Reply With Quote
  #5  
Old 04-07-2008, 11:05 PM
bloodychunk bloodychunk is offline
 
Join Date: Feb 2008
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there an option to make a default avatar for everyone in a usergroup?
Reply With Quote
  #6  
Old 04-09-2008, 10:20 AM
bloodychunk bloodychunk is offline
 
Join Date: Feb 2008
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bump..

man Ive seen forums that have this issue fixed.... please help me someone!
Reply With Quote
  #7  
Old 04-09-2008, 01:12 PM
Bradley_Wint Bradley_Wint is offline
 
Join Date: Jul 2007
Posts: 543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why don't you ask them cause they might know something we don't know even though I have a good feeling those forums do not allow linking, only uploading, but that's my guess.
Reply With Quote
  #8  
Old 04-09-2008, 01:57 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you try putting in the width and height like I suggested? That will make the avatar the size you want.
Reply With Quote
  #9  
Old 04-09-2008, 02:35 PM
bloodychunk bloodychunk is offline
 
Join Date: Feb 2008
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I dont know where to do that :P

can you make a step by step list


thanks

--------------- Added [DATE]1207756824[/DATE] at [TIME]1207756824[/TIME] ---------------

Quote:
Originally Posted by Bradley_Wint View Post
Why don't you ask them cause they might know something we don't know even though I have a good feeling those forums do not allow linking, only uploading, but that's my guess.
Okay that can be a way to solve it... how can I disable linking...
Reply With Quote
  #10  
Old 04-09-2008, 03:18 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmm, not as straightforward as I thought. Here is the line in the postbit template:
HTML Code:
<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if>
You would have to write a plugin, I think that would basically say if $post[avwidth] or $post[avheight] is greater than whatever-size-you-want, then to set it to whatever-size-you-want. Like, if you want it no bigger than 100, write a plugin that says if either of those two vars are greater than 100, set them to 100. It could result in an strange looking avatar (like if it was 200 x 100 and you set it to 100 x 100), but it would keep the appearance how you like it. Another way might be to use css to say the overflow is hidden. I think you could put a div around it with that sort of css and then any part of the avatar that is great than your size, would just be cut-off.
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 10:47 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04125 seconds
  • Memory Usage 2,241KB
  • Queries Executed 13 (?)
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_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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_postinfo_query
  • fetch_postinfo
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete